Repository navigation
chore(audit): keep only the pricing refresh log - #1472
Merged
Merged
Conversation
Contributor
|
Triage: Pass No changes needed from you. A maintainer will review this pull request. |
TheGreatAxios
commented
Oct 17, 2026
TheGreatAxios
left a comment
Collaborator
Author
There was a problem hiding this comment.
Review · Request changes
Five nits in one diff: pricing debug log, OTEL env note, knip evals glob, ephemeral-nudge trim, and an isomorphic-git version comment. Triage already failed this for mixing unrelated changes.
Findings
src/session/optimized-context-store.ts:1921— the comment now says arrayremovearrived in isomorphic-git 1.44.2. Upstream v1.43.0 is the release that accepted an array of filepaths. 1.44.2 is only whatbun.lockinstalls. This replaces a correct floor with a wrong one.src/agent/director-core.ts:32—text.trim()drops the leading newlines on every open-task, declined, and workflow-stall nudge. Nothing asserts that text. The comment’s cached-literal claim does not match the cache breakpoint, which sits before ephemeral turns.
Notes
docs/PERFTRACE.md:77restates the resourceAttributes bullet above it, andotel-config.ts:299says it again.- The pricing debug line and its test are fine. The knip evals glob is a separate change.
TheGreatAxios
commented
Oct 17, 2026
TheGreatAxios
left a comment
Collaborator
Author
There was a problem hiding this comment.
Review · Request changes
Five nits in one diff: pricing debug log, OTEL env note, knip evals glob, ephemeral-nudge trim, and an isomorphic-git version comment. Triage already failed this for mixing unrelated changes.
Findings
src/session/optimized-context-store.ts:1921— the comment now says arrayremovearrived in isomorphic-git 1.44.2. Upstream v1.43.0 is the release that accepted an array of filepaths. 1.44.2 is only whatbun.lockinstalls. This replaces a correct floor with a wrong one.src/agent/director-core.ts:32—text.trim()drops the leading newlines on every open-task, declined, and workflow-stall nudge. Nothing asserts that text. The comment’s cached-literal claim does not match the cache breakpoint, which sits before ephemeral turns.
Notes
docs/PERFTRACE.md:77restates the resourceAttributes bullet above it, andotel-config.ts:299says it again.- The pricing debug line and its test are fine. The knip evals glob is a separate change.
TheGreatAxios
commented
Oct 17, 2026
TheGreatAxios
left a comment
Collaborator
Author
There was a problem hiding this comment.
Review · Approve
A failed pricing refresh logs once and still returns the cache. The diff is only that log and its test.
No findings.
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.
Logs a single debug line when a pricing refresh fails and keeps the stale cache.
Part of CL-10759