Generate client omicron be46344 for 0.1.0-rc.39#111
Conversation
|
I am unsure why this GH action is failing in the "commit changes if any" step: Your branch is up to date with 'origin/generate-client-omicron-be46344-for-0.1.0-rc.39'.
nothing to commit, working tree clean
Error: Process completed with exit code 1.Even stranger, it seems this GH action runs randomly 😅 https://github.com/oxidecomputer/oxide.rs/actions/workflows/make-generate.yml @augustuswm Might you have any idea as to why this is happening? |
| cargo build --bin generator | ||
|
|
||
| clean-spec: | ||
| $(RM) $(SPEC) |
There was a problem hiding this comment.
Is this an intended change? (Meant to link against the stray e that was added)
There was a problem hiding this comment.
yep, for some reason sed is creating a spec.jsone file 🤷♀️ . Decided to leave it as this is a temporary workaround until the progenitor code is up and running (we won't need sed anymore with it)
|
I haven't looked at this repo before, but this is my initial take: The action looks set to run whenever a PR changes The workflow is failing as it is expecting that a change to That step of the workflow probably should be changed so that it can still succeed even if it does not generate any changes. |
|
Ahhhhhhhhhh, of course, gotcha. I brought back the spec.json file as we have a temporary workaround for operation IDs, so that must have triggered it. Thanks @augustuswm, much appreciated! 🙇♀️ |
|
Removing the action all together. Like @augustuswm mentioned, it only gets triggered when the spec.json file changes. This means that it is a remnant from the old language client daisy chain that was already removed. The SDK will not be using the copy pasted spec.json file anymore, as it pulls directly from omicron. I am just leaving it here for now meanwhile we have to use the operation ID workaround oxidecomputer/omicron#1329 (comment) |
|
Why do you need to check in spec.json for the workaround? Just to have something to reference to understand where the transformed names are coming from? |
|
Yes, and also to copy it to the CLI |
Updates generated client.
Due to oxidecomputer/omicron#1329 (comment), the spec will me modified to use the old operation IDs