Skip to content

refactor: make application configuration portable - #140

Merged
f0rr0 merged 7 commits into
nextfrom
f0rr0/portable-configuration
Sep 9, 2026
Merged

refactor: make application configuration portable#140
f0rr0 merged 7 commits into
nextfrom
f0rr0/portable-configuration

Conversation

@f0rr0

@f0rr0 f0rr0 commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Forks currently inherit personal GitHub account assumptions, metadata and service configuration. This change makes those inputs configurable while retaining the existing personal content and assets.

GitHub authors are configured once in public profile data; GITHUB_TOKENS maps their logins to credentials. Token rotation/removal no longer selects authors or prunes history. Acquisition reuses direct lookup and identity verification, with no account registry, discovery context or new identity column. A forward migration replaces seven personal account constraints and preserves existing checkpoints.

Profile metadata, structured exports, PDF links, repository discovery and timezone labels share configured sources. T3 supplies shared environment types and the Vercel preset; native Vercel public variables provide browser deployment identity without custom aliases. Vercel supplies the canonical hostname; Markdown exports reuse compiled image URLs. Builds are independent of migrations/cron, analytics is optional, and direct dependencies retain their existing versions with exact pins. GitHub native secret scanning and push protection are enabled; no additional Gitleaks CI job is introduced.

Validation: 327 tests passed locally, including disposable PostgreSQL upgrades, history-preservation checks, alternate-profile configuration and browser deployment environment checks. A focused PostgreSQL projection rerun also passed after hoisting the author-ID set. All seven shared login constraints produce SQL identical to the existing migration snapshot. Typecheck, lint, formatting and a Vercel-style production build passed; the build retains two existing filesystem-tracing warnings. The earlier redacted source scan found only the known dummy cursor-test secret.

Rollout settings are prepared: Vercel has the token object, optional analytics variables and documented Build Command; GitHub Actions has ACTIVITY_GITHUB_TOKENS, mapped to the application's GITHUB_TOKENS variable. The old token variables are retained during rollout. The PR is not merged and production database migrations/cron updates have not been applied.

@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
f0rr0-github-io Ready Ready Preview Sep 9, 2026 12:27am UTC

@f0rr0
f0rr0 marked this pull request as ready for review September 9, 2026 00:06
@f0rr0
f0rr0 merged commit d8a2371 into next Sep 9, 2026
3 checks passed
@f0rr0
f0rr0 deleted the f0rr0/portable-configuration branch September 9, 2026 00:57
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.

1 participant