Skip to content

ci: drop legacy build-and-test.yml - #25

Merged
siarheidudko merged 1 commit into
masterfrom
claude/stuck-prs-dependency-update-18rrre
Jul 25, 2026
Merged

ci: drop legacy build-and-test.yml#25
siarheidudko merged 1 commit into
masterfrom
claude/stuck-prs-dependency-update-18rrre

Conversation

@siarheidudko

Copy link
Copy Markdown
Owner

Removes .github/workflows/build-and-test.yml.

Why

It is a duplicate. Job for job, it is pr-checks.yml:

build-and-test.yml pr-checks.yml
build npm cinpm run lintnpm run build → archive lib npm cinpm run lintnpm run build → archive dist
tests node20 + node22, two hand-copied jobs: npm ci → firebase-tools → serviceAccount → npm run cov Test (Node 20/22) matrix: npm ci → firebase-tools → serviceAccount → npm run cov

It stalls. Its emulator job hangs indefinitely — observed twice in a row on commit 5228f71, over an hour each time, while pr-checks ran the identical suite on that same commit in ~2 minutes. It sets no timeout-minutes, so each stall burns the full 6-hour default. This is what left #23 without a clean verdict.

Nothing depends on it. It declares workflow_call but has no callers anywhere in .github/. Releases go release-on-version-bump.ymlbuild-and-deploy.yml (tag dispatch) and never reference it.

It is drift. Of the eight repos on the unified autoupdate-with-claude baseline, this is the only one still carrying the file. The other seven have exactly autoupdate / claude / pr-checks / release-on-version-bump / build-and-deploy.

Trade-off

build-and-test.yml was the only workflow running on pushes to masterpr-checks.yml uses push: branches-ignore: [master] by design. After this, master pushes get no CI, which is exactly how all seven sibling repos work: changes are verified on the PR before merge, and master only advances through merged PRs.

If you would rather keep post-merge verification on master, the alternative is to add master back to pr-checks.yml's push triggers instead — but that would diverge from the shared template, so I have not done it here.


Generated by Claude Code

This workflow is an exact functional duplicate of pr-checks.yml: the same
npm ci -> lint -> build, then the same firebase-tools + serviceAccount +
`npm run cov` on Node 20 and 22, written out as two hand-copied jobs
instead of a matrix.

It is also why autoupdate PRs could not be merged cleanly. Its emulator
job stalls indefinitely -- observed twice in a row on the same commit,
over an hour each time, while pr-checks ran the identical suite on that
same commit in about two minutes. The workflow sets no timeout-minutes,
so each stall burns the full 6-hour default.

Nothing references it: it declares workflow_call but has no callers, and
build-and-deploy.yml is dispatched by release-on-version-bump.yml rather
than gated on this. firebase-engine is also the only one of the eight
repos on the unified baseline still carrying the file -- the other seven
have exactly autoupdate / claude / pr-checks / release-on-version-bump /
build-and-deploy.

This drops CI on pushes to master, since pr-checks deliberately ignores
the default branch. That matches every sibling repo: changes are verified
on the PR before merge.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PfHHX2WrotHCt9djnk6tMZ
@siarheidudko
siarheidudko marked this pull request as ready for review July 25, 2026 21:35
@siarheidudko
siarheidudko merged commit 16867bc into master Jul 25, 2026
3 of 6 checks passed
@siarheidudko
siarheidudko deleted the claude/stuck-prs-dependency-update-18rrre branch July 25, 2026 21:35
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