feat: display retained Agent Time usage - #28742
Conversation
Docs previewCheck off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 89ded49a9e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
Documentation CheckUpdates Needed
Note The API reference ( Automated review via Coder Agents |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0cd53ebdd0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
closes CODAGT-960
Summary
Display retained Coder Agent Time in the Coder Agents deployment settings page using the existing design from #28489.
Problem
The previous design sourced the displayed total from entitlement usage reporting and was stacked on #28488. That value can lag retained chat data and couples the card to an unrelated API-boundary change.
Fix
Add a deployment-admin endpoint that sums retained
chat_messages.runtime_msover the licensed usage period, or all retained history for Community deployments. Wire the Usage card to that endpoint while continuing to use entitlement metadata for allocation and concurrent-agent enforcement. This does not add a migration or change the existing usage-event publisher.Refs #28489