Repository navigation
Fix build: pass topRawSafeOutputs into mergeSafeOutputConfig - #77640
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The review identified no active issues in the safe-output configuration merge changes.
No open issues 🎉
What changed in this PR
This PR fixes the go build failure by threading the top-level raw safe-output configuration into mergeSafeOutputConfig, preserving the intended precedence for imported require-agent-success settings.
Changes:
- Passes
topRawSafeOutputsintomergeSafeOutputConfig. - Updates the helper to respect explicitly configured top-level values over imported values.
- No actionable issues identified.
| File | Description |
|---|---|
| pkg/workflow/imports.go | Threads the raw top-level safe-output configuration into the imported configuration merge logic. |
Review effort: Lite (dynamic)
Contributor
|
🎉 This pull request is included in a new release. Release: |
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.
The docs workflow (and
go build) onmainfails withpkg/workflow/imports.go:585:19: undefined: topRawSafeOutputs.#77559 added a
require-agent-successcheck inmergeSafeOutputConfigreferencingtopRawSafeOutputs. #77560 refactored the same code path and the variable was no longer in scope. This threadstopRawSafeOutputsintomergeSafeOutputConfig. Only top-level frontmatter blocks imports from enabling the gate, which is the behavior #77559 intended.Verified locally:
go build ./...,make build-wasm, targetedpkg/workflowtests, and a fullnpm run buildindocs/with an agentics checkout.