Repository navigation
feat(cli): verfix show --timeline — interleaved steps/console/network view - #78
Merged
Merged
Conversation
Diagnosing a failure meant cross-referencing step order against separate console/network logs by hand. --timeline merges all three into one time-sorted view via a small pure buildTimeline() function (cli/src/timeline.ts) so a planned console-error-correlation analyzer can reuse it. --last windows to seconds before the run's final event; --filter composes the same way it does for --console/--network today.
Closed
7 tasks done
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.
Closes #56.
Diagnosing a failure meant cross-referencing step order against separate console/network logs by hand (field review #4 / #63).
buildTimeline()incli/src/timeline.tsmerges step events, console lines, and network requests into one time-sorted{ t, kind, ...record }array — reusable by the planned console-error-correlation analyzer (feat(workers): prior-console-errors analyzer — correlate earlier console errors with a later failure #60). Unparsable timestamps sort last rather than being dropped.verfix show <id> --timeline [--last <seconds>] [--filter <pattern>] [-o json|pretty]: newest run when no id,artifact_not_foundJSON error path, pure-JSON stdout — all mirroring--console/--networkconventions.cli/test/timeline.test.ts(7 cases: merge/sort, windowing, per-kind filter matching, case-insensitivity, timestamp edge cases), wired intonpm test.--console/--networkdocs.Verified: cli + workers typecheck clean, full cli suite green (incl. local-run e2e),
json-purity.shgreen, manual e2e: real run thenshow --timelineproduced a sorted 14-event interleaved array;--last/--filter/missing-run paths exercised.