Skip to content

ci(scripts-test): dot-bridge site test-helpers.sh is run by no workflow — wire the hermetic build/staging suite in #17793

Done

Description

@developing-today-fleet

Gap (full-tree shell-suite orphan sweep at origin/main 668b524, lane 0900-GW, 2026-11-30)

pkgs/dot-bridge/site/scripts/test-helpers.sh is run by nothing: no workflow names it, it has no entry in .github/test-suite-registry.json, and the only reference in the tree is the manual instruction in pkgs/dot-bridge/site/README.md ("Run bash scripts/test-helpers.sh for hermetic build and staging checks"). #17745 wired the package's two Python suites (chatgpt/test_server.py, slack/test_bridge.py) into scripts-test; this third suite — the site build/staging contract — was not in its scope and remains manual-only.

The suite is hermetic: bash + node (both on the ubuntu-latest runner image), no arguments (any argument is a usage error, exit 2, per the #3352 contract), no network, all state in a mktemp fixture. It exercises prepare-site-source.sh argument refusal, build.sh / validate-artifact.mjs stale-artifact and symlink refusal, a clean build + validate, and the Worker's test.mjs.

Fix

Wire the suite into .github/workflows/scripts-test.yml in the established explicit-suite sibling style (test -f guard, then bash <path>), and add its entry to .github/test-suite-registry.json in the mapped/active shape.

Acceptance

  • The scripts-test.yml step exists and is valid YAML, following the existing explicit-suite pattern.
  • Verification at the PR head shows the suite executed and passing firsthand (the workflow run on the branch, or an equivalent dispatched run with the suite's own output), not a vacuous success.
  • The registry entry names the suite, its invocation, and the scripts-test venue as active.
  • No other workflow behaviour changes.

Claim: lane 0900-GW (xaltha, wave 0900) claims this issue in the filing body and is implementing it now.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-30T22:36:33Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. added
    kind/ci
    priority/normal
    effort/s
    on Nov 30, 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

    effort/skind/cipriority/normal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions