Skip to content

Improve the reporting of libCellML-related error messages - #567

Merged
agarny merged 3 commits into
opencor:mainfrom
agarny:issue561
Oct 5, 2026
Merged

agarny merged 3 commits into
opencor:mainfrom
agarny:issue561

Conversation

@agarny

@agarny agarny commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Fixes #561.

Copilot AI balanced review requested due to automatic review settings October 5, 2026 09:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The changes correctly surface libCellML file errors while preventing access to uninitialized document models.

Review effort: Balanced
Findings: None

What changed in this PR

Improves error reporting by prioritizing underlying file errors over consequential SED-ML validation messages.

Changes:

  • Propagates file errors into SedDocument.
  • Safely handles invalid documents in the interactive view.
  • Updates release and PostCSS versions with lockfiles.
File Description
src/​renderer/​src/​libopencor/​locSedApi.ts Prioritizes source-file errors.
src/​renderer/​src/​libopencor/​locFileApi.ts Passes file issues to documents.
src/​renderer/​src/​components/​views/​SimulationExperimentInteractiveView.vue Guards model access for invalid documents.
src/​renderer/​package.json Updates version and PostCSS.
src/​renderer/​bun.lock Locks updated dependencies.
package.json Updates version and PostCSS.
bun.lock Locks updated dependencies.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@agarny
agarny merged commit 639a7df into opencor:main Oct 5, 2026
9 checks passed
@agarny
agarny deleted the issue561 branch October 5, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve the reporting of libCellML-related error messages

2 participants