FORGE-149: treat ForgeGraph-registered repositories as Forgejo-hosted #903

Merged
gmackie merged 1 commit from FORGE-149-native-provider into main 2026-10-19 06:17:16 +00:00
Owner

FORGE-149 (follow-up to #896)

Suite sync (#896) and ancestor_deploy only accepted repository provider "gitea". But ForgeGraph registers the repositories it creates on its own Forgejo as "native", which is 108 of 109 repositories. The first real use proved it: Veritas's main build passed with forge-ci.toml and nothing synced, and its inclusion receipts would have been refused next.

hostedOnForgejo(provider) now names the rule once: native, gitea and forgejo repositories live on the platform Forgejo; GitHub repositories never read their source or ancestry there. Tests cover a native repository syncing and receiving an ancestry receipt, and a GitHub one doing neither.

🤖 Generated with Claude Code

FORGE-149 (follow-up to #896) Suite sync (#896) and `ancestor_deploy` only accepted repository provider `"gitea"`. But ForgeGraph registers the repositories it creates on its own Forgejo as `"native"`, which is 108 of 109 repositories. The first real use proved it: Veritas's main build passed with `forge-ci.toml` and nothing synced, and its inclusion receipts would have been refused next. `hostedOnForgejo(provider)` now names the rule once: `native`, `gitea` and `forgejo` repositories live on the platform Forgejo; GitHub repositories never read their source or ancestry there. Tests cover a native repository syncing and receiving an ancestry receipt, and a GitHub one doing neither. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
FORGE-149: treat ForgeGraph-registered repositories as Forgejo-hosted
All checks were successful
CI / superseded (pull_request) Successful in 0s
CI / gitleaks (pull_request) Successful in 11s
CI / storybook (pull_request) Successful in 1m49s
CI / go (pull_request) Successful in 2m6s
CI / unit-api (pull_request) Successful in 2m19s
Registry deps hash / pnpm-deps-hash (pull_request) Successful in 4m3s
CI / checks (pull_request) Successful in 4m1s
CI / web-build (pull_request) Successful in 4m13s
CI / unit-web (pull_request) Successful in 3m7s
CI / database (pull_request) Successful in 6m23s
forgegraph/ci CI passed
CI / ci (pull_request) Successful in 31s
CI / database-d1 (pull_request) Successful in 8m3s
Preview / deploy (pull_request) Has been skipped
Preview / e2e (pull_request) Has been skipped
Preview / cleanup (pull_request) Successful in 33s
491a4b7f7b
Suite sync and ancestor_deploy only accepted provider "gitea", but
ForgeGraph registers repositories on its Forgejo as "native" (108 of
109). Veritas's main build passed with forge-ci.toml and nothing synced,
and its inclusion receipts would have been refused. Both now share one
predicate that still keeps GitHub repositories off Forgejo.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Worker Preview: https://pr-903.previews.forgegraf.com (updates on every push; behind Cloudflare Access, D1 fg-pr-903)

<!-- forgegraph-preview --> Worker Preview: https://pr-903.previews.forgegraf.com (updates on every push; behind Cloudflare Access, D1 `fg-pr-903`)
Author
Owner

Preview environment is live: https://pr-903-forgegraph.forgegraf.com

Deployed 491a4b7f with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.

Preview environment is live: https://pr-903-forgegraph.forgegraf.com Deployed `491a4b7f` with the beta stage's environment. It redeploys on every push and is destroyed when this PR closes.
Sign in to join this conversation.
No description provided.