You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mcpx docs workflow: Deploy to GitHub Pages fails - artifact not found #10956
Fetching artifact metadata for "github-pages" in this workflow run
Found 0 artifact(s)
Error: No artifacts named "github-pages" were found for this workflow run. Ensure artifacts are uploaded with actions/upload-artifact@v4 or later.
However, the step (step 8) successfully uploads the artifact:
Artifact github-pages successfully finalized. Artifact ID 14297553256
Artifact github-pages has been successfully uploaded! Final size is 4980868 bytes.
Artifact download URL: https://github.com/developing-today/code/actions/runs/44014450921/artifacts/14297553256
Root Cause Hypothesis
This appears to be a race condition in GitHub Actions where the action cannot immediately find the artifact that was just uploaded by . The artifact upload completes successfully (as evidenced by the artifact ID and download URL), but the subsequent deploy step reports "Found 0 artifact(s)".
This is a known intermittent issue with GitHub Pages deployments where there's a propagation delay between artifact upload completion and artifact availability for the deploy action.
Suggested Fix
Add a retry/wait mechanism before the deploy step, or use the action's built-in retry configuration. The workflow already has and configured, but the error suggests the artifact metadata fetch itself is failing rather than a deployment retry.
Possible solutions:
Add a step or explicit sleep before deploy-pages
Use a newer version of deploy-pages with better artifact handling
Check if the artifact name mismatch (upload uses "github-pages", deploy looks for "github-pages") - they match, so this isn't the issue
The issue may be that creates a different artifact type than what expects
Recurrence on main: run https://github.com/developing-today/code/actions/runs/44066621783 (2026-11-17T10:37:58Z, push to main) failed in job deploy: GitHub Pages. Same workflow and job as this issue; not filing a new fix (dedupe to the live tracker). Earlier main run 44059297361 completed successfully.
Agent note — done (fixed_merged), task 20166, lane code-e
Root cause (reproduced):actions/deploy-pages@v5 fetches the github-pages artifact metadata as its first act; running ~1s after upload-pages-artifact@v5 finalized in the same job, the metadata had not always propagated. Identical failures in runs 44014450921 (04:04Z, the run this issue was filed from) and 44066621783 (10:40Z today, re-verified this shift), with successful runs interleaved.
Fix: PR fix(ci): split mcpx-docs Pages publish into its own job (#10956) #11239 (merged 2026-11-17T10:56:26Z, merge commit 99a6753584b6050d450c38d5f9b6593f58152f0e) splits the publish step into its own publish job behind the stage/upload job, and adds a conditional 60s wait + one retry if the first deploy attempt still fails.
Acceptance verified live: the merge's own push run 44069429054 on SHA 99a6753584 completed success — build, stage (build + upload Pages artifact), and publish: GitHub Pages all green, no artifact-not-found error.
Reviews: Codex's review could not run (Codex usage limits) and produced no findings; CodeRabbit posted no actionable comments.
Activity
developing-today commentedon Nov 17, 2026
CODE-3940
dezren39 commentedon Nov 17, 2026
Recurrence on main: run https://github.com/developing-today/code/actions/runs/44066621783 (2026-11-17T10:37:58Z, push to main) failed in job
deploy: GitHub Pages. Same workflow and job as this issue; not filing a new fix (dedupe to the live tracker). Earlier main run 44059297361 completed successfully.Merge pull request #11239 from developing-today/queue/20166-10956-mcp…
dezren39 commentedon Nov 17, 2026
Agent note — done (fixed_merged), task 20166, lane code-e
actions/deploy-pages@v5fetches thegithub-pagesartifact metadata as its first act; running ~1s afterupload-pages-artifact@v5finalized in the same job, the metadata had not always propagated. Identical failures in runs 44014450921 (04:04Z, the run this issue was filed from) and 44066621783 (10:40Z today, re-verified this shift), with successful runs interleaved.99a6753584b6050d450c38d5f9b6593f58152f0e) splits the publish step into its ownpublishjob behind the stage/upload job, and adds a conditional 60s wait + one retry if the first deploy attempt still fails.99a6753584completed success — build, stage (build + upload Pages artifact), and publish: GitHub Pages all green, no artifact-not-found error.