Skip to content

Fix repository inventory RPC for inactive owners - #17

Merged
d3cker merged 2 commits into
develfrom
codex/repository-inventory-rpc-fix
Sep 17, 2026
Merged

d3cker merged 2 commits into
develfrom
codex/repository-inventory-rpc-fix

Conversation

@d3cker

@d3cker d3cker commented Sep 16, 2026

Copy link
Copy Markdown
Owner

An inventory entry without dispatcher or scheduler snapshots assigned explicit undefined properties. OpenCode validates RPC output as JSON before applying the response schema, so one inactive or missing entry broke /bot → Repositories for the entire host. Omit absent fields and cover the exact JSON round-trip constraint in the inventory regression test.

Setup tests now use an isolated XDG state directory. Previously, running validation could leave temporary fixture repositories in the operator's inventory, exposing the RPC defect during deployment.

Validation: lint, typecheck, 21 focused inventory/setup/UI tests, build, and 82 documentation links. Updated the advanced RPC reference and Unreleased notes. Workflow transitions and diagrams are unchanged: inventory remains observational and missing owners remain listed.

Targets devel. This fixes the transport failure found during live verification of the merged inventory feature.

@d3cker
d3cker merged commit 5991204 into devel Sep 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant