Repository navigation
fix(ci): split mcpx-docs Pages publish into its own job (#10956) - #11239
Conversation
deploy-pages fetches the github-pages artifact metadata as its first act; running ~1s after upload-pages-artifact finalized in the same job, the metadata had not always propagated (Found 0 artifacts; runs 44014450921, 44066621783; successes interleaved). The publish step now runs in a separate job behind the upload job, and a failed first attempt waits 60s and retries once.
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 29 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Fixes #10956.
Problem (reproduced this shift)
The mcpx-docs deploy job intermittently fails at
Deploy to GitHub PageswithFound 0 artifact(s)/No artifacts named "github-pages" were found, ~1 second afteractions/upload-pages-artifact@v5succeeded in the same job:actions/deploy-pages@v5fetches the artifact metadata as its first act; when it runs immediately after the upload finalizes, the metadata has not always propagated.Fix
publishjob (needs: deploy): runner teardown/scheduling/startup between the upload job and the publish job gives the artifact metadata its propagation window. Thedeployjob is now stage-only (build the/code/variant +upload-pages-artifact), renamed accordingly; thepagesconcurrency group,pages: write+id-token: writepermissions, and thegithub-pagesenvironment move topublish.deploy-pagesonce (deployment_retry); the environment URL falls back to the retry step's output.Verification
build→deploy(stage+upload) →publish(deploy [+ conditional wait/retry]).Refs task 20166 (lane code-e).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.