Repository navigation
test(grok): align golden expectations with native safety - #1019
Conversation
Preserve the strict catalog/readback behavior introduced by #995. Use the canonical CI-rendered outputs for its three provider golden cases and finish the remaining gofmt alignment. Production code and all other client expectations are unchanged.
|
Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here. So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 5 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1019 +/- ##
==========================================
+ Coverage 63.45% 63.49% +0.04%
==========================================
Files 2279 2281 +2
Lines 137250 137405 +155
==========================================
+ Hits 87094 87251 +157
+ Misses 37597 37590 -7
- Partials 12559 12564 +5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Problem
The native safety changes merged in #995 left three provider golden expectations behind. The real core job 135560805023 failed because the old expectations still allowed artifact removal without a successful absence observation. The same branch also retained one gofmt alignment issue.
Changes
The JSON bytes come directly from the canonical test renderer's retained CI output. Before accepting each current payload, its recorded payload was checked byte-for-byte against the existing main golden, including escaping, root normalization and the final newline. Exactly eight Grok fields change; the other 16 client records, command arguments, production code, fixtures and safety checks stay exact.
Base:
cdcf3831ae5674ec8e9c3463dcd227cf4c65a99c. Candidate:f9a8ae52d5b09c5029d9ea04e10a80054fbe743c, treea42072f4780a6588f79b6499047841cb818f5da3.Verification
git diff --check.go test ./..., local fullmake lint,make vet,make generated-checkandmake test-core: not repeated for this generated-test-data and whitespace-only correction. The known unrelated local Codex environment refusal was not bypassed, and no blindUPDATE_GOLDENrun was used.Release Impact