Skip to content

[Calls] Separate class search, setup and snapshot timing - #532

Merged
CaelmBleidd merged 3 commits into
mainfrom
caelmbleidd/raw-analysis-phase-accounting
Oct 16, 2026
Merged

CaelmBleidd merged 3 commits into
mainfrom
caelmbleidd/raw-analysis-phase-accounting

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

Raw class diagnostics previously reported setup plus search as analysisElapsedMillis, counted that sum against the search budget, and omitted the cost of draining saved states. Record search at the machine loop observer boundary, report setup and drain separately, and expose snapshot time within each phase plus journal finalization. The live stage becomes DRAIN_REMAINING after search stops.

analysisElapsedMillis remains the setup+search wall time for compatibility. budgetOverrunMillis now refers to search only; timingSchemaVersion=1 identifies the new accounting. Snapshot timings overlap their respective phases and must not be added to the totals. No search, stop, or journal durability policy changes.

Validation: 13 focused Calls tests passed (startup smoke and raw snapshot store), no skips/failures; strict Calls detektMain/detektTest and diff check passed. Broad suites remain for CI/final integration.

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/raw-analysis-phase-accounting branch from 4ee4736 to 8634744 Compare October 16, 2026 13:16
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/raw-analysis-phase-accounting branch from 926369a to dd10892 Compare October 16, 2026 15:39
@CaelmBleidd
CaelmBleidd merged commit 00e1313 into main Oct 16, 2026
5 of 6 checks passed
@CaelmBleidd
CaelmBleidd deleted the caelmbleidd/raw-analysis-phase-accounting branch October 16, 2026 15:39
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.

1 participant