Repository navigation
fix(artifacts): check signed BC4 and BC5 DDS payload extents - #15208
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Medium impact] The PR appears safe to merge. SummaryAdds legacy
No actionable correctness or security issues were found. Tests were inspected but not run. No superseding change appeared in the available local history; live GitHub status and discussion could not be checked because authentication was unavailable. Reviews (1) · Last reviewed commit: "fix(artifacts): verify legacy signed BC4..." · Reviewed by Greptile |
|
Thanks, merged! Signed BC4/BC5 payload sizes now use the existing extent checks. All 54 selected tests and CI passed. |
* commit '81657ccedea257a7138c11908a4681dc5986eca3': fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195)
…5210-evidence-completion * commit 'acce96912d7bf048f9a5499ecd960c370062306f': fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972)
…5219-evidence-inspection * commit 'd0694fb5b7d8426d7c776f6ecc904f8e03839976': fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203)
…180-warc-archive * commit '5f15fdf457a890a149cbe574cce96e32422c1904': (206 commits) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) ...
…186-evtx-archive * commit '5f15fdf457a890a149cbe574cce96e32422c1904': (89 commits) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) fix(artifacts): classify member presence from the absent side coverage (morluto#15200) fix(tar): account for retained pax owner names (morluto#15195) fix(conformance): validate paired fixture count expectations (morluto#14125) ...
…4075-env-argv0 * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (738 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
…0374-skill-guidance * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (3508 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
…063-native-alias-cancellation * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (881 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
…279-mcp-config-validation * commit 'aeea7c25ede5c5e6b16198e60c0eb0475ff6f5d8': (2392 commits) fix(hopper): clarify publisher verification failures fix(analysis-view): keep PTX text pages on Unicode boundaries (morluto#15222) feat(mcp): advertise each tool's family in tools/list _meta (morluto#7154) perf(evidence): inspect retained records without building a bundle (morluto#15219) fix(process): report denied inspection as typed cleanup failures (morluto#9261) perf(mcp): complete retained Evidence without rebuilding bundles (morluto#15210) fix(agentenv): stop dry-run tarball reads on cancellation (morluto#15205) perf(png): reuse scanline storage in screenshot comparisons (morluto#15215) fix(javascript): respect Node HTTP path validation (morluto#9684) fix(windows): reject native addons with unusable delay-import tables (morluto#15216) feat(artifacts): inventory Android super image metadata (morluto#14928) fix(paths): reject dotted console device names for portability (morluto#15220) fix(analysis-view): return continuation for GPU pages at the byte limit (morluto#15206) fix(screenshots): report the PNG comparison memory allowance (morluto#15217) fix(process): compare Windows server paths by native realpath (morluto#15044) fix(firmware): recheck decoded member source on completion (morluto#15211) fix(artifacts): check signed BC4 and BC5 DDS payload extents (morluto#15208) fix(artifacts): bound embedded GLB images by the declared buffer length (morluto#15207) perf(ci): confirm test-only macOS selection on Linux (morluto#15203) fix(paths): reject Windows console device names (morluto#14972) ...
Summary
Legacy BC4S and BC5S textures now use the same DDS block extent calculation as the already recognized unsigned formats.
Problem and expected behavior
For a 4×4 BC4S texture with 7 bytes of payload, the base returned expected_payload_bytes = null and extent_check = consistent. BC5S did the same with 15 bytes. FFmpeg produced a frame from each complete 8- or 16-byte block and rejected the one-byte-short files. The fixed inventory reports the expected size and whether the data is short or has trailing bytes.
Contract and boundary impact
The legacy FourCC block-size table supplies 8 bytes for BC4S and 16 bytes for BC5S to the existing mip, face, depth and layer calculation. Payload exposure, hashing, DX10 format handling and unknown-format behavior keep their existing paths. This is a correction to the existing read-only file inventory used by the CLI and MCP. The relevant existing implementations were checked in #14248 and #15150 and on the latest main. The contribution adds no provider or execution capability.
What should REA do?
Evidence and regression coverage
Validation performed
Compatibility, safety, and release
Existing command, tool and metadata schemas are preserved. Header inventory and a software decoder were exercised on macOS. Direct3D, physical GPU rendering, other host platforms and performance were outside this run.
Author readiness
Human owner: @xu91102
Author checklist (completed by the PR author before requesting review)
type(scope): outcome.REA_runtime setting with a default, floor, and maximum, unless a fixed ceiling has a stated reason. See Adding a runtime setting.