fix(ci): explicit forgejo ciProvider must win over hostNodeId when enqueueing #99

Merged
gmackie merged 2 commits from fix/ci-provider-precedence into main 2026-07-13 18:00:12 +00:00
Owner

ForgeGraph itself has ci_provider=forgejo AND a host node, so every push enqueued a native changeset:manifest build that the shipped agent (cmd/agent — no manifest CI runner wired) can never claim. Result: fg ci status showed a phantom queue (runners=0/0, oldest queued 2h+).

  • prefer the explicitly configured provider in both enqueue sites (forgejo push handler + applyBranchPush)
  • thread ciProvider through the narrow repo selects
  • the one orphaned queued build was cancelled operator-side

Related deeper issue (separate thread): agent/main.go and agent/cmd/agent/main.go are two co-maintained mains and only cmd/agent ships — manifest CI, pnpm pinning, and the registry trust gate wiring exist only in the unshipped one.

ForgeGraph itself has ci_provider=forgejo AND a host node, so every push enqueued a native changeset:manifest build that the shipped agent (cmd/agent — no manifest CI runner wired) can never claim. Result: fg ci status showed a phantom queue (runners=0/0, oldest queued 2h+). - prefer the explicitly configured provider in both enqueue sites (forgejo push handler + applyBranchPush) - thread ciProvider through the narrow repo selects - the one orphaned queued build was cancelled operator-side Related deeper issue (separate thread): agent/main.go and agent/cmd/agent/main.go are two co-maintained mains and only cmd/agent ships — manifest CI, pnpm pinning, and the registry trust gate wiring exist only in the unshipped one.
fix(ci): explicit forgejo ciProvider must win over hostNodeId when enqueueing
Some checks failed
CI / ci (pull_request) Failing after 2m10s
d44696b51b
Repos with real Forgejo Actions CI (ForgeGraph itself: ci_provider=forgejo
AND a host node) enqueued native changeset:manifest builds on every push —
but the shipped agent (cmd/agent) has no manifest CI runner wired, so those
builds sit queued forever and fg ci status reports a phantom backlog
(runners=0/0, oldest queued 2h+).

Prefer the explicitly configured provider in both enqueue sites
(forgejo push webhook handler + applyBranchPush) and thread ciProvider
through the narrow repo selects that lacked it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
fix(ci): include ciProvider in the pull-request handler repo select
All checks were successful
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 5m11s
65c1d9f28c
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign in to join this conversation.
No description provided.