Skip to content

fix: reclaim PR dependency caches after interrupted operations - #196685

Merged
steipete merged 7 commits into
mainfrom
steipete/perf-micro-pr-dependency-cache-leaked-holds-20260919
Nov 10, 2026
Merged

steipete merged 7 commits into
mainfrom
steipete/perf-micro-pr-dependency-cache-leaked-holds-20260919

Conversation

@steipete

@steipete steipete commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes unbounded scripts/pr dependency-cache growth when operations are killed during installation or while retaining an anchor.

User Impact

Subsequent PR commands automatically reclaim abandoned disposable cache state, with at most four cache/anchor directory removals per collection pass. Live operations and their children retain kernel-backed protection. No manual cache cleanup or configuration is needed.

Legacy holds without kernel evidence and unregistered directories use the approved scratch policy: older than 24 hours, with no current cwd, open descriptor or mapping reference. A dormant legacy child with only a pathname in memory can lose this disposable state and must reinstall on miss. New holds never fall back to age-based collection. Python 3 supplies the POSIX flock/census helper; children must preserve the inherited lifetime descriptor while using operation tooling.

Why This Change Was Made

The lifetime owner previously relied on creator-driven anchor retirement and only collected ledger rows. SIGKILL left permanent holds; installation publication and eviction had filesystem/ledger windows that could leave invisible directories.

The owner now uses an inherited shared flock for future operations, requires a nonblocking exclusive flock for retirement, and records lifetime-creation and installation/detach intent before filesystem changes. Operations register immediately after acquiring the shared lock, including when installed dependencies avoid cache acquisition. Pending startup intent has no dependency consumers yet; recovery requires a dead creator incarnation, no current filesystem references, and an exclusive lock when its file exists. Node child-process APIs preserve the descriptor, including custom environments and execFile. Nested operations retain enclosing leases on additional descriptors while using their own FD7 lifetime. The collector removes dead anchors, settles abandoned installations, and handles legacy orphans under the metadata lock. Same-version additive tables record lifetime and transition evidence; the SQLite version is unchanged. Sealed device recovery includes that state and preserves exact replay and pre-lease v3 compatibility. Recovery commands do not run the startup sweep. Directory and file identity checks continue to refuse aliases.

Production/tooling growth is +1,443 net lines, counting scripts and generated code: 714 in the lifetime owner, 250 in the stdlib kernel/census helper, 168 in child-process inheritance, 31 in the wrapper, 11 in shared Python Git/publication launchers, 10 in their generated CI projection, six declarations and a 253-line synthetic benchmark. Runtime implementation growth is +1,174. This covers child-safe lifetime evidence, producer transitions, process census, bounded interrupted cleanup, nested runtime inheritance and sealed device recovery. Python launchers explicitly preserve declared lifetime descriptors; FD9 retirement authority is separate.

Evidence

  • Actual scripts/pr SIGKILL fixtures pass at installation, hold and settlement. Original orphan and install-wrapper regressions fail against exact parent 225afda642e9632775d7cfc520d1862736f50a19.
  • Enclosing-preload qualification: 200 tests across five affected files passed, with six existing platform skips. This includes the full wrapper suite, cache/materialized-anchor siblings and Node/Bun inheritance. Killing both outer and inner creators leaves a lazy grandchild protecting both lifetime locks.
  • Collector suite: 14 passing cases, including bounded five-anchor shared-lease retirement and producer windows. Native census suite: 12 passing cases in both complete and restricted Linux procfs environments. Restricted hosts explicitly assert retention; inaccessible live processes never count as absent. A real unreadable zombie reproducer fails before the narrow fully-exited-group repair and passes afterward; a live unreadable reader remains protected.
  • Device recovery: 18 focused cases pass, including pre-lease v3 ledgers with historical holds, pending file/stage/renamed states, sealed identities, refusal on aliases/replacements/changed rows and exact replay. The new-state regression fails before the recovery extension.
  • Current-head CI exposed introduced Node-free and retained-projection recovery regressions; the startup collector now excludes recovery commands. Three minimal recovery cases pass locally. The three Linux retained-projection cases pass in CI run 42837213597. That run had one test-only failure: restricted census correctly retained an unsettled hold while the assertion expected settlement. The final head compares the full pre-sweep state, with actual-owner complete/restricted Linux proof and a separate clean Codex review. Final-head CI remains required.
  • pnpm check:changed completed: all selected checks passed except the attributed inherited unused exports. Fresh Codex review of the final repair delta is scoped-clean through P2; the earlier complete patch was reviewed separately. Exact parent reproduces 28 production/eight full-tree unused-export failures, attributed to fix(gateway): avoid unnecessary cold-start initialization #192552, feat(compaction): make compaction summary char cap configurable via maxSummaryChars #196207, improve(tools): let models call listed MCP tools without searching first #196252, fix(config): config writes switch models to API-key billing without a warning #191326, feat(pairing): pair a browser with a short code approved on the host #191513, refactor(auth): isolate provider auth data contracts #190544 and refactor(plugins): forward auth and catalog to their owners #190205; these are main regressions, not ignored noise.
  • Python boundary qualification: the full Git-owner and inheritance files pass under real primary/ancestor leases (100 passed, 20 existing platform skips). A persistent Node → Python owner → real Git → Node regression fails against the old owner and passes the fix. The Darwin native suite passes under the enclosing preload (31 cases, one existing skip); five affected Darwin census cases also pass. Canonical CI owner generation/check passes. Hosted review caught the original Python descriptor loss; the fix is in actual launch owners and fixture launch sites, with no copied-source workaround. Fresh Codex review of this delta is scoped-clean through P2.
  • Synthetic Linux/btrfs fixture: 46 directories, 20 installations, 28 dead-creator holds, 26 orphans, 62,000 payload files / 1.18 GB. Two A/A controls and five fresh A/B pairs. Baseline retains 45 entries and all 28 holds; candidate reaches four entries and zero holds/anchors in 19 bounded calls. Allocated file blocks fall from 1.270 GB to 0.110 GB (1,159,307,264 allocated bytes reclaimed).
  • Cleanup costs: final candidate total owner wall median/p95 1.716/1.882 seconds across 19 calls, per-call median/p95 77.9/170.0 ms. Baseline spends 43.6 ms median while leaving the leak. Whole-run process-tree CPU median is 1.168 seconds versus 0.290 seconds, including startup and fixture census/inventory but excluding setup. Warm empty owner calls increase from 1.05 to 16.96 ms; one-time additive adoption takes 69.34 ms. This is storage reclamation, not a latency improvement. The core owner revision was remeasured with five fresh candidate fixtures plus a baseline control after the original paired campaign. Later recovery-only changes are outside this benchmark path; shared-lease cleanup has separate paired proof (two-call wall median 366 ms before, 310 ms after, with the retained hold/anchor eliminated). Separate sampled owner allocations estimate 0.525 MB baseline versus 7.069 MB candidate (one diagnostic each; Python allocation excluded). Container-scale process census does not establish scan latency for thousands of host processes.

Only synthetic disposable fixtures were used; no production cache or data was accessed. No Control UI imports are affected. Final-head CI and ClawSweeper review remain required before landing.

Final landing evidence

Reviewed head: 6b9712fd3435a4f27004a4be6eccc63c8f0e9fd8. CI run 42849960561, attempt 1, tested merge ff9a8491578f4d7ece62748c3a0bafb66931d288 against exact main parent d5a021ebabecfdada396c9ac1567e3bbdf04be0a. Every selected job passes except the three proven inherited failures below and their aggregate gate. Security-fast, all seven Security High jobs and precise scanning pass. Failed CI remains failed; the authorized native inherited-failure admission is being used.

  • Test budget (fix(ui): plugin pages show "Plugin" in the phone header and tab title instead of their own name #196680, 3686da563c54738b11fac5c9a103ee8b3943b5e6): the introducer's exact parent passes with seven lines of credit; the merge adds 28 lines without credit. Exact final CI main parent reproduces the resulting 21-line deficit (6,629,462 lines / 6,629,441 ceiling). Both intervening commits fully cover their additions. This PR allocates exactly its own 1,152-line growth.
  • QA profiles 2/4 and 4/4 (fix: plugin config edits stall busy gateways and report saved before applying #196570, e230abd098ed970c30a9812813d2a77b5e80640a): both real mock-provider scenarios reproduce on that exact main parent, each timing out after 60 seconds with the same event sequence and closed plugin invocation scope during completion delivery. An unchanged actual-owner fixture using the real plugin instance, registry and prepared model lease succeeds on immediate parent 685f18a41b28b07e93b411b895be1c60dec3fc23 and fails at the introducing commit. Ordinary channel calls still work; the delayed callback alone inherits a disposed turn scope. All seven named scenario/owner inputs are byte-identical between the tested main parent and PR merge.

These are newly exposed main regressions requiring follow-up, not ignored noise. Exact-parent command logs, scenario results, adjacent-commit observations and source identities are retained by the native admission evidence. The previously documented local unused-export regressions remain separately attributed.

ClawSweeper's published review names this exact head, has zero open checklist items and no actionable findings. All nine earlier items and both hosted Codex findings are reconciled in one numbered response. The review's then-pending smoke attribution is completed above. Both hosted discussion threads are resolved.

@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts size: XL labels Nov 10, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026
@steipete
steipete marked this pull request as ready for review November 10, 2026 13:48
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-10T16:02:07.867388Z 6b9712f New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: adb1894ead

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR automatically reclaims abandoned PR dependency caches and anchors while inherited kernel locks protect live consumers.

Example: A scripts/pr operation is killed with SIGKILL during dependency installation.

  • Before: Its staging directory and anchor can remain permanently outside normal collection.
  • After: Later ordinary commands recover recorded interrupted work, removing at most four directories per collection pass.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Source review clears the earlier findings and supports the design; evidence is primarily production-owner fixtures and reported benchmark results, with exact-head smoke failures still unattributed.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored PR is outside the ordinary contributor proof gate; supplied evidence covers actual-wrapper SIGKILL fixtures, real kernel locks, descendant retention, and recovery, while the prepared browser images are unrelated.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Killed PR operations leave dependency installations and anchors consuming storage indefinitely.
Reason: The source establishes the leak, and the maintainer-authored change explicitly accepts the cleanup policy and its costs.

Merge readiness

✅ Ready for maintainer review

Keep open: the earlier findings are addressed and no new actionable source defect was found, but exact-head CI remains red with unresolved smoke-failure attribution.

Priority: P2
Reviewed head: 6b9712fd3435a4f27004a4be6eccc63c8f0e9fd8

Before merge

None.

Findings

None.

Agent review details

How this fits together

The maintainer PR wrapper authenticates frozen tooling, prepares dependency installations, and records their consumers in SQLite; its lifetime owner decides when abandoned anchors and installations can be removed.

flowchart TD
  A[PR command] --> B[Authenticated wrapper]
  B --> C[Inherited lifetime locks]
  B --> D[SQLite lifetime owner]
  C --> E[Operation descendants]
  D --> F[Bounded collector]
  C --> F
  F --> G[Disposable anchors and caches]
Loading

Technical review

Best possible solution:

Keep the existing lifetime owner authoritative for crash recovery and finish exact-head CI attribution before landing.

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

Current main retains creator-owned holds after abrupt interruption, and supplied regressions exercise installation, hold, and settlement interruption; this read-only review ran no target code.

Is this the best way to solve the issue?

The repair extends the existing lifetime owner rather than adding a competing collector, with kernel locks protecting descendants and producer-recorded transitions covering interrupted publication and eviction.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against b21829a4c85f.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

PR surface

Tests +1374, Docs +44, Config +21, Other +1425. Total +2864 across 21 files. Added test files: 3.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 10 1412 38 +1374
Docs 1 72 28 +44
Config 3 25 4 +21
Generated 0 0 0 0
Other 7 1448 23 +1425
Total 21 2957 93 +2864

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Production versus test growth Tooling +1,443 net lines; tests/support +1,374 net lines Tooling includes the 253-line benchmark; remaining growth covers kernel leases, inherited descriptors, recoverable filesystem transitions, and device recovery, with distinct crash and consumer-boundary regressions.

Labels

Label changes:

  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove merge-risk: 🚨 automation: Current PR review selected no merge-risk labels.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: Interrupted maintainer operations can accumulate disposable dependency storage; the affected surface is PR tooling rather than the running product.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (2 earlier review cycles)
  • reviewed 2026-11-10T14:17:24.632Z sha 2e4f83d :: blocked before merge. :: [P2] Keep lock recovery independent of Node | [P1] Preserve the retained anchor selected for tooling recovery | [P2] Support independent fixture leases under the enclosing preload | [P2] Extend device recovery to the newly persisted lifetime state | [P2] Qualify census tests for restricted procfs hosts
  • reviewed 2026-11-10T15:15:08.650Z sha c86b8c7 :: needs changes before merge. :: [P2] Preserve lifetime descriptors through Python-based wrapper tests

Reviewed November 10, 2026, 11:21 AM ET / 16:21 UTC (Revision 3).

@steipete

steipete commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor Author

Addressed all nine checklist items on 6b9712fd3435a4f27004a4be6eccc63c8f0e9fd8:

  1. Node-free lock recovery: the shared collection policy excludes recovery commands before invoking Node. The three minimal Git-and-shell recovery cases pass locally; their assertions and prerequisites were preserved.
  2. Retained tooling-recovery anchor: the same policy excludes tooling-recover, so collection cannot retire the projection named by its sealed plan. Existing changed-input and uncertain-exchange tests remain intact (fixtures).
  3. Independent leases under the enclosing preload: inheritance now preserves enclosing leases on additional descriptors, while validating a nested operation's own FD7. The enclosing-preload run passed 200 tests with six existing platform skips. The nested SIGKILL regression proves a lazy grandchild retains both leases after both creators die. This also addresses discussion r4525679137.
  4. Device recovery for new lifetime state: sealed snapshots and resource inventory include pending/registered lifetimes and both transition paths. Adoption changes only device cells supported by physical identity; absent resources retain their identities. Eighteen focused recovery cases pass, including exact replay, stage/rename/file-creation windows, aliases, changed inodes and changed rows. The new-state regression failed before this extension.
  5. Restricted procfs: the fixture independently probes census capability, then explicitly asserts retention on a restricted host. No tests are skipped and unknown live processes never count as absent. The native suite passes 12/12 in both private complete and restricted host PID namespaces. A separate real zombie reproducer proves the narrow fully-exited-group correction; an unreadable live reader remains protected. CI PID 1581 was not classified, so this is not a claim that it was a zombie.
  6. Stored-data compatibility: the recovery fixture starts with the actual pre-lease v3 schema. Recovery/replay retains 12 historical holds, then the new owner acquires a hold successfully. Latest stable v2026.11.2 predates this ledger owner; the upgrade contract is pre-lease v3 data, not a nonexistent stable-tag ledger. No SQLite version change was added.
  7. Original Node-free recovery intent (39b3d94413ba): restored by item 1. No Node dependency was added to lock-recover; the original minimal-environment regressions pass.
  8. Original retained-projection recovery intent (f10f35290fdd): restored by item 2. Recovery owns its selected projection and reconciliation evidence; startup collection is excluded from that operation.
  9. Original device-adoption intent (cce57b29e479): the synchronous preimage/adoption/postimage transaction now covers the additive state. The original exact-plan replay, alias refusal and no-collection authority remain. Documentation specifies the extended sealed plan.

Fresh Codex review of this repair delta is scoped-clean through P2. pnpm check:changed passed every selected check except the previously attributed main unused-export regressions listed in the PR body; script exports are clean.

The preceding full CI run 42837213597 passed every job except a test-only restricted-census expectation and its aggregate gate. That test had expected settlement while a hold was retained; the final head now compares the entire pre-sweep state. Actual-owner Linux fixtures prove both restricted retention and complete-census reclamation, and Codex reviewed this correction separately with no actionable P0–P2 findings. Final-head CI is running and remains required before merge.

The hosted Python-boundary finding r4526539287 is also fixed: Darwin fixture launches preserve primary and ancestor leases, as do the actual Git owner, publication owner, and Darwin census subprocesses. Real Git-owner plus Node/Bun inheritance qualification passes 100 cases with 20 existing platform skips under enclosing leases; the actual-owner regression fails before the fix. Darwin native suite: 31 cases, one existing skip. Generated workflow projection and workflow checks pass. CI then exposed a fixture tuple shadowing the helper; the final correction loads the actual function and avoids that collision. Both affected cases pass on macOS and their exact embedded Python snippets pass on Linux, without relaxing assertions. Both deltas received separate scoped-clean Codex P2 reviews.

Final-head CI run 42849960561 is complete: all cache/tooling jobs and security checks pass. Its three independent reds are now proven inherited on exact main parent d5a021ebabecfdada396c9ac1567e3bbdf04be0a: the 21-line budget debt introduced by #196680, and both QA completion timeouts introduced by #196570. The latter reproduce in full real mock-provider scenarios; an unchanged actual-owner fixture succeeds on the introducing commit's immediate parent and fails at e230abd098ed because a delayed completion inherits a disposed plugin scope while the gateway channel remains live. Exact commands, source identities and logs are retained in native admission evidence; the PR body records the causal proof and main-regression follow-up.

The published ClawSweeper review now explicitly reconciles every earlier finding at this exact head, with zero open checklist items and no actionable findings. Its then-pending CI attribution is completed above. The authorized native inherited-failure route will retain the failed CI result; security and review are not waived.

@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c86b8c7588

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/pr Resolved
@clawsweeper clawsweeper Bot removed clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review — please review exact head 6b9712fd3435a4f27004a4be6eccc63c8f0e9fd8 and reconcile all nine items from the previous review. The numbered response above links each repair and focused proof at this head, including both resolved hosted Codex findings. Security checks pass; the remaining CI failures are undergoing exact-parent attribution. Source and review feedback are settled; further comment edits will wait for this review to publish.

@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026
@steipete
steipete merged commit 8743f1b into main Nov 10, 2026
155 of 160 checks passed
@steipete
steipete deleted the steipete/perf-micro-pr-dependency-cache-leaked-holds-20260919 branch November 10, 2026 16:33
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 11, 2026
…law#196685)

* fix: reclaim PR dependency caches after interrupted operations

* fix: recover PR lifetime startup and verify interrupted wrappers

* fix: complete PR cache lifetime fixture integration

* fix(pr): preserve nested leases and sealed cache recovery

* test(pr): preserve unsettled state on restricted procfs

* fix(pr): retain lifetime leases across Python launchers

* test(ci): avoid shadowing inherited lifetime helper
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: XL 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