Skip to content

fix(history): show job cost from tickets - #65

Merged
peacenode merged 4 commits into
mainfrom
feat/cost-history
Sep 9, 2026
Merged

fix(history): show job cost from tickets#65
peacenode merged 4 commits into
mainfrom
feat/cost-history

Conversation

@eliteprox

@eliteprox eliteprox commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Home History joins scoped signed-ticket costs onto saved runs by gateway request ID. Unmatched tickets do not create extra execution rows. Home explicitly requests correlated tickets, while existing billing-history consumers retain their filtering behavior.

Home and admin detail drawers display persisted billing receipts. Home prefers the matching fetched detail so a saved receipt still supplies its cost when the billing service is unavailable.

Validation

  • Tests: 397 passed; 49 environment-dependent tests skipped.
  • Console tests: 141 passed.
  • Lint, production build, and typecheck passed on the combined current-main candidate.
  • Regression coverage: matching tickets, no duplicate history rows, cross-owner ticket filtering, legacy pagination, and persisted drawer cost during billing failure.

…and improving data retrieval in RunsPreview and CallsSection components. Added unit tests for run activity functions to ensure accurate fee display and behavior. Refactored runToActivity to accommodate fee data from events.
@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
console Canceled Canceled Sep 9, 2026 2:56pm UTC

Request Review

@eliteprox eliteprox changed the title Show job cost on History from PymtHouse tickets Show job cost on History from tickets Sep 8, 2026
@eliteprox eliteprox changed the title Show job cost on History from tickets fix(history): show job cost on History from tickets Sep 8, 2026
@eliteprox eliteprox changed the title fix(history): show job cost on History from tickets fix(history): show job cost from tickets Sep 8, 2026
@peacenode
peacenode merged commit adae035 into main Sep 9, 2026
4 of 5 checks passed
@peacenode
peacenode deleted the feat/cost-history branch September 9, 2026 14:59
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.

3 participants