Repository navigation
test(ci): scan the gamut mapper for iterative solvers, which is the point (#4335) - #4336
Conversation
…oint test_no_iterative_solver_per_pixel.py scanned five stage files. Its companion test_no_rgb8_intermediate.py lists eight for the same per-pixel path, and the three missing here were pipeline.cpp.hpp, gamut_map.cpp.hpp and white_allocation.cpp.hpp. gamut_map.cpp.hpp is the one that matters. processPixelQ16 calls mapAndSolveDrivesQ16(pipeline.gamut, ...) per pixel, and gamut mapping is the stage A3 names when it says iterative solves never run per-pixel. The guard covered four stages where nobody would put a solver and skipped the one where someone would. Verified rather than assumed: injecting `nnls3(nullptr, nullptr)` into gamut_map.cpp.hpp leaves the old list green at 20 subtests, and fails the new one with SUBFAILED(stage='gamut_map.cpp.hpp', symbol='nnls3'). All three files are clean today, so this stays green -- 32 subtests rather than 20 -- and closes the hole instead of reporting one. Both lists now carry a note to keep them in step. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe per-pixel iterative-solver guard now scans eight streaming stages instead of five. It includes ChangesPer-pixel solver guard
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~5 minutes Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The CI guard expansion covers the requested per-pixel stages and introduces no actionable merge risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Fixes #4335.
The hole
test_no_iterative_solver_per_pixel.pyexists so that "a future edit that wires one in fails here rather than in a frame-rate report on someone's bench". It scanned five stage files; its companiontest_no_rgb8_intermediate.pylists eight for the same per-pixel path.The three missing were
pipeline.cpp.hpp,gamut_map.cpp.hppandwhite_allocation.cpp.hpp.gamut_map.cpp.hppis the one that matters.processPixelQ16calls it per pixel:and gamut mapping is the stage A3 is about:
So the guard covered four stages where nobody would put a solver, and skipped the one where someone would.
Measured, not assumed
2 passed, 20 subtests passed— blindSUBFAILED(stage='gamut_map.cpp.hpp', symbol='nnls3')All three files are clean today, so the suite stays green — 32 subtests instead of 20 — and this closes the hole rather than reporting one.
Relationship to #4330
Found while narrowing the sibling guard's stated scope. That one over-claimed what it covered; this one under-covered what it claimed — opposite failures in a matched pair of files. Both now carry a note to keep the two lists in step, since the gap was invisible until they were read side by side.
bash lintclean. Test-only; no source changes.🤖 Generated with Claude Code
https://claude.ai/code/session_01MLhWkMfzLjrnLTDMBE6Fj9
Summary by CodeRabbit