Skip to content

Tests: Snapshot the OpenAPI response too#1131

Open
adamchalmers wants to merge 1 commit intomainfrom
achalmers/test-openapi-resps
Open

Tests: Snapshot the OpenAPI response too#1131
adamchalmers wants to merge 1 commit intomainfrom
achalmers/test-openapi-resps

Conversation

@adamchalmers
Copy link
Collaborator

Previously we were only snapshotting the modeling command requests types, we should track the responses too, though.

Previously we were only snapshotting the modeling command requests types,
we should track the responses too, though.
@codecov
Copy link

codecov bot commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (main@b1c3643). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1131   +/-   ##
=======================================
  Coverage        ?   30.91%           
=======================================
  Files           ?       34           
  Lines           ?     1588           
  Branches        ?        0           
=======================================
  Hits            ?      491           
  Misses          ?     1097           
  Partials        ?        0           
Flag Coverage Δ
unittests 30.91% <ø> (?)

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

☔ View full report in Codecov by Sentry.
📢 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.

@jtran
Copy link
Contributor

jtran commented Mar 14, 2026

I vaguely remember a problem where it incorrectly treated response changes as breaking semver. Is that resolved?

@adamchalmers
Copy link
Collaborator Author

I vaguely remember a problem where it incorrectly treated response changes as breaking semver. Is that resolved?

No. This check will always false-positive when you add something, unfortunately.

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