• QE: the fork trigger guard and the TruffleHog test follow the rebuild2 retirement (FAR-370)
    trufflehog / scan (pull_request) Successful in 23s
    fork-tests / verify (pull_request) Successful in 19m56s

    Mike Roservices released this 2026-10-25 00:12:34 +00:00 | 3211 commits to local since this release

    Companion to the rebuild2 retirement (FAR-368). Three test files hardcoded the
    fork's branch list, so dropping rebuild2 from the fork's own CI made them
    fail. Test code only; the workflow and docs changes are Mike's.

    • scripts/fork/fork-tests-triggers.test.mjs: FORK_PR_BRANCHES is the fork's
      PR-branch list, now ["dev", "local"].
    • scripts/fork/fork-tests-triggers.qe.test.mjs: the same list, and
      FILTER_DROPS_LOCAL's mutation now drops local to "[dev]" rather than to
      "[dev, rebuild2]" — it kept naming the retired branch, so the mutation
      stopped modelling "a fork branch drops out of the filter".
    • scripts/fork/trufflehog.test.mjs: the push filter the scan runs on is
      exactly branches: [dev, local].

    The guard property is unchanged, not relaxed: it still requires local, and
    it still rejects a workflow that drops a fork branch from the PR filter or
    skips a step by branch in any spelling (base.ref, head.ref, github.ref,
    base.label, head.label). Verified on dev@5bdee29e0 with the retirement's two
    workflow lines applied: 4/0, 6/0, 16/0, 8/0.

    The pair must land together: this PR is red until the retirement's workflow
    change is in the tree, because the TruffleHog assertion is an exact match.

    Downloads