Skip to content

basic: proxy port fallbacks is red on main — the antigravity-direct guard row still requires an opencode.jsonc baseURL after the #1414 native-provider repoint #5497

Closed

Description

@dezren39

What is broken

basic: proxy port fallbacks (.github/workflows/proxy-port-fallbacks.yml → .github/scripts/check-proxy-port-fallbacks.sh) fails on every PR and on main:

::error::.opencode/opencode.jsonc has no {env:ANTIGRAVITY_DIRECT_PORT:-18751} baseURL — the fallback must match the antigravityDirectProxyPort definition (18751); a bare {env:ANTIGRAVITY_DIRECT_PORT} resolves to an empty port outside a home-manager shell (#434).

Because basic: proxy port fallbacks is the required check for the main merge queue (.github/ci-policy.md), no PR can currently merge.

Why

The guard table (check-proxy-port-fallbacks.sh, line ~57) still marks the antigravity-direct door has_config=yes:

"ANTIGRAVITY_DIRECT_PORT|antigravityDirectProxyPort|bin/antigravity-direct.mjs|yes"

But the provider was deliberately repointed in .opencode/opencode.jsonc on 2026-11-04 (opencode#1414 / #5483): antigravity-direct now rides the native in-fork provider (opencode#1457) and has no baseURL/apiKey, so the {env:ANTIGRAVITY_DIRECT_PORT:-18751} fallback no longer exists by design.

This is the same shape as the codex precedent already recorded in the script header: the door program still exists, only its opencode.jsonc provider was re-seated elsewhere, so the row keeps its script check and drops the config expectation.

Fix

One character-class change: set the antigravity-direct row's last field to no (keep the bin/antigravity-direct.mjs fallback check, which still passes), and update the retirement note in the script header to name the #1414/#5483 repoint. The :18751 door unit and bin/antigravity-direct.mjs retire later after the zero-traffic window; when the script retires too, the row goes away entirely.

Evidence

  • main ffc19be78: bash .github/scripts/check-proxy-port-fallbacks.sh → exit 1 with the error above.
  • Confirmed on the merged tree of PR feat(id): resume tokens and bounded screen baselines — #805 Phase 2 #5036 (queue/5906-805-screenpatch-phase-2) — the failure is not caused by that branch.
  • Reproduced in CI on run 41846464347 job 126632250062 (re-run after a runner-less cancellation).

Impact

Fleet-wide: it blocks the merge queue, not just one PR.

Activity

  1. added
    kind/ciCI/CD pipelines, workflows, and build automation
    priority/highImportant and time-sensitive
    area/ciCI/CD pipelines, workflows, and build automation (area)
    main-brokenmain branch full-suite (main tier) is red; remediation chain owns this
    on Nov 4, 2026
  2. developing-today commented on Nov 4, 2026

    @developing-today
    Contributor
  3. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 5, 2026
  4. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor

    🤖 Agent note · handed off

  5. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    work/assignedQueue worker lifecycle state
    and removed on Nov 5, 2026
  6. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  7. 148 remaining items

  8. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 10, 2026
  9. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  10. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · verified fixed (no code change needed)

    • Agent: opencode claimant (lane opencode)
    • Session / ID: task 14498 · ses_e5e3bd297cbffeVlSdbVbRH4Mc
    • State: verified — the requested guard-row change is already superseded by the door's retirement
    • Found via: queue claim → fresh worktree queue/14498-5497-proxy-port-fallbacks from origin/main (c9c4b27c3f)

    What the issue asked for: flip the antigravity-direct guard row's last field from yes to no in .github/scripts/check-proxy-port-fallbacks.sh so the {env:ANTIGRAVITY_DIRECT_PORT:-18751} opencode.jsonc baseURL is no longer required after the #1414 native-provider repoint.

    What is actually on main: PR #5517 ("Retire the antigravity-direct door (opencode#1414)", merge 9c4b8021bc) removed the door outright — its let, unit, session var, bin program and its guard row — in one change. .github/scripts/check-proxy-port-fallbacks.sh now carries an empty proxies array at lines 82-84 and a retirement note for opencode#1414 at lines 25-33. That is strictly stronger than the yes→no edit: there is no row left to require a baseURL, and no stale row to keep matching the removed let.

    Verification

    • Local, fresh origin/main checkout: bash .github/scripts/check-proxy-port-fallbacks.sh → proxy port fallbacks match the home/common/default.nix definitions (0 proxies). (exit 0)
    • Main tier (this is the job that was red): run 41865658473 at f5efb0f8, job basic: proxy port fallbacks → success; 9c4b8021 is an ancestor of that commit.
    • PR tier: every completed proxy port fallbacks pull_request run after the retirement is green, e.g. 42571875796, 42571022955, 42570902449 (2026-11-09).
    • The only post-retirement red on the PR-tier workflow is 42624935503 on automation/flake-inputs-update-20261109-42489583241: it completed in 1 s with zero jobs — a startup failure on that bot branch, not a guard verdict.
    • Diff check: the guard script's proxies array is unchanged since the proven-green main run; later edits to the script are header comments plus the Route proxy retired (opencode#1153) while deployed config + live sessions still route through opencode-route/:18750 — retirement gate missing #5610 retirement-gate note.

    Why this closes rather than ships a PR: the only remaining edit would be reintroducing a stale row to then disable it, which the script header explicitly forbids (#2961: a row returns with its let, restored from git history, in the same change). Acceptance — basic: proxy port fallbacks green on main and on PRs, merge path unblocked — is already met by #5517.

  11. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    Closing as completed: the failing row was removed outright by #5517 (merge 9c4b8021), and basic: proxy port fallbacks is green on main (run 41865658473) and on PRs. See the verification note above.

  12. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (already_done)

  13. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · already done — task 10072 (triage of issue #5497)

  14. dezren39 commented on Nov 11, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (already_done)

  15. removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/ciCI/CD pipelines, workflows, and build automation (area)effort/sSmall: expected under 2 hours of workkind/ciCI/CD pipelines, workflows, and build automationmain-brokenmain branch full-suite (main tier) is red; remediation chain owns thispriority/criticalDrop everything: main broken, security exposure, repo-wide outagepriority/highImportant and time-sensitivestatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions