Skip to content

fix(kernel): preserve goal not-found status - #7527

Merged
houko merged 3 commits into
mainfrom
fix/kernel-goal-update-errors
Aug 15, 2026
Merged

houko merged 3 commits into
mainfrom
fix/kernel-goal-update-errors

Conversation

@houko

@houko houko commented Aug 15, 2026 •

Copy link
Copy Markdown
Contributor

Changes\n\n- return ResourceNotFound when the goal store is absent or the requested goal ID is missing\n- keep malformed goal storage as an Internal error\n- preserve typed not-found errors across the structured transaction boundary\n- add focused coverage for all three error paths\n- add the required changelog fragment\n\n## Verification\n\n- CARGO_TARGET_DIR=/Volumes/Lexar/.cargo-targets/pr7527-final cargo test -p librefang-kernel --lib goal_control::tests (4 passed)\n- CARGO_TARGET_DIR=/Volumes/Lexar/.cargo-targets/pr7527-final cargo clippy -p librefang-kernel --lib -- -D warnings\n- cargo fmt --all -- --check\n- git diff --check\n- python3 scripts/check-changelog-attribution.py\n- python3 scripts/check-changelog-attribution.py --all-unreleased\n\n## Out of scope\n\n- goal payload validation is unchanged\n- active-goal listing behavior is unchanged\n- API serialization of KernelOpError is unchanged

@github-actions github-actions Bot added size/M 50-249 lines changed area/kernel Core kernel (scheduling, RBAC, workflows) labels Aug 15, 2026
@houko
houko enabled auto-merge (squash) August 15, 2026 18:33
@houko
houko merged commit 008391c into main Aug 15, 2026
40 checks passed
@houko
houko deleted the fix/kernel-goal-update-errors branch August 15, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/kernel Core kernel (scheduling, RBAC, workflows) size/M 50-249 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant