Skip to content

Fix docs deploy: build Open Question Board via its stable action - #1238

Open
isPANN wants to merge 2 commits into
mainfrom
fix/open-question-board-build
Open

isPANN wants to merge 2 commits into
mainfrom
fix/open-question-board-build

Conversation

@isPANN

@isPANN isPANN commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

The Deploy Documentation workflow has failed on main since 2026-10-30 (runs 41020231638, 41022081476):

open-questions-source/.venv/bin/python: can't open file '.../open-questions-source/website/build.py': [Errno 2] No such file or directory

GiggleLiu/autoresearch-gadgets #24 rebuilt the board in TypeScript and removed website/build.py. We were calling its internal build script directly, so any upstream refactor breaks our deploy, and that repo changes often.

Change: build the board through upstream's action.yml, which is documented as "the stable interface for sites that embed the board … how the board is built may change here without changing that workflow":

- uses: ./open-questions-source
  with:
    output: open-questions-board   # contains registry.json at its root

check_website.py --open-questions now reads open-questions-board. We still track upstream main, so board updates go out with no manual version bumps.

Validation: the docs workflow only runs on push to main, so it was dispatched on this branch with workflow_dispatch. The deploy job only runs on refs/heads/main, so the test run publishes nothing.

🤖 Generated with Claude Code

isPANN and others added 2 commits November 3, 2026 23:37
autoresearch-gadgets#24 replaced website/build.py with a Node build
(npm run build -> website/dist), so the docs deploy failed with
"can't open file .../website/build.py". Build the board with npm after
Node is set up; the output path and dist/registry.json are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
autoresearch-gadgets changes often and its action.yml is the documented
interface for embedding sites: build into an output directory with
registry.json at its root. Calling it instead of the board's npm scripts
keeps upstream build changes from breaking this deploy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@isPANN isPANN changed the title Fix docs deploy: build Open Question Board with its new TypeScript build Fix docs deploy: build Open Question Board via its stable action Nov 4, 2026
@codecov

codecov Bot commented Nov 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.19%. Comparing base (e7bacb3) to head (06c01b3).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1238   +/-   ##
=======================================
  Coverage   97.19%   97.19%           
=======================================
  Files        1146     1146           
  Lines      151558   151558           
=======================================
  Hits       147308   147308           
  Misses       4250     4250           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch has not been deployed

No deployments
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.

1 participant