fix: support Apple container 1.0.0 inspect JSON - #356
Conversation
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
|
Codex review: passed. Reviewed June 15, 2026, 12:45 AM ET / 04:45 UTC. Summary Reproducibility: yes. Current main unmarshals apple-container status into a Go string and only reads top-level networks, so the supplied Apple container 1.0.0 object-status JSON fails before IP discovery. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Merge the provider-local parser and regression tests once exact-head checks and maintainer review are satisfied, then let the PR close #354. Do we have a high-confidence way to reproduce the issue? Yes. Current main unmarshals apple-container status into a Go string and only reads top-level networks, so the supplied Apple container 1.0.0 object-status JSON fails before IP discovery. Is this the best way to solve the issue? Yes. The PR uses a provider-local compatibility decoder and helper changes, preserving the older JSON shape without changing Crabbox core or provider architecture. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 569f76e5068a. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
🦞👀 Source: I left the PR open for the remaining gate instead of bypassing it. Automerge progress:
|
|
Landed in 10dc3de. Verification:
Maintainer changelog credit added in 4c91ede5. Caveat: no live Apple container 1.0 smoke was run; proof is the reporter's runtime JSON/failure, regression coverage, local validation, and green CI. |
Summary
statusis either a string or an object withstatenetworks[]andstatus.networks[]while preserving CIDR strippingFixes #354
Validation
ClawSweeper 🐠 replacement reef notes:
apple-containerparsing for Applecontainer1.0.0 JSON #354.; Use a closing reference in the PR body: Fixes Fixapple-containerparsing for Applecontainer1.0.0 JSON #354.; No contributor implementation PR is being replaced; feat: add apple-container local development provider #192 is only historical context for the existing provider.fish notes: reasoning high; reviewed against 54b08c5.