Skip to content

ci(smoke): let a Dependabot run skip Smoke quietly #457

Closed

Description

@sydevs-bot

Summary

Dependabot's weekly action-pin pull requests cannot go green. The Smoke job fails on purpose when
its plan step emits reason=dependabot, so every pin rotation stalls on a red Smoke check that
no commit on the Dependabot branch can clear. Give that reason the quiet-skip branch fork and
queue already take: annotated, stated, exit 0.

Approach

Two parts. Both live in .github/workflows/ci.yml, so they are one review.

1. Make dependabot the third quiet reason.

  • .github/workflows/ci.yml:480 — the dependabot) case of "Report a smoke run that read
    nothing". Set FATAL=false, and rewrite MSG / HINT to state the skip instead of demanding a
    decision. ⚠ Keep a docs/rules/deployment.md reference naming a section that exists:
    scripts/ci-workflows.test.ts:229 reads the quoted heading out of the advice and asserts
    docs/rules/deployment.md contains it as an ## heading.
  • .github/workflows/ci.yml:236 — "Only two states skip them quietly, and both say so" becomes
    three, and names the new one.
  • .github/workflows/ci.yml:259 — the ⚠ comment ends "Still red: whether to enter the five there
    is a decision … and a quiet skip would hide it." That is the reasoning this ticket reverses, so
    replace it rather than leave it contradicting the code below it. What replaces it: this repo's
    .github/dependabot.yml updates github-actions only, so no Dependabot pull request here
    changes the deployed bundle and a preview read would cover nothing.
  • scripts/ci-workflows.test.ts:211 — expect(quiet.sort()).toEqual(['fork', 'queue']) becomes
    ['dependabot', 'fork', 'queue']. The test's name at :204 ("makes only two of them quiet"),
    its comment at :199–:203 ("Only fork and queue may exit 0") and the comment at
    :219–:221 ("the vocabulary pin above keeps the reason loud: only the advice differs") all
    state the old rule and must move with it.
  • docs/testing.md:57 — "Exactly two states skip quietly" becomes three, with the reason.
  • docs/testing.md:130 — the red-table row for a Dependabot run, whose advice is
    "decide before entering them".
  • docs/testing.md:135 — "Only the first two exit 0, and both are stated."
  • docs/rules/deployment.md:171 — the ⚠ paragraph reads "Until the secrets the Smoke job gates on
    are entered under both, each of those pull requests fails Smoke". After this change they do not.
    Entering the five as Dependabot secrets stays an open option; it is no longer the price of
    merging a pin bump.

2. Drop a dead step id (joined: same file, same review).

.github/workflows/ci.yml:104 puts id: browser-cache on the gate job's Chromium cache step, and
nothing reads steps.browser-cache.outputs.cache-hit there — the install step at :110 has no
if: and runs on a hit deliberately. The browser-lane step at :200 shares the id and is read,
at :207 and :211, so only the gate job's copy is dead. Drop the id on :104 alone.

Acceptance criteria

  • A Smoke run whose plan step emits reason=dependabot exits 0, writes the ### Smoke step
    summary saying no specs ran, and raises a warning annotation rather than an error.
  • fork, queue and dependabot are the only quiet reasons. Every other route to no preview
    still fails the job, and an unrecognised reason still takes the loud fallback.
  • scripts/ci-workflows.test.ts pins the three-reason quiet list, and no prose in it, in
    .github/workflows/ci.yml, in docs/testing.md or in docs/rules/deployment.md still says
    two states skip quietly or that a Dependabot pull request fails Smoke.
  • The Dependabot advice still names a docs/rules/deployment.md section that exists.
  • .github/workflows/ci.yml:104 carries no id, and :200's is untouched.

Verification checklist

  • pnpm test:run scripts/ci-workflows.test.ts
  • .claude/skills/pr-prep/check.sh
  • Read this pull request's own Smoke check: it must be green with the ⚠ line in the step
    summary and a warning annotation. A green check that claims the specs ran is the failure
    mode (docs/testing.md § "The smoke lane's three invariants").
  • Read a Dependabot pull request's Smoke check after the change lands.
    ci: bump actions/cache from 4.3.0 to 6.1.0 #455 is open and red for exactly this reason.

Notes

  • Decision, already settled. "Give dependabot the quiet-skip branch fork and queue take"
    → chosen as option A by Ardnived on ci: bump actions/cache from 4.3.0 to 6.1.0 #455, 2026-11-22
    (ci: bump actions/cache from 4.3.0 to 6.1.0 #455 (comment)). Option B, entering
    the five as Dependabot secrets, and option C, dropping Smoke from the required checks, were
    both declined. Nothing here is an open question.
  • What the quiet skip gives up, and why it is safe here. A Dependabot pull request would merge
    with no preview read at all. That costs nothing today because .github/dependabot.yml is
    github-actions only — the loop owns npm updates — so such a pull request cannot change the
    deployed bundle. ⚠ Adding an npm entry to .github/dependabot.yml later would break that
    assumption, and this change is what would then be wrong.
  • Why this is a ticket and not a pull request from the loop. The work belongs on main, not on
    a Dependabot branch a cloud session cannot push to, and .github/workflows/ sits outside this
    repo's prAllowlistGlobs, so no ticketless pull request covers it.
  • Part 2 comes from a review thread on ci: bump actions/cache from 4.3.0 to 6.1.0 #455
    (ci: bump actions/cache from 4.3.0 to 6.1.0 #455 (comment)), which had no home on
    that branch.

Activity

  1. added theissue type on Nov 22, 2026
  2. added
    proposal
    on Nov 22, 2026
  3. Ardnived commented on Nov 22, 2026

    @Ardnived
    Contributor

    @sydevs-bot implement

  4. added
    bot:working
    and removed
    proposal
    on Nov 22, 2026
  5. sydevs-bot commented on Nov 22, 2026

    @sydevs-bot
    ContributorAuthor

    🤖 no session running
    approved by Ardnived

    recent dispatches
    • 18:25Z implement · attempt 1 · session · done
    • 18:25Z implement · attempt 1 · session

    Written by the sydevs dispatcher. Sessions never edit this comment.

  6. moved this from Awaiting to Working in SYDevelopers Technical Roadmapon Nov 22, 2026
  7. removed
    bot:working
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Priority

    High

    Hold Until

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions