Skip to content

perf(state): repair private store modes only at startup - #197009

Merged
steipete merged 7 commits into
mainfrom
steipete/perf-micro-compile-cache-and-lock-reverify-opens-20260919
Nov 11, 2026
Merged

steipete merged 7 commits into
mainfrom
steipete/perf-micro-compile-cache-and-lock-reverify-opens-20260919

Conversation

@steipete

@steipete steipete commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Ordinary shared-state writes repeatedly open unrelated private credential and service stores to perform a startup-only permission repair.

User Impact

State writes avoid those redundant file opens and allocations. Gateway startup and admitted Doctor repair still restore private storage after a volume remount; ordinary writes still harden their own database and sidecars.

Why This Change Was Made

#194307 added sibling-store repair to a helper also called after every shared-state commit. Move the repair to Gateway config preflight, after config/schema/live-owner/guard admission and before strict startup credential reads. Doctor already calls the same owner explicitly. No cache, configuration, schema, or connection-lifetime change; runtime production code shrinks by two lines. This is compatible with #196706 expanding the restoration enumerator.

Final disposition

Merged as 2598631a4f240bdb3731f29ae258e7e4488cc7be from exact reviewed head 5bdf1dd3ca2610c84e7c45fdff63ce9512e0b4ff. The completed ten-pair ABBA criterion passes without exclusions; final-head ClawSweeper has zero open items and zero actionable findings. Native inherited-CI admission verified both literal-parent failures and the actual landing parent after main advanced. Exact CI qualification and completion receipt. CI remains historically failed on the two documented main regressions, not relabeled green. No production deployment or after-count is claimed.

Revised acceptance: balanced ABBA follow-up

The maintainer authorized a decisive follow-up to distinguish the earlier whole-Gateway tail movement from GC/host variation. This replaces the earlier per-cell landing stop for this PR; the original results remain recorded.

Before collecting new results, the fixed sequence is A, A, then ABBA × 5: two baseline control runs and ten matched comparisons, balanced between AB and BA order. A is the original 95c2a0db619e98d1ea95dc2884aa1e0b17c7de0e runtime; B is the reviewed preflight repair, whose production sources are unchanged from 1e817a38b50a96503774590eac69765873686c7c. Both use the same committed measurement scripts, same host, four-CPU quota, preserved qualified synthetic fixture, 60-second warmup/window and real verified writes every 500 ms. No pressure qualification, memory-cap experiment, CPU profiler, allocation sampler or filesystem census is part of these timing arms.

The primary statistic is median of the ten signed paired p95 differences in milliseconds, always B minus A. The A/A spread is abs(second control p95 − first control p95). The performance gate passes if the adverse paired median does not exceed that spread and no causal mechanism points at the production change. Report percentage deltas, AB/BA strata, CPU, GC and the complete per-run values as well; do not substitute a difference of group medians after inspecting the results.

Actual request start/end timestamps, individual main-isolate GC intervals/raw V8 pauses, and uniform one-second VM/cgroup counters will accompany every run. Root-owned checks/builds/installs/fetches/cache cleanup must drain before the timing campaign. All raw observations and the all-pair analysis are retained. An outlying pair may be excluded only with contemporaneous GC-pause or host-event evidence that overlaps the tail-determining requests and quantitatively accounts for the excess; GC presence or a slow value alone is insufficient, and a change-caused GC mechanism cannot be dismissed as noise. Any exclusion removes the entire preassigned pair, records the event and affected requests, and reports the adjusted result alongside the full set. No quiet replacement or cherry-picked rerun is permitted.

If the tail remains worse beyond A/A without that explanation, investigate the cause before landing. Normal final-head review, CI/security and merge gates still apply. This protocol was published before the acceptance runs; the completed results are recorded immediately below.

Completed ABBA follow-up: performance gate passes

At final head 5bdf1dd3ca2610c84e7c45fdff63ce9512e0b4ff, the predeclared A, A, then ABBA ×5 campaign completed all 22 valid arms and 2,640 acknowledged writes with durable final readback. The median of ten signed paired p95 differences is −0.664919 ms (median paired percentage −11.013%), compared with the original A/A spread 3.303135 ms (5.990851 versus 9.293986 ms). Eight pairs improved; two increased by 0.537005 and 0.118833 ms. AB and BA median differences are −0.728252 and −0.580751 ms. No measured request, arm or pair was excluded.

Median paired Gateway CPU changes by −92.077 ms (−6.540%); main-thread CPU by −31.945 ms (−6.631%); p50 by −0.217750 ms (−7.177%). These are paired statistics, not a difference of group medians. The same host, four-CPU quota, qualified ~35 GiB synthetic btrfs database, 10,800 sessions, 62,000 payload files, real writes every 500 ms, and 60-second warmup/window were retained. Both runtimes use the same committed recorder; production inputs remain identical to the reviewed preflight fix at 1e817a38b50a96503774590eac69765873686c7c.

Pair/order p95 A → B ms B−A ms Gateway CPU A → B ms Main CPU A → B ms
1 AB 8.610567 → 7.796606 -0.813961 1919.298 → 1644.009 710.462 → 630.646
2 BA 8.448635 → 8.203290 -0.245345 1547.278 → 2060.866 531.632 → 743.356
3 AB 8.120020 → 8.657025 +0.537005 1741.252 → 1737.462 613.789 → 583.471
4 BA 13.811996 → 11.151991 -2.660005 2026.474 → 2039.595 674.236 → 614.005
5 AB 6.080683 → 5.352431 -0.728252 2401.865 → 1465.194 508.780 → 490.857
6 BA 4.520679 → 4.639512 +0.118833 1372.124 → 1290.586 460.950 → 430.159
7 AB 10.243028 → 6.520934 -3.722094 1502.579 → 1395.345 502.845 → 469.746
8 BA 4.224220 → 3.643469 -0.580751 1398.884 → 1277.438 465.523 → 418.365
9 AB 4.961305 → 4.342845 -0.618460 1399.171 → 1328.238 451.938 → 464.394
10 BA 7.078769 → 6.367392 -0.711377 1396.813 → 1294.198 476.900 → 435.431

Individual main-isolate GC intervals and request intervals were recorded for every arm, plus raw V8 logs and 61 host samples per arm (1,342 total). All diagnostic collection/drop counters are zero. The p95-determining requests in both adverse candidate arms have zero main-isolate GC overlap and no recorded throttle/OOM/swap/major-fault/reclaim change in their intersecting one-second host intervals. They remain retained adverse observations; no causal GC or host explanation is asserted for them. Both order strata improve. The runtime removes sibling permission repair from ordinary commits and invokes the existing owner at admitted startup before strict credential reads; it adds no steady-state request work. The combined mechanism and full paired results satisfy the maintainer's revised performance criterion.

Arm p50 ms p95 ms GC count GC total ms Longest GC ms
AA1 3.198 5.991 41 41.087 1.699
AA2 5.880 9.294 32 76.315 23.018
P1 A 6.246 8.611 15 40.250 21.237
P1 B 5.130 7.797 20 37.830 9.472
P2 B 6.025 8.203 10 43.306 21.367
P2 A 3.146 8.449 10 42.160 19.847
P3 A 4.399 8.120 14 32.561 17.970
P3 B 2.945 8.657 11 40.618 25.418
P4 B 3.006 11.152 10 104.922 75.932
P4 A 4.064 13.812 17 74.941 42.447
P5 A 3.014 6.081 9 44.195 31.799
P5 B 2.917 5.352 9 50.957 33.538
P6 B 2.751 4.640 9 62.522 40.775
P6 A 2.999 4.521 11 31.418 21.136
P7 A 3.090 10.243 25 65.695 30.464
P7 B 2.873 6.521 12 50.614 30.537
P8 B 2.830 3.643 3 17.688 13.832
P8 A 2.940 4.224 9 42.029 23.016
P9 A 2.948 4.961 10 49.265 35.490
P9 B 2.819 4.343 37 71.824 30.412
P10 B 2.762 6.367 9 32.907 24.221
P10 A 2.980 7.079 9 50.261 33.668

The unchanged disk guard stopped the original arm 5 during startup, before any measurement. Its failed-start artifacts are retained. Cleanup of old downloaded Actions log-cache archives occurred outside measured windows, recovered 10.89 GB, and was followed by an explicit successor manifest for the remaining 18 arms. The original controls, first pair, pair assignments and guard baseline were preserved. The same fixture seal and all 21 recorded source/build hashes remained valid; no integrity prime or pressure experiment was needed. There was no further interruption.

Limits: two A/A control runs provide one observed spread, not a robust variance estimate. Exact GC overlap covers the main isolate; host counters have one-second resolution, PSI is unavailable, and process-tree CPU is not sampled. No outlier is discarded or retrospectively explained away. Earlier adverse campaigns remain historical evidence below; their former performance hold is superseded only by this explicitly authorized balanced follow-up. Production opensnoop after deployment remains outstanding; no production access or deployment occurred.

Evidence

Acceptance rule: real warm shared-state commits, 2,000 operations per sample, two A/A controls and five serial interleaved baseline/candidate pairs. Sibling open attempts must become zero while contents, private modes, durable readback, and remount admission remain correct; report CPU/allocation and latency movement. Unprofiled timing and sampled allocation run in separate passes. Baseline is 95c2a0db619e9 on Node 24.22.1. Primary owner results below are Linux arm64/btrfs, with a small isolated writer fixture; the serving-Gateway count proof below covers the full database/workspace scale.

Owner metric Baseline Candidate
Sibling open attempts / 2,000 commits 22,000 0
Median process CPU 365.52 ms 206.66 ms
Median main-thread CPU 297.10 ms 156.87 ms
Median sampled V8 allocation 154.91 MB 79.22 MB
Median per-run p50 0.1345 ms 0.0680 ms
Median per-run p95 0.1867 ms 0.1081 ms

Every Linux pair improved CPU, p50, p95, and allocation; median paired changes were −43.1%, −50.1%, −44.0%, and −48.9%, respectively. A/A p50 was 0.13667/0.13592 ms and allocation 155.26/155.61 MB, but total CPU was 644.70/444.75 ms and p95 0.5208/0.2942 ms, so total/tail controls show substantial warmup or environmental variation. An earlier macOS campaign also improved every CPU/allocation pair but had one p95 regression of 27.7%; all five Linux p95 pairs improved 40–47%. Raw runs are retained. These owner measurements do not establish a whole-Gateway speedup.

Reproduce with node --expose-gc --import ./scripts/tsx.mjs scripts/perf/state-private-store-modes-measure.mjs --output <fresh-path> --allocations; --owner-source selects the saved parent permissions module and --counts captures opens separately. Gateway census uses the existing idle measurement with --fs-census --compile-cache and retains exited/nested worker counts plus ReadStream creation stacks.

The committed-write regression fails on the parent and passes after the fix. The revised permission/startup suites pass all 25 cases, including real Gateway config preflight after a simulated remount and rejected config/guard/schema admission. Five pre-existing macOS fixture assertions failed identically on the exact parent: the kernel strips setgid from foreign-group temporary directories before the tested function runs. Their assertions now preserve the actual initial mode; #194307 introduced those assumptions. Total test growth is 88 lines with a scoped allocation record, including seven lines repairing the existing native-picker readiness boundary. Focused permission/startup suites took 141.16 seconds including compilation; the new preflight regression took 2.230 seconds. The same new case also fails on the exact original parent and passes on the candidate on Linux.

The latest-stable upgrade test caught an additional pre-existing startup gap: after modes broaden on remount, strict credential reads run before Gateway lock acquisition. The first candidate repaired at that later lock boundary and still failed a direct foreground restart, although the package update itself passed. The final candidate repairs at the admitted preflight callback before those reads; the superseded lock hook and helper-level test were removed. A fresh package built from committed head 1e817a38b50a9 passes the complete published-stable upgrade and direct-remount replay: native update 214.246 seconds, then direct Gateway readiness in 5.613 seconds. Before any RPC, client/control directories are 0700 and both private databases are 0600. Identity/private-key fingerprint, explicit runtime pin, shared agent registration, and durable history survive both transitions. No Doctor runs after mode broadening. The package SHA-256 is e3236dc89b8af165a4818d64118cee14f4d708a310c96870d65aee8cd8f5cdef; managed children and the test container are cleaned up.

Local Codex autoreview of the complete candidate against the pinned parent is scoped-clean at P0–P2. pnpm check:changed --staged passed every stage except the dead-export scan. The exact parent reproduces its complete signature: 56 production exports, 30 full-tree exports, zero script exports. These are unresolved main regressions; the new Knowledge helpers come from #196767, and the remaining source-cutover attribution is retained with the lane evidence. No changed production owner appears in that signature. Both baseline and candidate runtime builds pass.

pnpm deadcode:unused-files passes the production scan with zero entries. The full-tree scan reports three unrelated files, reproduced identically on the exact parent: the dependency-cache benchmark and lifetime preload from #196685 (8743f1bf), and the npm transport test child from #196501 (09723cdc). Each has a real path-based consumer; the missing Knip entry modeling is an inherited main regression. The new benchmark has an exact executable entry and appears in neither failure list.

Initial Gateway measurements use 5,000 synthetic sessions and 62,000 workspace files (1.116 GB). Across two baseline controls and the candidate, each minute had zero worker births, 116 one-time native compile-cache reads, zero ReadStreams, and no repeated sibling-store opens during the idle window. This does not reproduce the reported sustained compile-cache workload or identify its ReadStream allocation. Startup sibling-file opens fell from 121–163 to 5–11, with different boot write counts; this is not a normalized speedup claim.

Full-scale Linux count acceptance passes against a cloned synthetic btrfs fixture: a 35.186 GiB agent database, 10,800 sessions, 212,888 transcript rows, and 62,000 workspace payload files. The existing benchmark's opt-in --write-interval-ms 500 sends real voicewake.set RPCs, checks every reply, and verifies final state through voicewake.get. Two baseline controls completed 120/121 writes with 480/484 opens per sibling SQLite family; the candidate completed 120 writes with zero sibling opens. These are four file-open attempts per family per commit, about 16 combined opens/s removed. Lock reads remain 246/252/248 per minute; no ReadStreams or pressure warnings were present. Timing and sampled-allocation passes run separately; no instrumented whole-Gateway speedup is claimed.

The count fixture uses Linux arm64, Node 24.22.1, four CPUs and the VM's fixed 64.7 GiB memory limit. Earlier 24/48 GiB container-cap arms triggered file-cache-driven worker retirement and are excluded from this comparison. In one such arm, 22 SQLite worker births caused 31,747 native compile-cache reads/minute; forced termination also leaves incomplete per-worker file counters. That separate pressure-owner PR #197039 is closed as a draft by maintainer decision; its sustained-pressure qualification remains incomplete. No production data, measurements, or deployment are involved.

Earlier cold campaign: adverse results retained. Unprofiled A/A/B windows each completed 120 writes. Total process CPU was 26.765/24.275/31.923 seconds, RPC p50 3.812/3.443/3.133 ms, and p95 17.611/13.804/36.334 ms. The candidate's total CPU and p95 are worse. All-worker profiling attributes the dominant work to usage-rollup backfill (SQLite iteration and zstd decoding). The original restored seed had no usage caches, so every arm repeated that work. Startup maintenance was already complete and cold storage is disabled. The later completed-backfill qualification and five warm comparisons are recorded below; they also fail the timing acceptance rule. These earlier cold results remain recorded. The proven open-count and owner-level gains do not waive this gate.

The ReadStream census covers fs.createReadStream and FileHandle.createReadStream; zero observed streams applies to this SQLite/RPC workload. External CLI history, JSONL archives, media, and transfers were not exercised. No owned direct new ReadStream constructors were found, but third-party direct construction and snapshots lost on forced worker termination remain coverage limits. Node native compile-cache reads are separately observed and are not a complete kernel syscall census. No speculative stream buffer-size change is included.

Hosted Codex found a measurement-only bug: timer-only runs with an explicit worker environment serialized the absent census directory as "undefined". Conditional propagation fixes it; the real-worker regression fails before the repair and passes after it. All-worker CPU profiling is now enabled for the normal profile path. The measurement regression and lint inventory pass (15 cases, 9.56 seconds including runner startup). The correction has scoped-clean local Codex review at P0–P2. Its final check:changed passes all gates except the unchanged, exact-parent dead-export signature.

CI run 42957483862 at d68dda6 failed four tests. This branch fixes its own missing inventory entry for the two intentional ReadStream._read instrumentation accesses, preserving the original receiver and read size. Run 42962001391 at 5054bb5 retains only three unchanged failures. All three reproduce on exact parent 95c2a0db619e9: shutdown-prelude ordering (73a0ce119fde, #196923), old cleanup-failure custody (22b29a76373e, #196823), and compact Telegram answer JSON (3d6699cb9d95, #196756). These are unresolved main regressions, with source attribution and parent replay logs retained. They are not counted as green or as performance evidence.

Run 42967677037 at 1e817a38b50a9 completed failed. Those three failures reproduce again on its literal main parent b35c17e8abcd. Two newly exposed main tests also failed: Activity denial refresh and Home read-only visibility. Activity reproduces on that parent and was introduced by #196939 (e51bb0455e9d), which expects a blanket denial already removed by #196446 (4005ca2f0faa). Home passes both the selected parent replay and one replay with its existing capture mode; its CI failure remains unresolved and is not eligible for an inherited-failure waiver.

The earlier native-picker failure sampled the CLI log before asynchronous model discovery had initialized. The test now waits for the fixture's actual native initialization request before taking that immutable log snapshot; all existing menu, discovery, native-request, and no-provider-HTTP assertions remain. The hosted failure is the observed red; the parent selected case and ordered pair passed locally, so no deterministic local red/green claim is made. This is a test-only repair with no production-input changes. Exact-head CI, performance acceptance, and final-head ClawSweeper clearance remain required; the completed final CI disposition is recorded below.

The picker readiness repair passes its focused case (10.301 seconds; 62.01 seconds including Vitest compilation). Targeted types, lint, formatting, and the line ratchet pass. The required staged changed-file check passes every selected stage except the identical 56 production / 30 full-tree / zero script dead-export signature, with no added or removed findings. Fresh independent Codex review is scoped-clean at P0–P2. Production inputs are unchanged from the package and runtime proof at 1e817a3.

Earlier warm Gateway campaign: historical performance hold

The completed-backfill fixture has also completed real integrity verification, and its canonical clean-close seal remains valid on the same live btrfs mount across restarts. All session/transcript/checkpoint digests are unchanged. Startup added 345 free SQLite pages, with no increase in live allocated pages or change to the 32,400 cached usage values. No integrity scan or pressure event ran in these measured windows.

Warm count A/A/B each completed 120 acknowledged writes and verified final state. Both baselines made 480 opens per private SQLite family; the candidate made zero. State-lock reads were exactly 246 in every arm. Worker births and observed ReadStreams were zero. Native compile-cache reads were 0/0/2; the candidate reads were two distinct lazy modules, not repeated worker graphs. Count-arm timings are excluded because unrelated validation ran concurrently.

The timing campaign used two A/A controls followed by five serial interleaved pairs, with 60 seconds of process warmup and a 60-second window. CPU/heap profiling and filesystem census were disabled; the committed harness still enables its normal GC tracing and diagnostics. Gateway CPU includes all its threads; main-thread CPU is separate. Process-tree CPU was not sampled in these timing arms. Every arm verified 120 writes. A/A Gateway CPU was 2192/2198 ms, main CPU 911/814 ms, RPC p50 6.60/6.40 ms, and p95 9.19/9.92 ms.

Pair Gateway CPU ms, A → B Main CPU ms, A → B RPC p50 ms, A → B RPC p95 ms, A → B
1 2635.0 → 2208.3 976.9 → 845.5 6.76 → 6.29 9.99 → 8.08
2 2140.8 → 1827.4 862.7 → 653.0 6.63 → 3.29 9.72 → 7.83
3 2116.9 → 2110.9 848.7 → 900.5 6.35 → 6.28 8.86 → 10.86
4 2243.9 → 2201.6 872.3 → 867.9 6.72 → 6.53 9.85 → 12.61
5 1430.0 → 2617.7 517.3 → 963.7 2.97 → 6.00 4.46 → 13.79

Median p50 improves 5.2%, but median p95 worsens 11.7% (9.72 → 10.86 ms), Gateway CPU worsens 2.8%, and main CPU worsens 0.6%. Pair 3/4/5 p95 increases are 22.5%/28.0%/209.1%. No result is discarded or repeated to seek green. Different V8 reducer phases and a faster fifth baseline are observed, but they do not causally explain the adverse tails. The permission owner and open-count gains do not waive this whole-Gateway hold. Separate allocation comparisons are complete and recorded below.

CI run 42977676062 tested head 710e30f through merge 2b2795bf3c4c into main parent 5adfac3. Native picker actually passed in 13.311 seconds, and Home read-only actually passed in 33.544 seconds (one pass, zero skipped). Only the known sticky-SIGTERM custody and session-rewind ordering failures remain. Both failures reproduce on literal parent 5ad: sticky SIGTERM custody is drained rather than retained (58.91 seconds including compilation), and session rewind yields [false,false,true] rather than [true,false,true] (30.83 seconds). All 66,618 source blobs and modes match the exact parent tree. Introducing changes remain #196823 (22b29a7) and #196923 (73a0ce1). CI remains failed, not green.

Linux runtime provenance: the performance candidate was built from the frozen final preflight source before commit 1e817 existed, so its original build metadata retains 95c2. All 66,510 tracked source blobs were subsequently verified equal to 1e817, and preserved generated chunks confirm the admitted preflight call and absence of the old hot-path/lock-hook calls. No metadata was edited. The later 710e commit changes only two test/allocation files, and 5bdf1dd changes only benchmark recording and its documentation. This capsule is distinct from the upgrade-test package, which was built from committed 1e817 and carries that exact stamp.

The separate main-isolate allocation campaign also completed its two A/A controls and all five interleaved pairs, with 120 verified writes in every arm. Median sampled allocation fell from 49,691,144 to 40,268,128 bytes (19.0%); A/A was 41,698,368/42,028,072 bytes. Baseline range was 40.34–56.84 MB and candidate range 37.90–42.11 MB; every pair improved, by 2.8–33.3%. Sampling used the existing 32 KiB interval with collected objects included and excluded worker-isolate allocation. Some baselines contain additional ESM dependency-graph/reader work, so this is a bounded observed comparison, not a claim that the permission edit alone removes all of that allocation. This earlier campaign established the historical hold. The explicitly authorized ABBA follow-up above now satisfies the revised performance criterion; earlier adverse observations remain retained.

The runtime change is net −2 lines. Reusable measurement tooling grows 473 lines, separately from 88 net test lines; that tooling supplies the committed owner workload and optional worker/filesystem/stream census needed to reproduce the investigation. No cache, schema, configuration, dependency, or durability policy is added.

Earlier, ClawSweeper completed a re-review on previous head 710e30fe48caf1a1de35554acf925605f99c89e1. Both code findings are resolved and there are no new actionable code findings, but one unchecked merge-risk item retains the performance hold. The numbered response records the fixes and adverse measurements. That historical hold was cleared by the final-head review and completed ABBA evidence recorded above.

The ABBA recorder is committed at 5bdf1dd3ca2610c84e7c45fdff63ce9512e0b4ff: actual request intervals, bounded individual main-isolate GC events, and optional one-second VM/cgroup counter samples in the benchmark parent. Production runtime remains unchanged. All 23 affected existing tests pass; a separate real-GC smoke check verifies event epoch bounds, count and duration accounting. Targeted types/lint and fresh isolated Codex review pass. Required check:changed --staged --base 710e30fe48caf1a1de35554acf925605f99c89e1 passes every selected gate except the identical attributed Knip signature (56 production / 30 full-tree / zero scripts, no added or removed entries). Recorder growth is 75 tooling lines and 12 documentation lines, with no additional tests or runtime lines. The completed ABBA results are recorded above; exact-head CI qualification and ClawSweeper clearance subsequently completed through the native inherited-failure route recorded above.

Keep remount recovery at admitted Gateway startup and Doctor rather than repeating sibling-store permission opens after every shared-state commit. Add owner-boundary regression coverage and opt-in worker, filesystem, and allocation measurements.
@clawsweeper

clawsweeper Bot commented Nov 11, 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: M labels Nov 11, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 11, 2026
@steipete
steipete marked this pull request as ready for review November 11, 2026 04:10
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 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-11T09:26:12.777794Z 5bdf1dd 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: d68dda6cb7

ℹ️ 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".

...options.env,
OPENCLAW_IDLE_MEASURE_CHANNEL: channelName,
OPENCLAW_IDLE_MEASURE_TIMERS: process.env.OPENCLAW_IDLE_MEASURE_TIMERS,
OPENCLAW_IDLE_MEASURE_FS_CENSUS: censusDirectory,

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.

P2 Badge Omit the census environment variable when counting is disabled

When running --timers without --fs-census, workers created with an explicit environment receive OPENCLAW_IDLE_MEASURE_FS_CENSUS: undefined. Node converts that value to the string "undefined", so the worker enables census recording despite it being disabled. Its next measurement snapshot calls saveCensus() and throws ENOENT while opening undefined/<pid>-<threadId>.json.pending, terminating the worker and invalidating the measurement. This also affects nested workers created through worker-native-lifecycle.worker.ts, which supplies an explicit environment. I reproduced the failure with the preload on Node 24.15.0. Only propagate this variable when censusDirectory is set.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 429c6c7. The worker environment now includes OPENCLAW_IDLE_MEASURE_FS_CENSUS only when a census directory is set (scripts/perf/idle-gateway-measure-preload.mjs:168). A real worker with an explicit empty environment reproduces the old string "undefined" and now observes the variable absent; test/scripts/idle-gateway-measure-preload.test.ts passes. Final targeted tests, types, lint, format, and independent Codex review pass. The existing census runs supplied a valid directory and their counts are unaffected.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. clawsweeper:intake:bug Preliminary submission classification; full source review pending. labels Nov 11, 2026
@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Move private-store permission restoration from ordinary shared-state writes to admitted Gateway startup while preserving Doctor repair.

Example: A serving Gateway processes 120 voicewake.set writes.

  • Before: The measured baseline attempts 480 opens per sibling SQLite family.
  • After: The candidate makes zero sibling-store opens and verifies the final written value.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, correct runtime reduction with relevant shipped-path and upgrade evidence; exact-head CI remains failed on documented inherited cases.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (live_output): Supplied real-Gateway RPC observations cover verified writes, eliminated sibling opens and the complete balanced timing campaign on Linux arm64/btrfs; package upgrade and direct-remount restart evidence exercise the unchanged production fix before credential reads.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: Routine shared-state writes spend CPU and allocations reopening unrelated private stores.
Reason: The maintainer-authored direction removes measured waste without new runtime machinery, and the completed balanced follow-up meets its revised acceptance criterion.

Merge readiness

✅ Ready for maintainer review

This PR is useful and has no actionable code findings; the balanced follow-up clears the earlier performance hold, while required CI remains blocked by recorded inherited failures.

Priority: P2
Reviewed head: 5bdf1dd3ca2610c84e7c45fdff63ce9512e0b4ff

Before merge

None.

Findings

None.

Agent review details

How this fits together

Shared-state commits harden their own SQLite files; Gateway startup and admitted Doctor repair restore sibling credential and service-store modes before their owners read them.

flowchart TD
  A[Gateway startup] --> B[Config and state admission]
  B --> C[Private store restoration]
  C --> D[Strict credential reads]
  E[Doctor repair admission] --> C
  F[Shared state commit] --> G[Own database and sidecar hardening]
Loading

Technical review

Best possible solution:

Retain the focused startup relocation and resolve the required CI gate using the recorded inherited-failure evidence before landing.

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

Current-main source retains the redundant invocation, and supplied real-Gateway baseline measurements demonstrate repeated sibling opens; this read-only review ran no target code.

Is this the best way to solve the issue?

The smallest complete fix reuses the existing restoration owner at admitted startup, removes its ordinary-write invocation, and preserves Doctor custody and strict store admission.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Private-store repair invocation changes intended behavior with a stated reason (bc914b5: Restore fsGroup-broadened private stores before their strict owners read them.)
  • Startup credential preparation keeps the original intent (5f40d22: Automatically prepare credentials after config and state admission and before startup consumers.)
  • Gateway performance measurement keeps the original intent (9395f44: Measure recurring work through an isolated real Gateway with synthetic state.)
  • Filesystem permission test expectations keeps the original intent (bc914b5: Verify unchanged shared roots and refused targets; capturing their actual initial modes preserves those invariants across platforms that strip setgid.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit a35d7cf adds src/state/openclaw-state-db-permissions.ts:53 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a35d7cffa8ab; files: src/state/openclaw-state-db-permissions.ts)
  • Taj Salawu: Raw commit bc914b5 adds src/state/openclaw-state-db-permissions.ts:237 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: bc914b586dd3; files: src/state/openclaw-state-db-permissions.ts)
  • Jason (Json): Raw commit 5f40d22 adds src/commands/startup-config-preflight.ts:129 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 5f40d22a366d; files: src/commands/startup-config-preflight.ts)

PR surface

Source -2, Tests +88, Docs +14, Other +479. Total +579 across 17 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 2 3 5 -2
Tests 6 144 56 +88
Docs 2 16 2 +14
Config 0 0 0 0
Generated 0 0 0 0
Other 7 494 15 +479
Total 17 657 78 +579

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
Runtime production versus tests Runtime +3/−5 lines; tests +144/−56 lines The runtime fix shrinks by two lines; net 88 test lines cover committed-write isolation, startup remount recovery, worker environment propagation and readiness.
Benchmark options 4 new idle-measurement flags Filesystem census, compile-cache observation, periodic writes and host samples are opt-in developer measurements; no user runtime setting or default changes.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit. Replaced prior rating: 🦐 gold shrimp.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 other: Current PR review selected no merge-risk labels.

Label justifications:

  • P2: Removes measured recurring filesystem and allocation work while preserving startup recovery; no urgent user-facing outage is introduced or established.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit. Replaced prior rating: 🦐 gold shrimp.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.

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-11T04:39:07.021Z sha d68dda6 :: blocked before merge. :: [P2] Omit the census variable when filesystem counting is disabled | [P2] Account for the two new stream instrumentation suppressions
  • reviewed 2026-11-11T08:28:50.913Z sha 710e30f :: blocked before merge. :: none

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

@steipete

Copy link
Copy Markdown
Contributor Author

Addressing all three open items in review comment 6787199863 (reviewed d68dda6). Final candidate: 710e30f. The source links below pin the current committed implementation at 710e30f.

  1. Omit the census variable when counting is disabled — fixed. Commit 429c6c7 conditionally supplies the variable in both the worker environment and Gateway launch environment. The real-worker regression runs the timers-only preload, starts a worker with an explicit empty environment, checks the census variable is absent, and requires a clean child exit. It fails on the pre-fix head and passes with the repair. Previously recorded filesystem-counted runs supplied an actual directory and were unaffected.

  2. Account for stream instrumentation suppressions — fixed. Commit 5054bb5 adds the exact two-directive signature to the existing suppression owner, documenting why the diagnostic observer accesses Node's allocation boundary. The observer retains the original receiver/read size. The focused suppression inventory check passes; its explicit contract remains intact.

  3. Whole-Gateway CPU and p95 deterioration — unresolved; landing remains held. The committed RPC loop verifies every reply and final readback. After legitimate usage backfill and full integrity verification, warm count A/A/B each verified 120 writes: 480/480/0 opens per private SQLite family, 246 lock reads each, zero worker starts, and 0/0/2 native compile-cache reads (two distinct lazy candidate modules). Two timing controls plus all five interleaved pairs were retained. Median p50 improved 5.2%, but p95 worsened 11.7% (9.72 to 10.86 ms), Gateway CPU worsened 2.8%, and main CPU worsened 0.6%. Individual p95 increases were 22.5%, 28.0%, and 209.1% in pairs 3–5. The full table and ranges are in the PR body. No integrity scan or pressure event overlapped the windows. GC/host evidence does not causally attribute the adverse tails; no result was dropped or rerun to seek green.

    Separate main-isolate allocation A/A and five interleaved pairs completed: median 49.69 to 40.27 MB (−19.0%), controls 41.70/42.03 MB, all five pairs improved. Worker allocation is outside those samples; the earlier writer-owner benchmark separately proves its allocation reduction. These gains do not waive the timing gate. Item 3 remains open, and this PR is not recommended for landing on current evidence.

The missing startup upgrade proof is now complete. The published-stable package upgrades to the fresh candidate package built from 1e817a3 through native update in 214.246 seconds; direct foreground Gateway restart after simulated remount reaches readiness in 5.613 seconds. Before any RPC, client/control directories are 0700 and both private databases are 0600. Identity/private-key fingerprint, explicit runtime pin, shared agent registration, and durable history survive both transitions, with no Doctor after mode broadening. The package SHA-256 is e3236dc89b8af165a4818d64118cee14f4d708a310c96870d65aee8cd8f5cdef; managed children and the synthetic test container were cleaned up. This proof caught and repaired the earlier too-late lock hook: restoration now runs in the admitted preflight callback before credential reads, with a real preflight remount regression. The superseded lock hook was removed.

Final CI run 42977676062 actually executed and passed native picker (13.311 seconds) and Home read-only (33.544 seconds). Only sticky-SIGTERM custody and session-rewind ordering fail; both reproduce on literal main parent 5adfac3, with introducing #196823 / 22b29a7 and #196923 / 73a0ce1. CI is failed, not green. The later readiness repair is test-only; production inputs match the upgrade-tested preflight fix.

@clawsweeper re-review

Please assess the resolved source/test items against the final head while retaining the explicit unresolved performance hold. No merge or auto-merge request has been submitted.

@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot removed the status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. label Nov 11, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Nov 11, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Final-head response for 5bdf1dd3ca2610c84e7c45fdff63ce9512e0b4ff to every open item in the latest ClawSweeper review:

  1. Resolve merge risk — performance hold: The maintainer explicitly replaced the earlier per-cell stop with the predeclared balanced ten-pair ABBA criterion. The complete result below passes it without any measured-arm exclusions. The source change remains deletion of repeated sibling restoration from the ordinary permission owner, with the existing repair at admitted startup before strict reads. It adds no steady-state request work. Both adverse candidate p95 observations remain included and are not attributed to GC without evidence.

The earlier two source items remain fixed at this final head: conditional census environment propagation is at preload line 168, and the two intentional stream directives are registered at inventory line 214. The real-worker regression and suppression inventory pass; fresh isolated Codex review of the recorder delta is scoped-clean at P0–P2.

Completed ABBA follow-up: performance gate passes

At final head 5bdf1dd3ca2610c84e7c45fdff63ce9512e0b4ff, the predeclared A, A, then ABBA ×5 campaign completed all 22 valid arms and 2,640 acknowledged writes with durable final readback. The median of ten signed paired p95 differences is −0.664919 ms (median paired percentage −11.013%), compared with the original A/A spread 3.303135 ms (5.990851 versus 9.293986 ms). Eight pairs improved; two increased by 0.537005 and 0.118833 ms. AB and BA median differences are −0.728252 and −0.580751 ms. No measured request, arm or pair was excluded.

Median paired Gateway CPU changes by −92.077 ms (−6.540%); main-thread CPU by −31.945 ms (−6.631%); p50 by −0.217750 ms (−7.177%). These are paired statistics, not a difference of group medians. The same host, four-CPU quota, qualified ~35 GiB synthetic btrfs database, 10,800 sessions, 62,000 payload files, real writes every 500 ms, and 60-second warmup/window were retained. Both runtimes use the same committed recorder; production inputs remain identical to the reviewed preflight fix at 1e817a38b50a96503774590eac69765873686c7c.

Pair/order p95 A → B ms B−A ms Gateway CPU A → B ms Main CPU A → B ms
1 AB 8.610567 → 7.796606 -0.813961 1919.298 → 1644.009 710.462 → 630.646
2 BA 8.448635 → 8.203290 -0.245345 1547.278 → 2060.866 531.632 → 743.356
3 AB 8.120020 → 8.657025 +0.537005 1741.252 → 1737.462 613.789 → 583.471
4 BA 13.811996 → 11.151991 -2.660005 2026.474 → 2039.595 674.236 → 614.005
5 AB 6.080683 → 5.352431 -0.728252 2401.865 → 1465.194 508.780 → 490.857
6 BA 4.520679 → 4.639512 +0.118833 1372.124 → 1290.586 460.950 → 430.159
7 AB 10.243028 → 6.520934 -3.722094 1502.579 → 1395.345 502.845 → 469.746
8 BA 4.224220 → 3.643469 -0.580751 1398.884 → 1277.438 465.523 → 418.365
9 AB 4.961305 → 4.342845 -0.618460 1399.171 → 1328.238 451.938 → 464.394
10 BA 7.078769 → 6.367392 -0.711377 1396.813 → 1294.198 476.900 → 435.431

Individual main-isolate GC intervals and request intervals were recorded for every arm, plus raw V8 logs and 61 host samples per arm (1,342 total). All diagnostic collection/drop counters are zero. The p95-determining requests in both adverse candidate arms have zero main-isolate GC overlap and no recorded throttle/OOM/swap/major-fault/reclaim change in their intersecting one-second host intervals. They remain retained adverse observations; no causal GC or host explanation is asserted for them. Both order strata improve. The runtime removes sibling permission repair from ordinary commits and invokes the existing owner at admitted startup before strict credential reads; it adds no steady-state request work. The combined mechanism and full paired results satisfy the maintainer's revised performance criterion.

Arm p50 ms p95 ms GC count GC total ms Longest GC ms
AA1 3.198 5.991 41 41.087 1.699
AA2 5.880 9.294 32 76.315 23.018
P1 A 6.246 8.611 15 40.250 21.237
P1 B 5.130 7.797 20 37.830 9.472
P2 B 6.025 8.203 10 43.306 21.367
P2 A 3.146 8.449 10 42.160 19.847
P3 A 4.399 8.120 14 32.561 17.970
P3 B 2.945 8.657 11 40.618 25.418
P4 B 3.006 11.152 10 104.922 75.932
P4 A 4.064 13.812 17 74.941 42.447
P5 A 3.014 6.081 9 44.195 31.799
P5 B 2.917 5.352 9 50.957 33.538
P6 B 2.751 4.640 9 62.522 40.775
P6 A 2.999 4.521 11 31.418 21.136
P7 A 3.090 10.243 25 65.695 30.464
P7 B 2.873 6.521 12 50.614 30.537
P8 B 2.830 3.643 3 17.688 13.832
P8 A 2.940 4.224 9 42.029 23.016
P9 A 2.948 4.961 10 49.265 35.490
P9 B 2.819 4.343 37 71.824 30.412
P10 B 2.762 6.367 9 32.907 24.221
P10 A 2.980 7.079 9 50.261 33.668

The unchanged disk guard stopped the original arm 5 during startup, before any measurement. Its failed-start artifacts are retained. Cleanup of old downloaded Actions log-cache archives occurred outside measured windows, recovered 10.89 GB, and was followed by an explicit successor manifest for the remaining 18 arms. The original controls, first pair, pair assignments and guard baseline were preserved. The same fixture seal and all 21 recorded source/build hashes remained valid; no integrity prime or pressure experiment was needed. There was no further interruption.

Limits: two A/A control runs provide one observed spread, not a robust variance estimate. Exact GC overlap covers the main isolate; host counters have one-second resolution, PSI is unavailable, and process-tree CPU is not sampled. No outlier is discarded or retrospectively explained away. Earlier adverse campaigns remain historical evidence below; their former performance hold is superseded only by this explicitly authorized balanced follow-up. Production opensnoop after deployment remains outstanding; no production access or deployment occurred.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

Copy link
Copy Markdown
Contributor Author

Exact final-head CI qualification

CI 42994793647 for 5bdf1dd3ca2610c84e7c45fdff63ce9512e0b4ff completed failed. The actual failing-job checkout is merge 8469423e4604099d7ac21bb990acef23c960d265, with ordered parents 8830ff6d8ed6bbbc0ec15698428a7fcaaeb38deb and this PR head. Only two substantive jobs failed; the CI gate aggregates them.

Both failures reproduce on that literal main parent with all 66,632 source blobs/modes verified and the exact pinned Bun runtime:

The 22 determining test/owner/runtime inputs match both the literal parent and actual tested merge. Initial replays stopped before execution because container recovery removed its Bun cache; those setup failures are retained and are not assertion proof. The canonical staging script restored the pinned Linux runtime with checksum and revision verification before the two successful reproductions. No other tests were rerun.

These are unresolved main test regressions. The native inherited-failure route will retain their exact job IDs, checkout/source/artifact hashes and passing scoped proof; it does not label failed CI green. Required local changed-file checks likewise retain the already-attributed Knip signature. The complete ABBA campaign passes the separately authorized performance criterion. Final-head ClawSweeper must show zero open items before any merge.

@steipete
steipete merged commit 2598631 into main Nov 11, 2026
178 of 183 checks passed
@steipete
steipete deleted the steipete/perf-micro-compile-cache-and-lock-reverify-opens-20260919 branch November 11, 2026 10:40
@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 12, 2026
)

* perf(state): repair private store modes only at startup

Keep remount recovery at admitted Gateway startup and Doctor rather than repeating sibling-store permission opens after every shared-state commit. Add owner-boundary regression coverage and opt-in worker, filesystem, and allocation measurements.

* test(perf): exercise shared-state writes through Gateway RPC

* fix(perf): preserve disabled census in worker environments

* test(perf): account for stream census instrumentation

* fix: repair private store modes before startup credential reads

* test: wait for native picker discovery initialization

* test(perf): correlate Gateway latency with GC and host events
RomneyDa added a commit that referenced this pull request Nov 16, 2026
Backport only the canonical native-picker test repair. Published model rows
can precede asynchronous native initialization; wait for the existing
initialization receipt before reading the CLI-call log. Keep every model,
request, and no-provider-call assertion unchanged.

Partial backport of commit 2598631

Remote release job 133416664998 reproduces the missing discovery-call race.
The candidate test matched the canonical parent exactly. Local behavioral
reproduction timed out during runtime build, before the test executed;
behavioral proof remains pending, not claimed green.

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 17, 2026
Backport the bounded private-store permission repair from #194307 and the
required startup placement from #197009 and first-create fix from #188464.
Keep descriptor identity, ownership, link and world-access refusals, and Doctor
current-authority admission.
Do not re-open sibling stores after each shared-state commit.

Adapt Kubernetes documentation to the stable branch. Exclude the companion
performance instrumentation, benchmarks and unrelated Telegram fixture edits.

(cherry picked from commit bc914b5)
(partially cherry picked from commit 2598631)
(cherry picked from commit 3a70caa)

Co-authored-by: sallyom <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Josh Avant <[email protected]>
Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 17, 2026
Release adaptation: backport only the Socket Mode reconnect waiter owner
and focused regression tests; omit the performance harness and main-only
transport documentation addition. Add listener-count assertions for timer
settlement and disconnect cancellation; adjust the test allocation to 41.

Companion dispositions: #198007 is specific to SDK 3.2 callback/abort
semantics and is not applicable to this line pinned to socket-mode 3.1.0.
#197657 retires main allocations; other audit hits (#200523, #197009,
#194964, #184507, #192197, #192051, #190003, #189850) only overlap the
excluded shared perf README. No later #188745 mention through bd692e9.

(cherry picked from commit a1d1da7)

Co-authored-by: RomneyDa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commands Command implementations docs Improvements or additions to documentation merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant