dropshot-api-manager 0.7.1#1129
Conversation
4753718 to
c21e624
Compare
| run: cargo test --lib --verbose | ||
| - name: Test everything | ||
| run: cargo test --locked | ||
| # Build and test propolis-the-library on its own; `cargo test --lib` as used |
|
It seems the one remaining check failure is expected. propolis/.github/buildomat/jobs/phd-run-migrate-from-base.sh Lines 16 to 25 in 40dbfad |
In lieu of addressing this here, maybe we should open an issue and limit this PR to only adding |
|
Nevermind, the Rust workflow isn't activating for PRs, disregard - though that may be its own problem to address |
|
However I think the original change from the other PR to add fetch depth isn't right. From omicron: |
|
ah, ew oxidecomputer/omicron#4461. will update |
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
| # see https://github.com/oxidecomputer/omicron/issues/4461 |
There was a problem hiding this comment.
I think you need the with: here
There was a problem hiding this comment.
this is what I get for doing it by hand
There was a problem hiding this comment.
also this needs to be under the build-and-test job :)
til and what in the world |
iximeow
left a comment
There was a problem hiding this comment.
nice, thanks.
mote for later re. steps.with.ref being github.event.pull_request.head.sha: consensus is that we'd expect the tests to all pass regardless of the specific ref used for tests here. for the same reason as in Omicron#4461 it's better for GH Actions and buildomat to test changes the same way, so it doesn't hurt to include here too.
Intended to supersede #1128, which undoes the Dropshot bump.
Dropshot 0.17 includes a change oxidecomputer/dropshot#1554 that changes the OpenAPI schema for websocket endpoints. Normally to account for a schema change you just have to bump the API version, but dropshot-api-manager is thrown off because when it regenerates the schema for the blessed (old) version, it doesn't match what's on disk because the one on disk doesn't have the websocket change in it. This required oxidecomputer/dropshot-api-manager#87, which tells dropshot-api-manager specifically to ignore that websocket schema change. You still have to add an API version.
Also had to bump progenitor for oxidecomputer/progenitor#1320.