Repository navigation
fix(docker): keep helper test portable on macOS - #117526
Conversation
* origin/main: (27 commits) fix(plugins): compare authoring metadata by canonical JSON semantics (#117486) fix(doctor): reject contradictory lint check selectors (#117495) fix(anthropic): honor configured model pricing (#117275) refactor(plugins): reuse scoped loader for capability discovery (#117373) refactor(test): derive changed tooling routes (#117407) fix(kova): clarify extension memory attribution (#117500) fix(imessage): sanitize private context on every outbound path (#117501) fix(ci): align release validation fixtures (#117494) fix(talk): preserve owner authorization in realtime consults (#114163) fix(ui): surface aborted-run diagnostics (#117497) perf(models): skip Ollama row runtime loading (#117465) fix(cli): report user profile command outcomes (#117466) fix(active-memory): detect Chinese recall intent in escalate mode (#117338) (#117419) fix(workboard): ignore caller-supplied archivedAt when creating a card (#116412) fix(models): avoid waiting on promotions before listing models (#117322) refactor(plugins): inherit shared package boundary settings (#117474) fix(systemd): parse all inline environment assignments (#117484) feat(web-fetch): add tools.web.fetch.headers for operator request headers (#115545) fix(qa): Slack progress lane misses successful delivery (#117391) refactor: deduplicate Codex prompt snapshot fixtures (#117476) ...
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed August 1, 2026, 2:25 PM ET / 18:25 UTC. ClawSweeper reviewWhat this changesThe PR replaces a string comparison of Merge readinessThe one-line test repair correctly compares the recorded Docker-call count numerically, avoiding BSD Priority: P3 Review scores
Verification
How this fits togetherThe Docker build-helper test sources the shared package helper, runs its foreground and detached harness wrappers against a stubbed Docker command, and records the two calls. The assertion verifies that both wrapper paths remain available when the helper is sourced directly. flowchart LR
A[Docker helper test] --> B[Source package helper]
B --> C[Foreground harness wrapper]
B --> D[Detached harness wrapper]
C --> E[Stub Docker call log]
D --> E
E --> F[Numeric line-count assertion]
F --> G[Portable test result]
Before merge
Agent review detailsSecurityNone. PR surfaceTests 0. Total 0 across 1 file. View PR surface stats
Review metricsNone. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the test’s two-call invariant and merge this numeric assertion after the exact head has a current merge result and completed required checks. Do we have a high-confidence way to reproduce the issue? Yes, source provides a high-confidence reproduction mechanism: the existing quoted string comparison rejects BSD Is this the best way to solve the issue? Yes. Bash numeric comparison is the narrowest maintainable solution because the contract is the count of Docker calls, not AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against b340e682a259. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
* origin/main: (26 commits) fix(update): return failure when dirty checkout blocks update (#117452) fix(auto-reply): apply mixed chat directives in one session transaction (#117542) refactor(ui): unify channel status and setup controls (#117499) fix(doctor): preserve surviving lint selections (#117543) fix(media): keep an unquoted MEDIA path with spaces as one media item (#112464) refactor(channels): consolidate lightweight plugin discovery (#117541) fix(imessage): prevent duplicate messages after delayed sends (#110853) refactor(memory): unify authoritative dreaming state and presentation (#117538) refactor(agents): consolidate main-session recovery ownership (#117383) fix(proxy-capture): make path-based session cleanup atomic (#98852) refactor(agents): consolidate compaction and context-engine ownership (#117482) fix(gateway): preserve Responses usage details (#117533) perf(gateway): skip empty session recovery stores (#117498) fix(ci): update canonical Kova performance pin (#117508) fix(system-agent): emit the wizard cancel hint once per message (#113731) refactor: dedupe secrets runtime snapshot fixtures (#117502) test(google): cover ready callback close precedence test(openai): dedupe realtime voice fixtures (#117503) fix(google): flush lazy prompts on provider readiness fix(gateway): keep canonical hooks on pristine startup path (#117493) ...
|
@clawsweeper re-review Please review exact head The branch was refreshed with current
|
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
The repo-native merge verifier passed this exact head, but GitHub rejected the required no-squash merge because repository settings disable merge commits. I am therefore direct-landing the preserved signed series through signed two-parent merge Merged-tree proof: Docker helper tests 178/178, tooling regression assertions 2/2, and |
* commit '3f57adea157314317d924f6fdbb66aa407a96f9a': test(docker): make line count assertion portable
What Problem This Solves
Fixes an issue where macOS maintainer runs would fail the Docker build-helper test because BSD
wc -lpads its numeric output with whitespace.Why This Change Was Made
The assertion now compares the line count numerically instead of comparing the platform-formatted output as a string. The expected count remains exactly two, and no runtime Docker behavior changes.
User Impact
Maintainers can run the Docker helper test consistently on macOS and Linux. There is no user-facing runtime, configuration, or environment-variable change.
Evidence
wc -lstring comparison.1 passed,177 skipped).178 passed).oxfmt --checkandgit diff --checkpass.0.99).b5a59e0a7d94in refactor(docker): consolidate E2E scenario helpers #117359.