Skip to content

feat(tg): write TG_METADATA_DB_USER/PASSWORD into the compose file - #98

Closed
rboni-dk wants to merge 1 commit into
mainfrom
feat/TG-1309-metadata-db-creds
Closed

rboni-dk wants to merge 1 commit into
mainfrom
feat/TG-1309-metadata-db-creds

Conversation

@rboni-dk

@rboni-dk rboni-dk commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

…G-1309)

TestGen's app-side settings are dropping the silent fallback from
TG_METADATA_DB_USER/PASSWORD to TESTGEN_USERNAME/PASSWORD (hard cutover,
no default). The installer now writes TG_METADATA_DB_USER/PASSWORD
explicitly on fresh installs, and backfills it into existing compose
files on upgrade, both as copies of the bootstrap TESTGEN_USERNAME/
PASSWORD account (no new Postgres role is created).

The upgrade backfill validates the bootstrap credentials are actually
present before writing anything, and only inserts whichever half
(user/password) is actually missing, to avoid corrupting a hand-edited
or partially-migrated compose file.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@rboni-dk

Copy link
Copy Markdown
Contributor Author

Superseded by #99 — closing to fix an internal reference that leaked into this PR's title/branch/description.

@rboni-dk rboni-dk closed this Sep 18, 2026
@rboni-dk
rboni-dk deleted the feat/TG-1309-metadata-db-creds branch September 18, 2026 22:05
@rboni-dk rboni-dk changed the title feat(tg): write TG_METADATA_DB_USER/PASSWORD into the compose file (TG-1309) feat(tg): write TG_METADATA_DB_USER/PASSWORD into the compose file Sep 18, 2026
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