fix(runway): ISS-010 stop logging queue credentials - #676
Draft
sbalabanov wants to merge 1 commit into
Draft
Conversation
Summary:
Intent:
- Prevent QUEUE_MYSQL_DSN credentials and query parameters from appearing in Runway startup logs.
- Preserve a useful queue-initialization signal without rendering connection configuration.
Changes:
- Log the queue backend instead of the raw DSN.
- Add observer-based regression coverage with sentinel username, password, and query values.
Reproduction:
- Before: `QUEUE_MYSQL_DSN=user:super-secret@tcp(mysql:3306)/submitqueue?parseTime=true` produced `initialized queue {"dsn":"user:super-secret@tcp(mysql:3306)/submitqueue?parseTime=true"}`.
- After: the same configuration produces `initialized queue {"backend":"mysql"}` with no DSN components.
---
<sub>Generated by the 🪄 [pr-create](https://sg.uberinternal.com/code.uber.internal/uber-code/devexp-agent-marketplace/-/blob/claude-code/plugins/dev/uber-dev/skills/pr-create/SKILL.md) skill in devexp-agent-marketplace</sub>
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Intent
QUEUE_MYSQL_DSNcredentials and query parameters from appearing in Runway startup logs.Changes
Reproduction
Before the fix, starting Runway with
QUEUE_MYSQL_DSN=user:super-secret@tcp(mysql:3306)/submitqueue?parseTime=trueproducedinitialized queue {"dsn":"user:super-secret@tcp(mysql:3306)/submitqueue?parseTime=true"}.After the fix, the same configuration produces
initialized queue {"backend":"mysql"}with no DSN components.Generated by the 🪄 pr-create skill in devexp-agent-marketplace