Skip to content

feat(usage): select inclusive custom time windows - #3905

Merged
lidge-jun merged 9 commits into
devfrom
codex/260907-d5-usage-ranges
Sep 7, 2026
Merged

feat(usage): select inclusive custom time windows#3905
lidge-jun merged 9 commits into
devfrom
codex/260907-d5-usage-ranges

Conversation

@lidge-jun

@lidge-jun lidge-jun commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Summary

Verification

  • Local test suites, typecheck, build and install: NOT RUN, explicitly prohibited by the maintainer.
  • Exact top head: fe9460372597061f572beee6c325009fef618c42. Cross-platform CI run 34120761219. PASS under the explicit per-chain acceptance policy: all 16 required jobs completed successfully: Linux 4, macOS 2, gates, API usage, storage, all keyring/npm jobs, and Docker. Excluded Windows shards/macOS control are still running and are not part of this verdict.
  • Remote gates: GUI 1787 pass / 0 fail; lint 0 errors / 0 warnings; TypeScript, privacy scan and GUI build passed.
  • Independent review: Astra-high Harvey: PASS, blockers=0 at a702adb9e4b8ceec8d3aa60d6faa6a65e9e852ac, after Santiago/Apia calendar fixes. Astra-high Bohr confirmed the later technical cache-key tuple correction; behavior is covered by fresh remote GUI and backend tests.
  • Later explicit user policy: Windows 6 shards and macOS control are excluded from per-chain acceptance and reserved for one final release-train-head verification. Their state is not represented as passing evidence for this chain.

Manual dependent chain

Layer PR Head SHA Base
D1 #3877 c35b5a6e504a4513ad59957f5c81b7db45f8bec6 dev
D2 #3902 c5fb7e3332432c6546bffa9990bce5b971653139 #3877
D3 #3903 c44c6de87389a95ab798b648659fbc0838af170b #3902
D4 #3904 5669413794ca54388782f6758171a81a2d1b361e #3903
D5 #3905 fe9460372597061f572beee6c325009fef618c42 #3904

Ordinary dependent PRs only; native stack membership checked separately, no native registration. Main task alone performs maintainer integration under MAINTAINERS.md; this is not self-approval. Before integration, refresh dev and prove expected cumulative tree equals the tested top tree. No merge performed by this lane.

Dashboard screenshot

D5 dashboard

Unmodified CI dashboard artifact, source fe9460372597061f572beee6c325009fef618c42, GUI tree d37b888016199ab7470993e24dde1c14b3296d5e. Synthetic in-memory API fixtures; desktop1440x963, interactions and screenshots inspected. Remote tests separately verify actual API/storage behavior.

Checklist

  • Scope stays focused and avoids unrelated cleanup.
  • Docs or release notes were updated when needed.
  • Security-sensitive changes were reviewed for secrets, auth, and unsafe defaults.

Maintainer integration decision (MAINTAINERS.md, dev-only admin integration): @lidge-jun integrates lane D's manual chain (#3877#3902#3903#3904#3905) into dev bottom-up. Chain-top evidence at head fe9460372: Cross-platform CI run 34120761219 — Linux test 1/4–4/4, macOS 1/2, 2/2, gates (GUI 1787/0, lint, typecheck, privacy, build), storage policy, api usage, keyring ×3, npm-global ×3, docker smoke = success; Windows shards and macos control deferred to the final release-train head by maintainer policy. Prospective merge tree of origin/dev@f4a4b468f + top = ded24302f = tested tree. Independent per-layer reviews PASS; screenshots from this run's dashboard-preview artifact. Local suites NOT RUN. Maintainer integration, not self-approval.

t and others added 9 commits September 7, 2026 21:08
…ip ci]

Expose modelCosts via the Models editor and models price/set-price CLI. Preserve sibling prices, support automatic reset, and treat explicit zero user rates as known-zero display estimates. Refs #3667.

Co-authored-by: nordz0r <6949669+nordz0r@users.noreply.github.com>
Address independent review findings on the manual price CLI; preserve HTTP-specific exit codes and project only acknowledged fields.

Co-authored-by: nordz0r <6949669+nordz0r@users.noreply.github.com>
Address exact-head GUI lint diagnosis without disabling the rule; initial loading uses initialized state and effects update only after the fetch.

Co-authored-by: nordz0r <6949669+nordz0r@users.noreply.github.com>
Exact CI gates diagnosis: keep effect request setup synchronous and update state only from registered fetch settlement callbacks; retain cancellation and identity guards.

Co-authored-by: nordz0r <6949669+nordz0r@users.noreply.github.com>
Exact gates log showed the fixture read an unrelated picker alert behind the modal. Keep all expected error text and mutation assertions.

Co-authored-by: nordz0r <6949669+nordz0r@users.noreply.github.com>
Reimplement the range slice of #2956 with exact ledger filtering, bounded cache identity and localized datetime controls. Keep #3379 open for its other dashboard controls and hourly reporting scope; offline reports are not included.

Co-authored-by: Manson2438 <183030642+Manson2438@users.noreply.github.com>
Use server civil dates for custom heatmaps and guarantee backward progress when a local day is skipped. Add Santiago and Apia timezone regressions.

Co-authored-by: Manson2438 <183030642+Manson2438@users.noreply.github.com>
Keep cache identity as technical data rather than a UI-string-shaped template. No locale or lint-rule changes.

Co-authored-by: Manson2438 <183030642+Manson2438@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • ^dev$
  • ^preview$

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Team

Run ID: 7ef089f3-e694-4772-8510-dc1bd605108a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Deterministic PR hygiene checks passed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-07T12:34:36.912280Z fe94603 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lidge-jun
lidge-jun changed the base branch from codex/260907-d4-price-editor to dev September 7, 2026 12:29
@lidge-jun
lidge-jun merged commit da707cc into dev Sep 7, 2026
39 of 47 checks passed
@lidge-jun
lidge-jun deleted the codex/260907-d5-usage-ranges branch September 7, 2026 12:30

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fe94603725

ℹ️ 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".

Comment thread gui/src/pages/Usage.tsx
Comment thread src/cli/observe.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant