Repository navigation
Conversation
kikashy
left a comment
There was a problem hiding this comment.
Thank you for this. Checked on the branch at 4434150:
gofmt -l internal/prints nothing;go vet ./internal/runner/is clean.TestSubmitRunIdempotencyKeyVisibleASCIIBoundariespasses with no Runtime binary configured, as the issue intended.- Each of the four mutations #71 names, applied one at a time to
internal/runner/http.go, fails exactly the row that should catch it:> 129fails "129 characters";c < 32fails "space";c > 127fails "DEL";< 0fails "empty". Every other row still passes under each mutation. - The ten rows match the issue's edges; nothing outside #71's scope is touched; both commits carry a sign-off whose email matches the author.
One change before merge. The new function was inserted between an existing comment and the function that comment describes: lines 283–284 of events_admission_test.go ("The store-wide route for a job serves what the job's route does…") now sit above your test, and TestTheStoreWideRouteForAJobHasItsReleasesEntries has lost its comment. Move your function so that comment and its function stay together (above the comment, or after that function), push, and I will merge once CI is green.
|
One more thing to fold into the same push: on both commits the |
|
Checking in: CI is green on all three jobs, and two small things stand between this and the merge, the test moved so the displaced comment stays with its function, and the author name matched to the sign-off name on both commits (the rebase above). Both fit in one push. If anything is unclear, ask here. |
|
Thank you for this contribution. Here is the maintainers' review record, as every change here gets one. ReviewReviewer: OpenAI Codex, Prompt (verbatim)Complete output (verbatim,
|
| # | Severity | Finding | Disposition |
|---|---|---|---|
| 1 | LOW | The pre-existing comment "The store-wide route for a job…" now sits above the new test instead of the test it describes. | Accept, optional before merge: if you have a moment, move the new test above that comment (or the comment back beside its test); otherwise the maintainers tidy it at merge. |
Mergeable at 4434150: the test reaches the real route through the mux, all ten subtests pass on the head and on a scratch merge of main, the mutant widening the limit to 129 is caught, nothing starts a program or a Runtime, DCO is in order. The branch is behind main by a few weeks and merges clean; the maintainers rebase it at merge. Parked for the maintainer's word.
Signed-off-by: Harsh Tripathi <tripathiharshkumar678@gmail.com>
Signed-off-by: Harsh Tripathi <tripathiharshkumar678@gmail.com>
4434150 to
376b07a
Compare
|
Thank you for this. One thing blocks the merge: the DCO check reports both commits as incorrectly signed off. Each commit's Because I updated the branch, fetch it first so your local copy matches, then rewrite the two commits: That sets the author to the signed name, keeps every change as it is, and re-runs the check. If you would rather keep the author name, change the sign-off instead: after |
|
A reminder, with a date: the sign-off fix in the note above is the only thing between this and a merge. If the branch is updated by Wednesday 2026-10-21, it merges the same day. If not, I will carry the change in a maintainer pull request that credits you as its co-author, so the test lands either way. Your judgment-pack-spec#143 has the same sign-off fix pending. |
|
Carried in #168 (merged as dbfbf93), which credits you as co-author: your test is in |
Closes #71.
Add a table-driven test for the
POST /v1/jobs/{job}/runsIdempotency-Key rule. Valid boundary values reach the unknown-job lookup (404); invalid values are rejected first (400). Cases cover lengths 1, 128, and 129, the!and~visible-ASCII endpoints, empty input, a space, a control byte, DEL, and a non-ASCII letter. The test uses the journal store and does not invoke the Runtime.Validation: reviewed the request path and table expectations against the handler. I could not run
go test,go vet, formatting checks, or the four requested mutation runs because Go is not installed here. The repository CI runs the Go test suite with pinned Runtime/Gateway binaries after its first-time contributor workflow approval. Both commits include DCO sign-off.AI assistance: OpenAI Codex assisted with the test implementation and review.