Skip to content

Disable the Workshop CI/CD; labs.demohouse.cloud replaced it - #86

Closed
sishuo-yang wants to merge 2 commits into
mainfrom
chore/disable-workshop-ci
Closed

Disable the Workshop CI/CD; labs.demohouse.cloud replaced it#86
sishuo-yang wants to merge 2 commits into
mainfrom
chore/disable-workshop-ci

Conversation

@sishuo-yang

Copy link
Copy Markdown
Collaborator

Workshop hosting moved to labs.demohouse.cloud, built and deployed by the WorkshopHouse repository's ci.yml and release.yml. This repo's .github/workflows/workshop.yml is the old pipeline. This stops it from firing.

What changes

.github/workflows/workshop.yml — one file, triggers and one job condition:

  • pull_request and push triggers removed, leaving workflow_dispatch. Nothing runs automatically; the verify job can still be dispatched by hand to spot-check this repo's copy of workshops/.
  • deploy job pinned off with if: false.

The file is kept rather than deleted, so the retired pipeline stays readable next to its replacement. The old triggers and the old deploy condition are preserved verbatim as comments, and a note at the top of the file records what re-enabling would actually take.

Why the deploy job is pinned off, not just untriggered

It is not merely redundant — it is broken. Both hosts it targets are gone:

URL Status
https://workshop.demohouse.cloud/docs/snowflake-migration 404
https://labs.demohouse.cloud/docs/snowflake-migration 200

Upstream commit 34f596e renamed the host, noting the old name "resolves to a separate, older deployment with its own lifecycle." Leaving workflow_dispatch on without pinning deploy would have left a one-click path to building and shipping an image at a dead target.

The replacement covers the same gates

WorkshopHouse's ci.yml runs check-docs.sh, check-windows.ps1, and the build_workshop backend and loadgen tests against its own copy of workshops/; release.yml deploys to labs.demohouse.cloud with a smoke check and a rollback step.

No pull request will hang on a missing check

Checked before removing the triggers: Workshop CI is not a required status check. repos/.../branches/{main,dev,build-workshop-v1,dev-build-workshop-v1}/protection returns 404, repos/.../rulesets is empty, and repos/.../rules/branches/* returns no rules for any of the four. On PR #83 the rollup reports isRequired: null for all three checks. Nothing blocks on them.

Follow-ups this PR does not cover

Three other branches carry their own copy of this workflow, and for push events GitHub reads the workflow file from the branch being pushed — so this PR alone does not stop the deploys that are still running. The copies have diverged into three distinct versions:

Branch Blob Note
main, dev cdd36a4 this PR
build-workshop-v1 d11900f production deploys
dev-build-workshop-v1 1c24758 dev deploys; adds polymarket paths and a preflight test

The most recent deploy ran on a push to dev-build-workshop-v1 on 2026-08-03. The same edit needs to land on build-workshop-v1 and dev-build-workshop-v1 to actually stop deployment. Happy to open those two PRs — the patch is small but has to be applied per branch since the files differ.

One test loses its only automated run. This workflow executes workshops/RTA-mini-workshop/dashboard/test_app.py on both Ubuntu and Windows. WorkshopHouse's labs job runs agent_arena, build_workshop backend, and build_workshop loadgen — but not the RTA-mini dashboard tests. Worth adding there.

Verification

  • actionlint on the result reports only the two pre-existing SC2129 style warnings (confirmed present on origin/main before this change) plus an if-cond note that reads constant expression "false" in condition — i.e. actionlint confirming the deploy job can never run, which is the intent. Nothing in this repo runs actionlint, so it gates nothing.
  • Parsed with PyYAML: triggers resolve to {'workflow_dispatch': {}}, jobs to verify (if=None) and deploy (if=False).

🤖 Generated with Claude Code

sishuo-yang and others added 2 commits August 4, 2026 15:17
Workshop hosting now lives at labs.demohouse.cloud, built and deployed by the
WorkshopHouse repository's ci.yml and release.yml. That pipeline runs the same
gates this workflow did -- check-docs.sh, check-windows.ps1, and the
build_workshop backend and loadgen tests -- against its own copy of workshops/,
so nothing here needs to run on a push or a pull request.

Drop the pull_request and push triggers, leaving workflow_dispatch, and pin the
deploy job off. The deploy half is not merely redundant, it is broken: both hosts
it targets, workshop.demohouse.cloud and dev-workshop.demohouse.cloud, return
404, so a manual dispatch would otherwise build and ship an image at a dead
target. The old triggers and the old deploy condition are preserved verbatim as
comments, and the top-of-file note says what re-enabling would take.

Keeping the file rather than deleting it leaves the retired pipeline readable
next to its replacement. Nothing in the repo required its checks -- no branch
protection or ruleset lists them, so no pull request will hang waiting on a check
that no longer runs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The previous commit removed the pull_request trigger, which stalled PR #86 itself
on "1 expected check". `Workshop CI` -- the verify job's name -- is a required
status check for `main`, configured in repository rules rather than in this file.
With no trigger it never reports, so every pull request into `main` would have sat
unmergeable forever.

I had checked for this and got it wrong: branch protection returns 404 and both
the rulesets and GraphQL branchProtectionRules come back empty for this token,
which has maintain rather than admin. That is missing read access, not missing
protection.

Restore the pull_request trigger and skip the verify job on anything that is not a
manual dispatch. A skipped job still reports its check, and GitHub accepts a
skipped required check in place of a success, so pull requests merge while none of
the work runs. The push trigger stays gone -- that is the half that deployed --
and the deploy job stays pinned off because both of its target hosts are 404.

Skipping rather than hard-disabling the verify job leaves `workflow_dispatch` able
to run the real gates by hand against this repo's copy of workshops/.

Fully retiring this file means dropping `Workshop CI` from the required checks for
`main` first, which needs repository admin; the note at the top of the file records
that.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@sishuo-yang sishuo-yang closed this Aug 4, 2026
sishuo-yang added a commit that referenced this pull request Aug 4, 2026
GitHub left PR #86 pointing at 3b03723 after the branch moved on, so no
pull_request event fired and the required `Workshop CI` check was never created.
This is a plain fast-forward push to resync the head. No files change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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