Skip to content

Remove stray console.log and dead test:live placeholder#2679

Open
curtisman wants to merge 2 commits into
microsoft:mainfrom
curtisman:clean2
Open

Remove stray console.log and dead test:live placeholder#2679
curtisman wants to merge 2 commits into
microsoft:mainfrom
curtisman:clean2

Conversation

@curtisman

Copy link
Copy Markdown
Member

Two small cleanups.

What

1. Drop a stray console.log in cache validation.
getValidatedMatches in matchRequest.ts logs [Cache Validation Success] Wildcard match validated and accepted to the console every time a wildcard match is accepted. The adjacent debugConstValidation call already reports the same event on the debug channel, so the console.log is just noise (and it bypasses the debug gating).

2. Remove a dead test:live placeholder in packages/config.
ts/packages/config/package.json had:

"test:live": "echo \"no live tests in phase 1\""

It served no purpose - the package has no live tests - and it made recursive pnpm run test:live output noisier for no benefit. Dropping it lets pnpm skip the package cleanly.

Files touched

  • ts/packages/dispatcher/dispatcher/src/translation/matchRequest.ts - remove one console.log.
  • ts/packages/config/package.json - remove the test:live script.

- matchRequest.ts: drop the '[Cache Validation Success] Wildcard match validated and accepted' console.log. The nearby debugConstValidation call already covers this path.

- config/package.json: remove the 'test:live' script whose body is just 'echo "no live tests in phase 1"'. It served no purpose and made 'npm run test:live -ws' noisier.
@curtisman curtisman requested a review from robgruen July 15, 2026 04:09
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.

2 participants