feat(scenario): add DAG critical-path execution#172
Merged
Conversation
Rjected
force-pushed
the
dan/scenario-critical-path
branch
from
July 24, 2026 19:52
faea42a to
1177200
Compare
Rjected
marked this pull request as ready for review
July 24, 2026 20:25
Rjected
added a commit
that referenced
this pull request
Jul 24, 2026
Publishes scenario report v2 causal metrics and sampled lifecycle traces to ClickHouse on top of #172. It adds DAG identity and command-duration columns to the existing scenario tables, creates dedicated causal-edge and sampled-trace tables, and updates the migration runner to apply migration 009’s statements individually. The additive migration retains the legacy latency columns used by existing queries. Deploy migration 009 before switching scenario runners to this branch. It can roll out first because the migration-free writer from #172 remains compatible with the expanded tables.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds opt-in dependency-graph execution for multi-chain scenarios while preserving sequential specs. Ready branches execute concurrently with dependency/output ancestry validation, fragment-boundary dependencies, ordered-nonce safety, and deterministic Tempo expiring transaction identities that preserve the configured priority fee.
Scenario waits use WebSocket-assisted canonical observation with a 50 ms polling fallback, confirmation-aware receipt/log milestones, and receipt-scoped event groups. JSON report schema v2 separates command duration from protocol timing and computes per-instance critical paths and causal edges.
ClickHouse publication remains compatible with migrations through 008 by writing the existing aggregate, step, receipt-gas, and run-marker projection; v2 causal metrics and sampled traces are JSON-only in this PR.