Repository navigation
fix(publish): emit assessment-requirement ids in the publish manifest - #308
Merged
eddie-knight merged 3 commits intoSep 21, 2026
Merged
Conversation
Mobilize logs a suite's Evaluate error rather than returning it, and the suite's zero Result is NotRun, so a suite that failed before assessing anything let the whole run exit TestPass. Set Result to Unknown when it is still unset after a failed Evaluate, so the run exits TestFail and the suite's result in YAML/JSON/Gemara output reads Unknown. Signed-off-by: Eddie Knight <knight@linux.com>
requirement_ids in the evaluates linkage is assessment-requirement ids per grc-store-protocol/pluginspec, the same id space evaluation steps are keyed by. PublishManifest emitted control ids instead. Re-publishing a plugin writes a different evaluates record to the hub; a catalog whose controls carry no assessment requirements now fails publish. Signed-off-by: Eddie Knight <knight@linux.com>
eddie-knight
enabled auto-merge (squash)
September 17, 2026 21:13
auto-merge was automatically disabled
September 18, 2026 03:04
Pull request was closed
jmeridth
approved these changes
Sep 21, 2026
vinayada1
added a commit
to vinayada1/privateer-sdk
that referenced
this pull request
Sep 22, 2026
Resolves three collisions with upstream privateerproj#307 and privateerproj#308: - evaluation_orchestrator_test.go imports: keep both viper (this branch's environment-hint tests) and shared (upstream's exit-code assertion). - evaluation_orchestrator_test.go tail: both sides appended tests; keep both. - publish_manifest_test.go: keep this branch's "} else if" guard for the post-Fatal dereference (staticcheck SA5011) while adopting upstream's new assessment-requirement id format (P-1 -> P-1.T01). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fe4dbc48-1baa-405c-b781-cf27283a95a4 Signed-off-by: vinayada1 <vinayada1@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 requirement_ids in the evaluates linkage is assessment-requirement ids per
grc-store-protocol/pluginspec, the same id space evaluation steps are keyed
by. PublishManifest emitted control ids instead. Re-publishing a plugin
writes a different evaluates record to the hub; a catalog whose controls
carry no assessment requirements now fails publish.