Skip to content

Gate GitHub Pages deployment#70

Merged
konard merged 4 commits intomainfrom
issue-69-43fc7f1a4ec3
May 2, 2026
Merged

Gate GitHub Pages deployment#70
konard merged 4 commits intomainfrom
issue-69-43fc7f1a4ec3

Conversation

@konard
Copy link
Copy Markdown
Member

@konard konard commented May 2, 2026

Fixes #69

Summary

  • Gate the GitHub Pages deployment job behind manual workflow_dispatch with deploy_pages: true on main.
  • Keep WebAssembly tests, production web build, and artifact upload running automatically on pushes and PRs.
  • Preserve the failed Actions run metadata/logs and local verification logs under docs/case-studies/issue-69/.
  • Add experiments/validate-wasm-workflow.mjs to check that Pages deployment cannot run automatically on normal main pushes.

Root Cause

The failed run https://github.com/link-foundation/link-cli/actions/runs/25245349330 passed the test/build job, then failed in actions/configure-pages@v5 because the repository did not have GitHub Pages enabled/configured for GitHub Actions. The workflow called that Pages API automatically on every push to main.

Verification

  • node experiments/validate-wasm-workflow.mjs
  • npm ci
  • npm run test:wasm
  • npm run build

Notes

The raw downloaded GitHub Actions log is committed as case-study evidence and is intentionally preserved as captured.

Adding .gitkeep for PR creation (default mode).
This file will be removed when the task is complete.

Issue: #69
@konard konard self-assigned this May 2, 2026
@konard konard changed the title [WIP] Fix GitHub Pages CI/CD Gate GitHub Pages deployment May 2, 2026
@konard konard marked this pull request as ready for review May 2, 2026 10:37
@konard
Copy link
Copy Markdown
Member Author

konard commented May 2, 2026

Working session summary

Implemented and pushed the fix on issue-69-43fc7f1a4ec3.

PR 70 is ready for review: #70

What changed:

  • Gated GitHub Pages deployment behind manual workflow_dispatch with deploy_pages: true on main.
  • Kept WebAssembly test/build/artifact CI running automatically.
  • Added the issue 69 case study and preserved CI evidence under docs/case-studies/issue-69/.
  • Added experiments/validate-wasm-workflow.mjs to guard against reintroducing automatic Pages deployment.

Verification:

  • node experiments/validate-wasm-workflow.mjs
  • npm ci
  • npm run test:wasm
  • npm run build
  • Fresh PR CI passed on head cb9a15b; Test succeeded and Deploy GitHub Pages was skipped as intended.

This summary was automatically extracted from the AI working session output.

@konard
Copy link
Copy Markdown
Member Author

konard commented May 2, 2026

🤖 Solution Draft Log

This log file contains the complete execution trace of the AI solution draft process.

💰 Cost estimation:

  • Model: GPT-5.5
  • Provider: OpenAI
  • Public pricing estimate: $7.827870

📊 Context and tokens usage:

  • 5.5M / 1.1M (526%) input tokens, 11.8K / 128K (9%) output tokens

Total: (197.2K + 5.3M cached) input tokens, 11.8K output tokens, $7.827870 cost

🤖 Models used:

  • Tool: OpenAI Codex
  • Requested: gpt-5.5
  • Model: GPT-5.5 (gpt-5.5)

📎 Log file uploaded as Gist (16138KB)


Now working session is ended, feel free to review and add any feedback on the solution draft.

@konard
Copy link
Copy Markdown
Member Author

konard commented May 2, 2026

✅ Ready to merge

This pull request is now ready to be merged:

  • All CI checks have passed
  • No merge conflicts
  • No pending changes

Monitored by hive-mind with --auto-restart-until-mergeable flag

@konard konard merged commit dfb09ed into main May 2, 2026
2 checks passed
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.

Fix GitHub Pages CI/CD

1 participant