Skip to content

ci: two specs existed in no tier — wire them (DEV-2203) - #242

Merged
danielzytohoc merged 2 commits into
masterfrom
chore/DEV-2203-wire-orphaned-specs
Aug 20, 2026
Merged

ci: two specs existed in no tier — wire them (DEV-2203)#242
danielzytohoc merged 2 commits into
masterfrom
chore/DEV-2203-wire-orphaned-specs

Conversation

@danielzytohoc

@danielzytohoc danielzytohoc commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Found during the final sign-off sweep: two specs on master ran in no CI tier — the exact orphaned-gate anti-pattern runner/docs/TESTING.md codifies ("every env gate needs a workflow home"), recurring days after it was written down.

  • e2e/preview-scheme.spec.ts (DEV-2561's live proof that the shell's colour scheme reaches the grid) — E2E_LIVE-gated, named in no e2e-live step. → joins the nightly sandpack step.
  • e2e/session-abandoned-create.spec.ts (DEV-2567's leak regression) — skips without an API worker, and nothing anywhere set E2E_API_BASE. Its /api/admin/sessions reads are auth-gated on prod, so it joins the token-gated step (share round-trip), inheriting its trace-off/scrub secret hygiene. Runs whenever E2E_BROKER_TOKEN is fresh.

Worth a thought later: the presence gate proves a test exists for a change, but nothing yet proves a gated spec is reachable by some workflow — this is the second time orphans slipped through. A guide-tracks-style pipeline test that diffs e2e/*.spec.ts gates against the workflow step lists would close the class.


Note

Cursor Bugbot is generating a summary for commit 4100b7e. Configure here.

The sign-off audit found preview-scheme.spec.ts (DEV-2561's live proof)
gated behind E2E_LIVE but absent from every e2e-live step list, and
session-abandoned-create.spec.ts (DEV-2567's leak regression) skipping
forever for want of an API base — the orphaned-gate anti-pattern
TESTING.md names, recurring days after it was written down. The scheme
spec joins the sandpack step; the leak spec joins the token-gated step
(its /api/admin reads need auth on prod) with E2E_API_BASE wired.
@danielzytohoc
danielzytohoc requested a review from demtario August 20, 2026 11:14
Both sides appended a spec to the sandpack step's file list:
preview-scheme.spec.ts (this branch, the orphan being wired) and
preview-head-assets.spec.ts (master, DEV-2576). Kept both.
@danielzytohoc
danielzytohoc merged commit 6454fc2 into master Aug 20, 2026
7 checks passed
@danielzytohoc
danielzytohoc deleted the chore/DEV-2203-wire-orphaned-specs branch August 20, 2026 11:58
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.

2 participants