Skip to content

fix(e2e): keep delete fixture target-compatible - #133526

Merged
RomneyDa merged 1 commit into
mainfrom
codex/frozen-candidate-delete-fixture
Aug 30, 2026
Merged

RomneyDa merged 1 commit into
mainfrom
codex/frozen-candidate-delete-fixture

Conversation

@RomneyDa

Copy link
Copy Markdown
Member

Split from #133510.

The agents-delete shared-workspace smoke asserts explicit ownership and retention semantics. Its fixture also supplied a newer heartbeat config field that the frozen candidate rejects, even though the field is not part of the scenario. Remove that unrelated input and retain only the ownership/entry state the scenario proves.

Proof: focused fixture test is included; local execution is currently blocked before test collection by the checkout dependency mismatch configureFsSafeNative is not a function from src/infra/fs-safe-defaults.ts. git diff --check passes.

Production/tooling LOC: +0/-1 (net -1); tests: +1/-2 (net -1).

@clawsweeper

clawsweeper Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Aug 30, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 30, 2026
@clawsweeper

clawsweeper Bot commented Aug 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 30, 2026, 4:58 PM ET / 20:58 UTC.

ClawSweeper review

What this changes

The PR removes an unrelated heartbeat default from the agents-delete shared-workspace fixture and updates the fixture assertion.

Merge readiness

✅ Ready for maintainer review

No introduced correctness defect was found. This focused fixture repair should remain open for normal maintainer review because it is member-authored and has the protected maintainer label.

Priority: P3
Reviewed head: 01ba88fe63b9e3ed34954e3fafaf6ce16946de42

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, source-supported fixture cleanup with no actionable correctness finding.
Proof confidence 🌊 off-meta tidepool Not applicable: This MEMBER-authored internal E2E-fixture change is covered by focused fixture and command-owner tests; the external-contributor proof gate does not apply.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: This MEMBER-authored internal E2E-fixture change is covered by focused fixture and command-owner tests; the external-contributor proof gate does not apply.
Evidence reviewed 5 items Introduced change is narrowly scoped: The verified PR delta removes only the heartbeat fixture input and the matching assertion; it does not alter the delete command or runtime behavior.
Delete ownership invariant: The Gateway command determines workspace retention from overlapping configured workspaces and reports the same shared-workspace fields asserted by the fixture; this path does not use the heartbeat default.
Existing behavior coverage: Owner-boundary tests already verify that deleting an agent retains a shared workspace and reports the shared owner in JSON.
Findings None None.
Security None None.

How this fits together

The Docker E2E lane writes a minimal OpenClaw configuration, starts the Gateway, and runs agents delete for an agent sharing another agent’s workspace. Its fixture assertions verify that only the selected agent is removed and the shared workspace remains.

flowchart LR
  A[Docker E2E lane] --> B[Fixture writes config]
  B --> C[Gateway starts]
  C --> D[Agents delete command]
  D --> E[JSON result]
  E --> F[Fixture assertions]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests -1, Other -1. Total -2 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 1 2 -1
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 0 1 -1
Total 2 1 3 -2

Review metrics

Metric Value Why it matters
Production versus test delta production/tooling -1, tests -1 The branch removes one fixture configuration line and its matching assertion without growing runtime behavior.

Technical review

Best possible solution:

Keep the fixture limited to ownership inputs consumed by the shared-workspace delete scenario, then merge after exact-head checks and normal maintainer review.

Do we have a high-confidence way to reproduce the issue?

No: source shows that the shared-workspace delete invariant depends on configured entries rather than heartbeat, but the supplied local run was blocked before test collection.

Is this the best way to solve the issue?

Yes: deleting the scenario-irrelevant newer config field is the narrowest way to maintain frozen-target compatibility while preserving the ownership state the smoke exercises.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against ee6dfc34e6a0.

Labels

Label justifications:

  • P3: This is a small E2E-fixture compatibility cleanup with no direct user-facing runtime change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: This MEMBER-authored internal E2E-fixture change is covered by focused fixture and command-owner tests; the external-contributor proof gate does not apply.

Evidence

What I checked:

  • Introduced change is narrowly scoped: The verified PR delta removes only the heartbeat fixture input and the matching assertion; it does not alter the delete command or runtime behavior. (scripts/e2e/lib/fixtures/workspace.mjs:34, 01ba88fe63b9)
  • Delete ownership invariant: The Gateway command determines workspace retention from overlapping configured workspaces and reports the same shared-workspace fields asserted by the fixture; this path does not use the heartbeat default. (src/commands/agents.commands.delete.ts:254, 01ba88fe63b9)
  • Existing behavior coverage: Owner-boundary tests already verify that deleting an agent retains a shared workspace and reports the shared owner in JSON. (src/commands/agents.delete.workspace.test.ts:403, 01ba88fe63b9)
  • Fixture history: Local history identifies the commit that added the original workspace fixture and its heartbeat input; the contributor is a routing candidate, not a regression attribution. (scripts/e2e/lib/fixtures/workspace.mjs:34, 7bd0903f7a23)
  • Current-main limitation: The fetched-main file object could not be materialized from this partial checkout because the promisor remote was unreachable, so this review makes no current-main or release-equivalence claim. (ee6dfc34e6a0)

Likely related people:

  • heichl_xydigit: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-30T20:51:36.640Z sha 01ba88f :: needs maintainer review before merge. :: none

@RomneyDa
RomneyDa merged commit ca6b1bf into main Aug 30, 2026
276 of 278 checks passed
@RomneyDa
RomneyDa deleted the codex/frozen-candidate-delete-fixture branch August 30, 2026 22:15
vincentkoc added a commit that referenced this pull request Aug 30, 2026
* origin/main: (55 commits)
  test: include v2026.8.1 release navigation (#133581)
  fix: stop cloud work before unrelated provider inspection finishes (#133476)
  fix(e2e): keep delete fixture target-compatible (#133526)
  fix(release): detect optional target E2E capability (#133525)
  fix(package): publish readable dist inventory (#133549)
  docs: add complete v2026.8.1 maintainer change index (#133585)
  fix(browser): preserve contextless worker and iframe sessions (#133571)
  fix(voice): discover configured provider candidates (#133507)
  refactor(ui): simplify chat rendering and lifecycle state (#133567)
  test: reduce maturity fixture cleanup time (#133566)
  improve: speed up legacy imports and transcript replacement (#133546)
  docs: add draft v2026.8.1 release notes (#133557)
  test: guard multi-project Vitest cache ownership (#133554)
  fix(memory): clarify default agent scope in command help (#133560)
  fix(clawdock): keep credentials out of diagnostic output (#133547)
  refactor(ui): avoid redundant presence work in avatar lists (#133548)
  fix(agents): recognize internal requester completion replies (#133543)
  fix: prevent duplicate queued user messages in chat clients (#133542)
  chore(ui): refresh control ui locales (#133544)
  fix(beam): restart delivery when the receiver changes (#133533)
  ...
vincentkoc added a commit to shojikumaru/openclaw that referenced this pull request Aug 30, 2026
…cked-delivery

* origin/main:
  test: include v2026.8.1 release navigation (openclaw#133581)
  fix: stop cloud work before unrelated provider inspection finishes (openclaw#133476)
  fix(e2e): keep delete fixture target-compatible (openclaw#133526)
  fix(release): detect optional target E2E capability (openclaw#133525)
  fix(package): publish readable dist inventory (openclaw#133549)
  docs: add complete v2026.8.1 maintainer change index (openclaw#133585)
  fix(browser): preserve contextless worker and iframe sessions (openclaw#133571)
  fix(voice): discover configured provider candidates (openclaw#133507)
  refactor(ui): simplify chat rendering and lifecycle state (openclaw#133567)
  test: reduce maturity fixture cleanup time (openclaw#133566)
  improve: speed up legacy imports and transcript replacement (openclaw#133546)
  docs: add draft v2026.8.1 release notes (openclaw#133557)
  test: guard multi-project Vitest cache ownership (openclaw#133554)
  fix(memory): clarify default agent scope in command help (openclaw#133560)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant