[Refactor] Canonicalize public Roomote env vars as R_* - #78
Conversation
|
No new code issues found. The latest commit finishes the
|
652b510 to
961f864
Compare
961f864 to
973ed96
Compare
|
@openmote can you bring this up to date with origin/develop? |
|
I saw the mention, but I need your GitHub account linked to Roomote before PR comments can start work here. Link it from Settings -> Linked Accounts and then mention me again. |
|
@openmote can you bring this up to date with origin/develop? |
|
I'm on it. I started a dedicated PR follow-up task for this request, and I'll keep updates here. See task |
|
Brought Resolved conflicts by keeping develop’s structure (shared app image Compose layout, Docker worker sandbox limits, effective GitHub App slug resolution) and re-applying this PR’s canonical Notable: renumbered the env-var migration to |
|
@openmote a bunch of tests are failing |
|
I'm on it. I started a dedicated PR follow-up task for this request, and I'll keep updates here. See task |
Stop resolving runtime Teams bot credentials from Microsoft sign-in vars, dual-write legacy compose aliases for upgrade compatibility, and fix related test/lint/security-contract regressions.
|
Fixed the failing CI on this branch (See task):
Pushed as |
…S templates - Update the deployment-resolved GitHub client id test to mock R_GITHUB_CLIENT_ID (stale resolution from the develop merge of #148) - Rename legacy names in .env.local.example / .env.production.example to the canonical R_* set and drop dead ROOMOTE_AUTH_TELEGRAM_* entries - Point .roomote/environments/roomote.yaml at R_APP_ENV / R_APP_URL / R_PUBLIC_URL so repo agent environments configure the renamed runtime - Fix missed APP_ENV -> R_APP_ENV in fly.toml, render.yaml, the Railway template/README, deploy/README.md, and the installer (the N-1 dual-write shim in the prod compose and upgrade-compatibility lane is untouched)
CI fix + coherence sweep (pushed 6b2410f)What was actually failingCI run 29137661385's Test job had exactly one genuinely failing test:
The Also in this push
Validation
Left for a human
|
…ars to R_* - Rename R_LINEAR_CLIENT_ID/SECRET/REDIRECT_URI/WEBHOOK_SECRET and R_TELEGRAM_BOT_TOKEN/USERNAME/WEBHOOK_SECRET across schema, consumers, compose files, PaaS templates, env examples, docs, and tests; extend the 0007 data migration with the same renames. - Rename R_AUTO_GENERATE_KEYS and R_PING_BASE_URL (operator-facing knobs). - Keep ROOMOTE_APP_DOMAIN/PREVIEW_DOMAIN/VERSION, ROOMOTE_WORKER_IMAGE_REPO, auth-bypass plumbing, and ROOMOTE_FORCE_TELEMETRY as documented exceptions. - Document the naming policy in deploy/README.md with short mirrors in SELF_HOSTING.md and the docs env reference.
Consistency pass (b51dfcd)Closed the two remaining seams so the operator-facing surface has exactly two shapes: Renamed to
|
Important
Roomote does not generally accept unsolicited community pull requests. Unless a maintainer invited this PR in an issue or discussion, it will likely be closed without review. A well-written issue is the best way to contribute.
Related issue
N/A — internal Roomote work on env-var canonicalization and CI follow-up for this branch.
Why this PR exists
What changed
Canonicalize public Roomote deployment configuration to
R_*env vars across runtime, setup catalogs, deploy files, and docs, and remove Slack/GitHub alias resolution plus Teams Microsoft-auth bot credential fallbacks at runtime.CI follow-up on this branch also:
ROOMOTE_APP_URL/ROOMOTE_PUBLIC_URL/APP_ENVin production Compose so the previous release remains bootable during upgrade expand windowR_R_SLACK_*typo and repairs the production Compose security contract checkHow it was tested
pnpm lint:fastpnpm check-types:fastpnpm knip(via pre-push)@roomote/dbteams-runtime-credentials,@roomote/typessetup-auth/source-control config, web setup-new + commsChecklist
[Fix],[Feat],[Improve],[Refactor],[Docs], or[Chore]followed by a user-facing descriptionpnpm lintandpnpm check-typespass locallypnpm changeset