feat(config)!: Phase 6 - full-cutover rename internal GITTENSORY_* constants to LOOPOVER_* - #5750
Conversation
…nstants to LOOPOVER_* Phase 6 of the gittensory -> loopover rebrand epic (#5705): renames every GITTENSORY_*-prefixed constant and env var identifier, plus the handful of remaining camelCase identifiers Phase 4's broader sweep hadn't already absorbed. - ~58 GITTENSORY_* env var constants renamed to LOOPOVER_* across source, wrangler.jsonc, .env.example/.env.selfhost.example, GitHub Actions workflows, deployment shell scripts (a file extension the earlier sweeps never covered), and migration-file comments. GITTENSORY_LEGACY_* (the pre-rename check-run-name constants) and GITTENSORY_EXPERIMENTAL_GITTENSOR's trailing "GITTENSOR" (the Bittensor subnet, not this rebrand's target) deliberately preserved. - Regenerated worker-configuration.d.ts (npm run cf-typegen) and apps/gittensory-ui/src/lib/selfhost-env-reference.ts (npm run selfhost:env-reference) rather than hand-editing the generated output. - A handful of remaining camelCase identifiers Phase 4's blanket sweep didn't reach: gittensoryFooter, the browser-extension global namespace keys (__gittensoryMinerOpportunityBadge and friends), and DOM dataset property names. Reverted 15 lines in .env.example/.env.selfhost.example that my own sweep initially over-renamed: "# GITTENSORY_X= # no longer read (removed by #4777)" lines are deliberate operator-migration breadcrumbs documenting an EARLIER, already-completed retirement (old gittensory_-prefixed vars replaced by loopover_-prefixed ones under #4777) -- renaming the "old" side of that breadcrumb to match the "new" side it's contrasted against would have made both lines identical and the comment meaningless. Advances #5705 BREAKING CHANGE: every GITTENSORY_* environment variable is now LOOPOVER_*. No dual-read/alias, per the epic's full-cutover mandate. Operators must rename these in their .env / secrets before deploying this change.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5750 +/- ##
==========================================
+ Coverage 86.18% 95.07% +8.88%
==========================================
Files 581 581
Lines 46181 46181
Branches 14811 14811
==========================================
+ Hits 39802 43905 +4103
+ Misses 4967 1516 -3451
+ Partials 1412 760 -652
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ LoopOver review result - manual review recommendedReview updated: 2026-07-14 11:25:38 UTC
⏸️ Suggested Action - Manual Review Review summary Nits — 5 non-blocking
Concerns raised — review before merging
📋 Copy for AI agents — paste into your coding agent
Review context
Contributor next steps
Signal definitions
[BETA] Chat with GittensoryAsk Gittensory a question about this PR directly in a comment — grounded only in the same cached, public-safe facts shown above, never a new claim.
Full command reference: https://gittensory.aethereal.dev/docs/gittensory-commands Visual previewClick any thumbnail to open the full-size screenshot. Before = production · After = this PR's preview deploy. 🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by LoopOver, a quiet PR intelligence layer for OSS maintainers.
|
… remaining camelCase identifiers - 95 files: JSDoc/comment references to the config filename still said .gittensory.yml throughout src/env.d.ts, src/types.ts, and elsewhere, even though the actual file was already renamed to .loopover.yml by an earlier (pre-epic) migration. Purely cosmetic to a reader who trusts the code, but actively wrong -- pointed at a file that no longer exists. - Finished 5 camelCase identifiers (gittensoryFooter, gittensoryMcpPackageJson, gittensoryMinerOpportunityBadge, gittensoryPings, gittensoryPrContext) that an earlier commit in this same phase found but never actually renamed -- the rename command silently no-op'd (BSD sed's `sed 's/\bfoo\b/bar/'` does not support \b word-boundary the way GNU sed/perl do), redone with perl. Advances #5705
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Summary
Phase 6 of the gittensory -> loopover rebrand epic (#5705): renames every
GITTENSORY_*-prefixed constant and env var identifier, plus the handful of remaining camelCase identifiers Phase 4's broader sweep hadn't already absorbed.GITTENSORY_*env var constants renamed toLOOPOVER_*across source,wrangler.jsonc,.env.example/.env.selfhost.example, GitHub Actions workflows, deployment shell scripts (a file extension the earlier sweeps never covered), and migration-file comments.GITTENSORY_LEGACY_*(the pre-rename check-run-name constants) andGITTENSORY_EXPERIMENTAL_GITTENSOR's trailing "GITTENSOR" (the Bittensor subnet, not this rebrand's target) deliberately preserved.worker-configuration.d.ts(npm run cf-typegen) andapps/loopover-ui/src/lib/selfhost-env-reference.ts(npm run selfhost:env-reference) rather than hand-editing the generated output.gittensoryFooter, the browser-extension global namespace keys (__gittensoryMinerOpportunityBadgeand friends), and DOM dataset property names.Reverted 15 lines in
.env.example/.env.selfhost.examplethat my own sweep initially over-renamed:# GITTENSORY_X= # no longer read (removed by #4777)lines are deliberate operator-migration breadcrumbs documenting an EARLIER, already-completed retirement (oldgittensory_-prefixed vars replaced byloopover_-prefixed ones under #4777) — renaming the "old" side of that breadcrumb to match the "new" side it's contrasted against would have made both lines identical and the comment meaningless.Advances #5705
BREAKING CHANGE: every
GITTENSORY_*environment variable is nowLOOPOVER_*. No dual-read/alias, per the epic's full-cutover mandate. Operators must rename these in their.env/ secrets before deploying this change.Test plan
npx vitest run— 835 passed | 2 skipped, 0 failednpm run docs:drift-checknpm run manifest:drift-checknpx tsx scripts/write-ui-openapi.ts --checknpm run typecheck(afternpm --workspace @loopover/engine run build)npm run cf-typegen/npm run selfhost:env-reference(both regenerated with zero diff, confirming consistency)