Skip to content

feat(deploy): default CFP_DATA_BRANCH to published#69

Merged
themightychris merged 1 commit into
mainfrom
chore/sandbox-publish-branch
May 19, 2026
Merged

feat(deploy): default CFP_DATA_BRANCH to published#69
themightychris merged 1 commit into
mainfrom
chore/sandbox-publish-branch

Conversation

@themightychris
Copy link
Copy Markdown
Member

Closes #59 follow-up. Switches the deployed instance's default data branch to published (which the importer-output legacy-import branch merges into).

Unblocked by #68: the new Node-side reconciler uses explicit fetch refspecs (+refs/heads/${branch}:refs/remotes/origin/${branch}), so the single-branch-clone limitation that previously broke switching no longer applies.

Per-pod override remains via the CFP_DATA_BRANCH env var — overlays can keep a debug deployment on fixture (~4 records) or legacy-import (raw snapshot, no merged runtime writes).

🤖 Generated with Claude Code

The data repo now carries a dedicated `published` branch (built from
`empty` + merged `legacy-import`) that's the long-term runtime branch.
`fixture` reverts to its original role — a small handful of curated test
records for local development.

Unblocked by #66 (PR #68): the entrypoint + Node reconciler now use an
explicit fetch refspec, so switching `CFP_DATA_BRANCH` between branches
no longer trips the single-branch-clone limitation that bit us earlier.

The branch is overridable per-pod via the existing `CFP_DATA_BRANCH` env
var — overlays can point a debug deployment at `fixture` or
`legacy-import` without touching the base.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@themightychris themightychris merged commit d860590 into main May 19, 2026
1 check passed
@themightychris themightychris deleted the chore/sandbox-publish-branch branch May 19, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ops: push legacy-import to codeforphilly-data and merge into main

1 participant