Skip to content

Propagate errors across CLI modeling commands - #1992

Merged
jessfraz merged 2 commits into
mainfrom
codex/kcl-websocket-export-errors
Dec 1, 2026
Merged

jessfraz merged 2 commits into
mainfrom
codex/kcl-websocket-export-errors

Conversation

@jessfraz

@jessfraz jessfraz commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Use the same WebSocket response handling for setup, KCL execution, and every follow-up modeling command. Command and session errors keep the server’s message. A bounding-box test reproduces the dropped session error.

@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.30435% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 69.98%. Comparing base (4936f85) to head (c2e6731).

Files with missing lines Patch % Lines
src/context.rs 91.30% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1992      +/-   ##
==========================================
+ Coverage   69.76%   69.98%   +0.21%     
==========================================
  Files          43       43              
  Lines        8994     8971      -23     
==========================================
+ Hits         6275     6278       +3     
+ Misses       2719     2693      -26     
Flag Coverage Δ
unittests 69.98% <91.30%> (+0.21%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jessfraz
jessfraz marked this pull request as ready for review December 1, 2026 01:10
@jessfraz
jessfraz enabled auto-merge (squash) December 1, 2026 03:03
@jessfraz jessfraz changed the title Preserve server errors during KCL export Propagate errors across CLI modeling commands Dec 1, 2026
@jessfraz
jessfraz merged commit 90df39b into main Dec 1, 2026
29 checks passed
@jessfraz
jessfraz deleted the codex/kcl-websocket-export-errors branch December 1, 2026 14:39
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.

2 participants