GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — fix(console): merge duplicate Go usage rows by opencode-agent[bot] · Pull Request #45503 · anomalyco/opencode Conversation
Contributor
Issue for this PRCloses #45502 Type of change
What does this PR do?Merge Go usage rows with the same model ID and resolved quota multiplier. Historical requests without multiplier metadata and newer recorded requests are separate SQL groups, but can resolve to the same rate and appear twice in the table. Sum their existing cost and quota cost before sorting and allocating percentages; preserve the estimated flag if either group is estimated. Different models and actual multiplier changes remain separate. Billing, quota enforcement, and peak/off-peak pricing are unchanged. How did you verify your code works?
Screenshots / recordingsNo JSX or styling changes. Validated the real aggregation helper with synthetic records; an authenticated browser/production-data check was not performed. Checklist
Requested by: @MrMushrooooom (Jack via Slack)
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsCombine historical and recorded usage after their quota multipliers resolve, while retaining different model IDs and rates. Preserve recorded costs and quota totals before allocating display percentages.
3 tasks done
Uh oh!
There was an error while loading. Please reload this page.
Archipel
pushed a commit
to Archipel/opencode
that referenced
this pull request
Co-authored-by: MrMushrooooom <[email protected]>
rldona
pushed a commit
to plazoleta-dev/FlupCode
that referenced
this pull request
Co-authored-by: MrMushrooooom <[email protected]>
Ichinose-Kazuki
pushed a commit
to Ichinose-Kazuki/opencode
that referenced
this pull request
Co-authored-by: MrMushrooooom <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesLabelsProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. console: Go usage breakdown shows duplicate model rowsUh oh!
There was an error while loading. Please reload this page. 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. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |