Repository navigation
fix(workboard): await concurrent test cleanup - #147218
vincentkoc wants to merge 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. Reviewed September 13, 2026, 1:40 PM ET / 17:40 UTC (Revision 2). ClawSweeper reviewWhat this changesThe Workboard attachment-race test now waits for both SQLite owners and temporary-directory cleanup before finishing. Merge readiness✅ Ready for maintainer review This remains a useful, correct cleanup fix: fetched main still leaves the asynchronous cleanup unawaited. No actionable correctness or security findings remain. Priority: P3 Review scores
Verification
How this fits togetherWorkboard stores task cards and attachments in SQLite. Its concurrency tests use two database owners to simulate overlapping operations; cleanup must finish before the test returns. flowchart LR
A[Attachment race test] --> B[Resume paused deletion]
B --> C[Wait for deletion]
C --> D[Close both SQLite owners]
D --> E[Remove temporary directory]
E --> F[Finish test]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests 0. Total 0 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep cleanup within the test’s awaited lifecycle using the existing harness, without adding helpers or weakening assertions. Do we have a high-confidence way to reproduce the issue? Yes, source establishes the defect: fetched main discards the promise from asynchronous harness cleanup. The linked lint failure and exact-head passing lint support it; no local execution was performed. Is this the best way to solve the issue? Yes. Awaiting the existing cleanup operation is the smallest repair and matches sibling tests without changing their behavior or coverage. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f96fed1a7cc0. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Allow independent reasoning effort and Fast mode for OpenClaw model-backed command and widget approval reviews. Both settings are optional; Fast mode maps to the supported provider processing tier through the shared completion path. Validated with 272 focused tests, production typechecking, type-aware lint, and configuration inventory checks. ClawSweeper reviewed the exact head with no actionable findings. Existing configs retain their defaults; remove the new optional keys before downgrading. Merged under the operator-approved exception for the unrelated Workboard missing-await lint failure on main (repair tracked in #147218). All other CI checks passed.
|
Superseded by #147203, merged as fc19759. That commit adds the same |
…aw#147192) Allow independent reasoning effort and Fast mode for OpenClaw model-backed command and widget approval reviews. Both settings are optional; Fast mode maps to the supported provider processing tier through the shared completion path. Validated with 272 focused tests, production typechecking, type-aware lint, and configuration inventory checks. ClawSweeper reviewed the exact head with no actionable findings. Existing configs retain their defaults; remove the new optional keys before downgrading. Merged under the operator-approved exception for the unrelated Workboard missing-await lint failure on main (repair tracked in openclaw#147218). All other CI checks passed.
Related: #147191
What Problem This Solves
The concurrent attachment-deletion regression test starts asynchronous SQLite cleanup without waiting for it, failing the existing floating-promise lint check.
User Impact
The test waits until both SQLite owners close and its temporary directory is removed before finishing. Production behavior is unchanged.
Why This Change Was Made
Await the existing harness cleanup in the test's finally block, after resuming and settling deletion, matching the other concurrent-store tests.
Evidence
extensions/workboard/src/store.test.ts:4506.git diff --checkpasses; autoreview found no actionable issue.f0e6a3651967707c88acb59db9ca2c4c07159782: the attachment deletion/recreation race test passed (1 passed; 148 filtered out); scoped lint passed. The command verified the source SHA and clean tracked tree before and after execution.