Skip to content

codeSplitter: move the Artifacts namespace off codesplitters (copy every repo, rewrite the stored remotes) #823

Open

Description

@QuinnsCode

Split from #809, which moved the D1, queues, bucket, index and app name to codesplitter. The Artifacts namespace stays codesplitters (ARTIFACTS in apps/codesplitter/rustybuns.config.ts) because it can't move the same way:

  • It isn't a resource Alchemy replaces. Changing namespace only points the binding at a new, empty namespace, so every repo would vanish at once, and no deploy guard can see it.
  • Each repo's git remote names the namespace, and D1 stores those remotes (repos.remote, repos.crew_remote), so moving it means copying every repo and rewriting those rows in the same step.

What moving it would take: list the namespace's repos, git clone --mirror each and push it to the same name under codesplitter, rewrite the stored remotes, then switch the binding in one deploy. Old repos stay until the new ones are checked.

Nothing is broken: the name only shows in the Cloudflare dashboard and in the remotes.

🤖 Generated with Claude Code

Activity

  1. self-assigned this
    on Oct 14, 2026
  2. QuinnsCode commented on Oct 15, 2026

    @QuinnsCode
    OwnerAuthor

    Reopened by the closed-issue audit (#1727). PR #1654's body says it adds scripts/move-artifacts.ts and POST /api/admin/artifacts/verify, and that Artifacts' import returns 401 on private repos. The merged diff has neither, and copyPage in src/artifact-move.ts uses that same import; its test fakes import. ARTIFACTS is still bound to codesplitters (rustybuns.config.ts). To close: land the mirror copy and verify route (or swap import for a mirror push in copyPage), then a MANUAL RUN item in #609 for the move.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions