Repository navigation
Spec 002 T020: the replay, a reusable check - #215
Merged
Merged
Conversation
ci/replay.ts sends T001's requests for the report's address, with T020's additions (a parameter given twice, importableOnly of a space), to today's analysis service and to pdf-export's serve, one at a time, and compares each pair: status, Content-Type, file name, and the body of anything but a PDF; the framework's 400 by its form. A listed difference holds only with the listed answer. It also checks call 4's refusals (415, 400) against T004's stub. It prints no token, identifier or body. Each check seen failing on a planted fault (seven mutations). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Spec 002 (
specs/002-analysis-report), T020, part 1 of 2: the replay of User Story 2 (SC-202) as a reusable check. The run's results and T020's tick follow in a second PR.src/compare/replay.ts: T001's request set (research R5), with T020's additions (number=7&number=abc,importableOnly=true&importableOnly=maybe,resource=UNIPROT&resource=ENSEMBL,importableOnly=%20), and the comparison of each pair of answers: status,Content-Type, file name, and the body of anything but a PDF; the framework's 400 by its form (its time apart). A listed difference (spec Assumptions: a malformed token,%2F, a flag of spaces) holds only with the listed answer; today's answer there is a difference. pdf-export's 202 is followed to its answer and counted (FR-210).ci/replay.tsruns it against two services on loopback, reading the token from a file; it prints no token, identifier or body.test/compare/replay.test.ts: the comparison, a run against made-up services, and call 4's check against the stub. Each check seen failing on a planted fault (seven mutations ofreplay.ts).Run against the development host's own services: 39 cases, 3 listed differences, none other; call 4's refusals as the stub's.
🤖 Generated with Claude Code