Repository navigation
fix(test): keep SwiftLint policy tests stable on release branches - #193195
Merged
Merged
Conversation
Select the intended nonrelease policy explicitly so release-named checkouts do not suppress the strict-local regression. All existing scenarios and assertions stay unchanged. Co-authored-by: RomneyDa <[email protected]>
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
Collaborator
Author
|
Merged via squash auto-merge.
|
tideclaw-bot
added a commit
that referenced
this pull request
Nov 5, 2026
Adopt the reviewed release-size exemption from #192806 while retaining correctness, complexity, configuration, and provenance checks. Include the main-first prepush context handoff from #193178 (dd327c7) and fixture isolation from #193195 (fa56528). Canonical closure: 85/85 targeted tests pass with the checksum-verified pinned Bun; tooling types, focused strict lint, format, and whitespace checks pass. Initial 83/85 failure evidence retained; no native or security waiver. Co-authored-by: RomneyDa <[email protected]>
This was referenced Nov 5, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 6, 2026
…193195) Select the intended nonrelease policy explicitly so release-named checkouts do not suppress the strict-local regression. All existing scenarios and assertions stay unchanged. Co-authored-by: RomneyDa <[email protected]>
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.
Related: #192806, #193178
What Problem This Solves
SwiftLint policy tests incorrectly fail when they run from a release-named checkout or inherit release context.
User Impact
No user-visible runtime change. Release validation can test strict local lint behavior without accidentally selecting the release size exemption.
Why This Change Was Made
Explicitly select
mainfor nonrelease fixture cases, just as release cases already select their intended release branch. The production policy, all nine scenarios, and every assertion remain unchanged. The diff is one expression (+1/-1); test line count stays 119.Evidence
dd327c741ebf1b054137d570eeac087b1b5684a8. Before the fix, the strict-local scenario returned 0 instead of the asserted 2: 1 failed, 8 passed. With the fix, all 9 passed.dd327c741ebf..697738cf629fwas attempted at P0–P2 with the complete wrapper and policy-owner context, but its configured Codex authentication was unavailable; no local helper review result is claimed. The existing hosted ClawSweeper request is retained as the fallback; no duplicate request was sent.