Repository navigation
test: align directive-tag and apply-patch expectations with current behaviour - #185037
Merged
steipete merged 1 commit intoOct 26, 2026
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
October 26, 2026 21:17
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
steipete
enabled auto-merge (squash)
October 26, 2026 21:32
steipete
deleted the
steipete/test-align-directive-tags-apply-patch-20261026
branch
October 26, 2026 21:33
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 27, 2026
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.
What Problem This Solves
Four assertions on main still expect the messages from before #184702 and #184901, failing the directive-tag and worker runtime CI suites.
User Impact
No user-visible or production change. This maintainer-requested repair aligns only test expectations with the intended behavior of those merged fixes.
Why This Change Was Made
The ACP expected-message helper now includes the exact default provider/model selection introduced by #184702 (
27b94d43e124). The worker permission suite expects the full root-escape error and recovery guidance introduced by #184901 (c0ffba6e18a3). Both source PRs and their production changes were inspected to confirm intent.Full message equality remains in place. The default and guarded worker cases still assert the exact error payload, unchanged outside-file contents and permissions, and separation of operator-only containment hints. The smallest-change pass left two test helpers changed: 3 insertions, 1 deletion, zero production changes.
Evidence
On fetched main
7b6e7bb7c77815f8bcd5019c1e72d0fdac9b4f99, the repository Vitest runner reproduced exactly two ACP failures and two containment-owner failures, matching CI run 40399472579. The other 199 tests passed.After the expectation updates:
node scripts/run-vitest.mjs src/gateway/server-methods/chat.directive-tags.test.ts src/worker/worker.runtime.test.ts --maxWorkers=1: all 203 tests passed; reported file durations 32.33s and 53.46s. Existing full suites were retained; no test setup or runtime was added.git diff --check.Exact-head CI run 40403120450, head
43236d1f12b2832b8d0cd84f3d8d5d2c312ff8af:Both repaired suites passed without CI retries. This PR is intentionally ready and unmerged.