fix(selfhost): regenerate stale env-var reference line numbers - #3181
Conversation
apps/gittensory-ui/src/lib/selfhost-env-reference.ts drifted again after #3058 (AI provider fallback chains) shifted line numbers in src/selfhost/ai.ts without regenerating the reference, breaking npm run selfhost:env-reference:check on a clean main checkout. Pure regeneration via npm run selfhost:env-reference, no manual edits.
|
Superagent didn't find any vulnerabilities or security issues in this PR. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
gittensory-ui | 437162e | Commit Preview URL Branch Preview URL |
Jul 04 2026, 07:17 PM |
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-07-04 19:18:27 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 1 non-blocking
Concerns raised — review before merging
Review context
Contributor next steps
Signal definitions
🟩 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 Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
Summary
apps/gittensory-ui/src/lib/selfhost-env-reference.ts(generated byscripts/gen-selfhost-env-reference.mjs) drifted stale again after #3058 ("AI provider fallback chains") shifted line numbers insrc/selfhost/ai.tswithout regenerating the reference.npm run selfhost:env-reference:checknow fails on a cleanmaincheckout.npm run selfhost:env-reference), no manual edits — same fix pattern as an earlier occurrence today (docs(gittensory-ui): fix stale website docs and add a CI docs-drift check #3059), now recurring since a different PR touched the same line-number-sensitive source files.Scope
CONTRIBUTING.md.npm run test:ciinspection.Validation
git diff --checknpm run test:ci— full run, exit 0, 8653 passed / 7 skipped across 431 filesnpm run selfhost:env-reference:check— now passesnpm audit --audit-level=moderate— 0 vulnerabilitiesSafety
UI Evidence
N/A — a generated reference table's line-number annotations, no visual/UI change.
Notes
This is the second time this exact drift has recurred today, from two different PRs touching
src/selfhost/**. Worth considering whetherselfhost:env-reference:checkshould be a required branch-protection status check on its own (separate from the aggregatevalidate-codejob) so it's harder for a merge to silently reintroduce staleness — noting this for awareness, not proposing it as part of this PR.