Add test session result drilldown#1339
Open
thebiglabasky wants to merge 1 commit into
Open
Conversation
a146be5 to
549077b
Compare
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.
Summary
Adds
checkly test-sessions get --result/-rso users can drill into a single recorded test session result with the same detail formatting used bycheckly checks get --result.Changes
GET /v1/test-sessions/:id/results/:resultId.renderCommandHints()formatter for aligned command hints and uses it across result drilldowns plus existing list/detail navigation hint formatters.Backend dependency
The
/test-sessions/<id>/results/<result-id>endpoint has been deployed, so this CLI PR is not blocked on an unmerged backend change.Validation
pnpm exec vitest --run ./src/formatters/__tests__/check-result-detail.spec.ts ./src/formatters/__tests__/render.spec.ts ./src/formatters/__tests__/test-sessions.spec.ts ./src/commands/__tests__/test-sessions-get.spec.ts ./src/rest/__tests__/test-sessions.spec.tspnpm exec eslint src/formatters/render.ts src/formatters/check-result-detail.ts src/formatters/checks.ts src/formatters/test-sessions.ts src/formatters/alert-channels.ts src/formatters/account-members.ts src/formatters/status-pages.ts src/formatters/batch-stats.ts src/commands/checks/get.tspnpm --filter checkly exec tsc --noEmit --pretty falseCHECKLY_SKIP_AUTH=1 ./bin/run test-sessions get --helpgit diff --check