Skip to content
Merged
2 changes: 0 additions & 2 deletions .github/workflows/call-occ-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ on:
pull_request:
branches: [main, dev, "hotfix/**"]
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
types: [checks_requested]

concurrency:
# OMN-13949: cancel superseded PR runs to free saturated runners. merge_group
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/check-handshake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches: [main, develop]
pull_request:
branches: [main, dev, develop]
merge_group:
workflow_dispatch:

concurrency:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/check-sibling-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
paths:
- 'pyproject.toml'
- 'uv.lock'
merge_group:
workflow_dispatch:

concurrency:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/compose-config-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ on:
- "scripts/lint_compose_dangling_deps.py"
- "tests/scripts/test_lint_compose_dangling_deps.py"
- ".github/workflows/compose-config-lint.yml"
merge_group:
workflow_dispatch:

concurrency:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/dispatch-parity-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ on:
- "tests/fixtures/dispatch_parity/**"
- "tests/integration/runtime/test_dispatch_selection_parity.py"
- ".github/workflows/dispatch-parity-gate.yml"
merge_group:
workflow_dispatch:

concurrency:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/env-parity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
paths:
- "docker/docker-compose*.yml"
- "tests/ci/test_env_parity.py"
merge_group:
workflow_dispatch:

concurrency:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/fresh-deploy-fitness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ on:
branches: [main, dev]
push:
branches: [main]
merge_group:

concurrency:
# OMN-13949: cancel superseded PR runs to free saturated runners. merge_group
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/lane-census-staleness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ on:
- "scripts/check_lane_census_age.py"
- "scripts/check_lane_env_drift.py"
- "scripts/generate_claude_lane_block.py"
merge_group:
workflow_dispatch:
inputs:
max_age_days:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/no-bare-compose-teardown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ name: No bare compose teardown (OMN-13886)

on:
pull_request:
merge_group:
push:
branches: [dev, main]

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/node-migration-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ on:
branches: [main, dev]
push:
branches: [main]
merge_group:

concurrency:
# OMN-13949: cancel superseded PR runs to free saturated runners. merge_group
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/runner-disk-preflight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ on:
branches: [main, dev]
pull_request:
branches: [main, dev]
merge_group:
workflow_dispatch:
inputs:
warn_gb:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/runner-routing-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:
- "config/runner_routing_policy.yaml"
- "scripts/audit-runner-routing.py"
- ".github/workflows/runner-routing-audit.yml"
merge_group:
schedule:
- cron: "17 * * * *"
workflow_dispatch:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/skill-node-mapping-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ on:
branches: [main, dev]
push:
branches: [main]
merge_group:

concurrency:
# OMN-13949: cancel superseded PR runs to free saturated runners. merge_group
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/url-authority-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,6 @@ on:
branches: [main, dev]
merge_group:

env:
# OMN-14017: this workflow runs a raw `uv sync` / `uv run --with git+https`
# (not the hardened setup-python-uv composite), which otherwise inherits uv's
# 30s default and fails HARD on the first PyPI/git timeout under fleet egress
# saturation (WS-F). Match the composite's 600s so downloads ride out
# contention. Propagates to every uv invocation in the job.
UV_HTTP_TIMEOUT: "600"

concurrency:
# OMN-13949: cancel superseded PR runs to free saturated runners. merge_group
# entries carry a unique github.ref, so queue entries never cross-cancel.
Expand All @@ -46,6 +38,9 @@ concurrency:
permissions:
contents: read

env:
UV_HTTP_TIMEOUT: "600"

jobs:
occ-preflight:
# self-gating-ok: centralized OCC preflight reusable is the canonical cross-repo gate for non-OCC repositories.
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/validate-validator-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
branches: [main, dev]
pull_request:
branches: [main, dev]
merge_group:
workflow_dispatch:

env:
Expand All @@ -26,6 +25,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

env:
UV_HTTP_TIMEOUT: "600"

jobs:
occ-preflight:
# self-gating-ok: centralized OCC preflight reusable is the canonical cross-repo gate for non-OCC repositories.
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/validator-runtime-profiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ on:
branches: [main, develop, dev, "hotfix/**"]
pull_request:
branches: [main, develop, dev]
merge_group:
branches: [main, develop, dev]

env:
PYTHON_VERSION: "3.12"
Expand Down
10 changes: 7 additions & 3 deletions tests/ci/test_runner_disk_preflight.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ def test_preflight_job_has_distinct_name() -> None:
)


def test_preflight_workflow_triggers_on_pr_and_push() -> None:
"""Preflight must run on every PR and push so it always provides a check.
def test_preflight_workflow_triggers_on_pr_push_and_manual_only() -> None:
"""Preflight must run on PR and push, without rejoining merge_group fanout.

Note: PyYAML parses the YAML 'on:' key as Python True (YAML boolean alias).
We check both the canonical string form and the boolean form for robustness.
Expand All @@ -85,7 +85,11 @@ def test_preflight_workflow_triggers_on_pr_and_push() -> None:
assert isinstance(triggers, dict)
assert "pull_request" in triggers, "Must trigger on pull_request events"
assert "push" in triggers, "Must trigger on push events"
assert "merge_group" in triggers, "Must trigger on merge_group events"
assert "workflow_dispatch" in triggers, "Must support manual dispatch"
assert "merge_group" not in triggers, (
"runner-disk-preflight is intentionally excluded from merge_group fanout; "
"required merge-queue verdicts are handled by the aggregate required checks."
)


def test_preflight_step_emits_runner_disk_annotation() -> None:
Expand Down
Loading