Skip to content

fix: keep credential diagnostics responsive on slow filesystems - #200222

Merged
steipete merged 4 commits into
mainfrom
steipete/lane2535-auth-diagnostics-ready
Nov 16, 2026
Merged

steipete merged 4 commits into
mainfrom
steipete/lane2535-auth-diagnostics-ready

Conversation

@steipete

@steipete steipete commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes: cold credential reads, updates, and migration diagnostics can freeze the Gateway while the filesystem is busy.

Related: #197510, #200136, #200192.

User Impact

Credential operations continue waiting for their required files without blocking other Gateway work. Existing migration refusals, provider scope, credential authority, FIFO admission, and reader retirement remain intact. No configuration or migration is required.

Why This Change Was Made

The async row reader still reached synchronous legacy-file presence checks and diagnostic reads. Prepare those facts asynchronously through the existing file-observation and diagnostic owners; live readers subscribe to their own candidate paths and release subscriptions when disposed. Credential effects consume the prepared refusal and retain their final authority checks without an intervening await. Shared-store bootstrap prepares physical identity and source facts through the existing asynchronous admission hook.

Production grows by 291 lines across 20 modules (tests/support: +210 lines) to preserve live-reader observation and the named synchronous SDK/maintenance contract. This adds no cache, worker, schema, configuration, or protocol. The normal measured path costs about 0.64 ms more; this change targets responsiveness rather than a general throughput gain. Remaining generic writer reverse lookup, source-cohort comparison, credential-boundary canonicalization, explicit secrets rebuilds, and deprecated synchronous SDK paths are outside this stage.

Evidence

The motivating read-only Team observation was 25c9790, 2026-11-16 05:02 PST: MAIN spent 1.97 s in openat2(O_CREAT) on ~/agents/roboclaw-x/agent/openclaw-agent.sqlite.plugin-model-catalog.lock, with btrfs_create → start_transaction → wait_current_trans; scheduler:update.remote-model-catalog stalled the loop for 2,002 ms during a btrfs commit triggered by managed worktree removal. That specific lock was removed in #200136; this PR closes additional auth paths found by the same audit. No Team data was copied or changed.

  • Four guard regressions fail on exact stage-1 production, then pass with this change. Candidate consumer proof: 177/177 across 10 files; final integration replay: 63/63 across five files, with wrapper source verification. Required stable-prefix guard passes 15/15 on the final publication source. Coverage includes late legacy restoration, provider scope changes, disposal, source retirement, shared bootstrap settlement, updates, FIFO admission, and credential/config consumers.
  • Twenty serialized processes include A/A controls and interleaved no-delay/two-second-delay arms. Each uses an actual synthetic 35 GiB queried database with 5,000 sessions and an empty canonical auth row, and asserts the exact fixture-provider migration refusal. Scoped main-thread synchronous calls fall from three to zero. The two-second legacy-file read delay changes median maximum heartbeat gap from 2,013.721 to 16.980 ms (candidate worst 32.374 ms), while the operation still waits roughly two seconds.
  • Without injected delay: median owner time 5.518 → 6.156 ms; main CPU 2.768 → 3.110 ms; parent CPU 14.980 → 15.646 ms; main-V8 allocated bytes 1,333,936 → 1,336,292. A/A owner range is 5.297–7.621 ms and allocation 941,520–2,110,968 bytes. These observed costs are retained; no speed or allocation improvement is claimed. Delayed candidate CPU/allocation includes the 1 ms heartbeat continuing during the async wait. APFS plus injection is not direct btrfs proof; OS cache is uncontrolled and child/native allocation is excluded.
  • Final-base pnpm check:changed completed: production types, all 29 test type graphs, lint, format, and structural/security/worker/schema/import guards passed. The command exits 1 on unused exports: 116 entries, including 112 matched to a clean earlier baseline and four package-release exports added by feat(update): keep each release in its own directory on OpenClaw-owned installs #198835 / b868ed4c21ba0. A clean exact parent 9323fb9d reproduces all 116 entries with zero candidate-only findings. Parent-relative history proves the four new declarations and their absence of external production callers in feat(update): keep each release in its own directory on OpenClaw-owned installs #198835; the older 112 remain baseline matches, with individual causal attribution incomplete. This is not a blanket inherited-CI waiver. The earlier exact-667 failures (ProjectedContinuationSource, partContinuation) were introduced by fix(ui): continue self-woken work in the turn that started it #200056 / 24385a20428a. Fresh isolated Codex review completed three clean passes through P2. No changed module is runtime-imported by the Control UI.

Earlier stage-1 native-staging runs had two unexplained 10 s timeouts; passing replays do not establish a fix or inherited cause. The separately attributed main watch-benchmark regression (#197445 / 36afa92b2370, exact parent 4a74c61ae7c438587bc272840d180d16f7c5a283) also remains a follow-up. This PR does not change those tests or claim a global zero-sync result. Exact-head CI and final-head ClawSweeper review will gate landing.

Consumer repair: CI run 43935316801 at a59eac28 exposed four failures in three fixtures. The admission interceptor now forwards the existing async preparation callback; the pure diagnostic fixture supplies its affected provider; and the permission-error fixture intercepts the asynchronous identity inspector. Existing rollback, provider-isolation, and legacy-ownership assertions are unchanged. Exact-head local reproduction was four failures and one passing control; the same five cases pass after the repair. Both affected test type graphs, scoped lint/format, and a fresh isolated Codex delta review pass. Production is unchanged.

Real isolated built-Gateway proof also passed (1/1, generation verified) on a59eac28, whose 20 changed production modules are byte-identical to final fc5bf62e. Two concurrent MAIN-initiated legacy diagnostic reads were held for 2,183.079 ms. During that hold, three health RPCs returned in 32.183/25.475/25.542 ms and an unrelated real-model turn completed in 2,099.627 ms with the expected terminal reply. The affected session retained its provider-specific migration refusal and Doctor instruction. Its total 65,923.944 ms includes failed loopback-only synthetic provider retries; this proves eventual refusal, not immediate pre-network refusal. Health payloads were cached and retained a startup CPU-degraded flag, so RPC timings and the completed real-model turn establish responsiveness, not a newly sampled healthy event-loop state. APFS plus targeted async read injection; all owned processes/state were cleaned up. Full sanitized receipts are in the accompanying PR comment.

A subsequent CI failure in run 43941147230 was confined to an obsolete screenshot-positioning scroll in the UI ACK ownership test. Commit 21febc760a6f5 deletes only that action; all draft, tool visibility/content, ACK/history ordering, continuation, and Stop-target assertions remain. The scroll was introduced for screenshots in #155746; #178793 removed the screenshots but left this action. That is provenance, not an established introducer of the timing failure. The unchanged exact main-parent case passed locally, so no inherited-failure exception is claimed. All four cases pass both on that parent with the fix and on the exact PR source with the same one-line fix; formatter and isolated Codex review are clean. Production is unchanged. New exact-head CI and zero-open final-head Claw review gate landing.

While final CI was running, main also received the same UI scroll deletion in #200183 and a resolved-command-row locator in #200202. The merge retains both compatible fixes; no auth production file changed on main. This PR does not claim either peer change as newly introduced auth behavior.

CI run 43946411593 tested 21febc76 against main 800bd59c and exposed a main integration regression: #200203 moved the identity helper but missed an OAuth caller introduced by #200192. The exact main parent reproduces TS2724; the build and affected UI collection logs report that same missing export. Main already repairs the import in #200242 / 0879f3e9. Final head fc5bf62e55c79c64d43e77848a2bd71e6cc79311 integrates that material dependency without conflicts. All 20 authored production modules remain byte-identical; the peer UI fixes are retained and no longer part of this PR's diff. Core types pass; the two affected browser fixtures pass 8/8, compiled generation verified, and fresh isolated Codex P0–P2 review is clean. The failed run remains failed; fresh exact-head CI and zero-open Claw review are required.

Prepare legacy source presence, provider diagnostics, and shared-store identity through the existing async admission and observation owners. Keep live candidate subscriptions scoped to readers and preserve final credential effect checks without an intervening await.

Four serving-boundary guards fail before the fix. Synthetic two-second legacy-file reads reduce the heartbeat gap from 2014 ms to 17 ms while preserving provider-specific migration refusal. Normal measured owner time increases by 0.64 ms; no new cache, schema, or configuration.
@clawsweeper

clawsweeper Bot commented Nov 16, 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 agents Agent runtime and tooling size: L labels Nov 16, 2026
@steipete
steipete marked this pull request as ready for review November 16, 2026 19:03
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 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-16T20:40:07.588247Z fc5bf62 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.

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ Security sensitive changes

This maintainer PR changes sensitive security components.

No secops approval is required. This comment is informational because the PR author has Maintain or Admin access.

  • Current SHA: fc5bf62e55c79c64d43e77848a2bd71e6cc79311
  • Maintainer: @steipete
  • Repository role: admin

These security sensitive changes were made:

  • src/agents/auth-profiles/authorization.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/file-state.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/inline-usage-publication.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/inline-usage.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/legacy-source-diagnostic.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/runtime-read.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/shared-store-bootstrap-async.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/source-check.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/store-read.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/store-update-publication.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/store-update.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/store-updater.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/store.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/auth-profiles/usage-write.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/model-auth-provider-admission.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/model-auth-provider.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/sessions/auth-storage-types.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.
  • src/agents/sessions/auth-storage.core.ts: Controls credential persistence, secret resolution, or redaction. Check storage permissions, credential scope, and exposure in logs or responses.

Carefully review these changes before merging.

@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. P2 Normal backlog priority with limited blast radius. 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 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR prepares credential-file presence, migration diagnostics, and shared-store identity asynchronously.

Example: Reading legacy credentials takes two seconds while another agent is working.

  • Before: The synchronous diagnostic read blocks unrelated Gateway work.
  • After: The diagnostic still waits, while health requests and an unrelated real-model turn complete.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) A focused owner-preserving repair with relevant Gateway proof, resolved prior findings, and no newly identified defect; pending CI is not represented as passing.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): Public logs describe an isolated built Gateway on production-identical source: delayed actual diagnostic reads allowed health RPCs and a real-model turn to complete, followed by the expected provider-specific refusal; APFS injection establishes responsiveness, not direct btrfs reproduction or immediate pre-network refusal.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Credential diagnostics can freeze unrelated Gateway requests when filesystem operations are slow.
Reason: The maintainer-approved direction fixes an observed responsiveness failure while preserving existing credential and migration policy.

Merge readiness

✅ Ready for maintainer review

This PR addresses a concrete Gateway responsiveness problem, resolves the earlier findings, and introduces no identified correctness or security defect; exact-head CI remains pending.

Priority: P2
Reviewed head: fc5bf62e55c79c64d43e77848a2bd71e6cc79311

Before merge

None.

Findings

None.

Agent review details

How this fits together

The auth-profile owner combines persisted credential rows, legacy-file observations, and migration policy into credential reads and writes consumed by model and session authentication.

flowchart TD
  A[Model and session requests] --> B[Auth profile owner]
  B --> C[Async file preparation]
  B --> D[Existing database workers]
  C --> E[Prepared migration diagnostics]
  D --> F[Credential and store operations]
  E --> F
  F --> G[Final authority checks]
Loading

Technical review

Best possible solution:

Prepare filesystem facts through the existing auth owners while preserving provider-scoped refusals and synchronous authority checks at credential effects.

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

Pinned main reaches synchronous legacy-file reads during credential diagnostics, and the supplied matched fault-injection evidence demonstrates event-loop blocking; this read-only review ran no target code.

Is this the best way to solve the issue?

The patch repairs the blocking boundary using existing observation, parsing, worker admission, and publication owners, with no unnecessary parallel implementation identified.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Legacy migration diagnostics keeps the original intent (289880b: Restrict known legacy migration refusals to affected providers while retaining owner-wide refusal for unknown credential layouts.)
  • Auth file observation keeps the original intent (3ccacf7: Retain process-owned auth facts and refresh external changes through the existing observation owner.)
  • Worker-backed auth updates keeps the original intent (381b1e0: Move auth transactions off the Gateway thread while preserving callback, admission, and committed-publication semantics.)
  • Shared-store bootstrap keeps the original intent (2fe7995: Use existing workers for lazy shared-auth initialization while retaining physical source identity and committed handoff settlement.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 289880b adds src/agents/auth-profiles/legacy-source-diagnostic.ts:56 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 289880b72463; files: src/agents/auth-profiles/legacy-source-diagnostic.ts)
  • Vincent Koc: Raw commit 625945b adds src/agents/sessions/auth-storage.core.ts:261 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 625945b7ae01; files: src/agents/sessions/auth-storage.core.ts)

PR surface

Source +291, Tests +210. Total +501 across 31 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 20 526 235 +291
Tests 11 234 24 +210
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 31 760 259 +501

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 Production +291 lines; tests/support +210 lines Growth carries asynchronous preparation through existing owners and preserves live observation, cleanup, and retained synchronous compatibility contracts.

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster. Replaced prior rating: 🐚 platinum hermit.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.

Label justifications:

  • P2: Slow credential filesystem operations can stall unrelated Gateway work, but the evidence supports a bounded responsiveness repair rather than an emergency outage.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster. Replaced prior rating: 🐚 platinum hermit.
  • 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 (3 earlier review cycles)
  • reviewed 2026-11-16T19:23:23.298Z sha a59eac2 :: needs changes before merge. :: [P2] Forward preparation through the authorization test interceptor | [P2] Supply provider scope in the setup-binding migration fixture | [P2] Move the inspection-failure fixture to the async inspector
  • reviewed 2026-11-16T19:42:53.622Z sha e087d89 :: needs maintainer review before merge. :: none
  • reviewed 2026-11-16T20:14:19.116Z sha 21febc7 :: needs maintainer review before merge. :: none

Reviewed November 16, 2026, 3:44 PM ET / 20:44 UTC (Revision 4).

@steipete

Copy link
Copy Markdown
Contributor Author

Addressed all three open items from review 6926718190 in e087d89ac943a:

  1. src/agents/mcp-auth-profile-authorization.test.ts:264,280 forwards the third preparation callback to the real admission owner. Commit refusal and authorization rollback assertions at lines 269–288 are preserved. Both local and shared cases pass.
  2. src/system-agent/inference-route-runtime.test.ts:292 supplies affectedProviders: [affectedProvider] to the now-pure diagnostic constructor. Selected-provider refusal and unrelated-provider success at lines 297/299 remain unchanged and pass.
  3. src/agents/auth-profiles.sqlite-store.test.ts:330,334–335 injects EACCES through inspectDatabasePathIdentity and its asynchronous contract. The injection-observed, absent shared ownership, and readable legacy-store assertions at lines 345/347/348 remain unchanged and pass.

CI run 43935316801 has exactly these four failing cases. The unmodified head reproduces four failures plus one passing control; the repaired fixtures pass all five. Both affected type graphs, scoped lint/format, and fresh isolated Codex review pass. Production is unchanged. An isolated real-Gateway responsiveness proof is also in progress; no live proof is claimed yet.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete

Copy link
Copy Markdown
Contributor Author

The requested real-Gateway proof is complete. Current head e087d89ac943a5c35de19de98acea2fffa3a5230 differs from the exact built/proven head below only in the three reviewed fixture repairs; production bytes are identical.

Real isolated Gateway proof on a59eac28e08813a4ad80dad6d299bb96473ae2c2 passed (1/1; canonical live wrapper exit 0 and completed-generation verification).

Two concurrent actual legacy diagnostic reads for synthetic agent affected, provider legacy-proof, were held before fs.promises.readFile completed. Both fault records came from the Gateway itself (PID 38528, MAIN thread 0, hits 1 and 2); stacks reach prepareAuthProfileMigrationCandidates → readOwner → readStore → readAuthProfileStoreAsynchronously, with one continuing through withAuthProfileCleanup. The hold lasted 2183.079 ms after the first receipt and remained active until the unrelated turn completed.

During that hold, three real health RPC round trips completed in 32.183 / 25.475 / 25.542 ms. An unrelated real openai/gpt-5.6-luna agent turn completed in 2,099.627 ms, status ok, exact terminal reply AUTH_PROOF_RESPONSIVE; its terminal receipt confirmed the requested/effective response model, no rerouting, and no tools. A preceding real warmup returned AUTH_PROOF_READY. These were the only two live provider turns.

After release, the affected session ended in error and chat.history.sessionInfo.lastRunError retained: Auth profile store $OPENCLAW_HOME/.openclaw/agents/ ... qlite requires legacy credential migration; affected providers: legacy-proof; run openclaw doctor --fix. The top-level agent.wait error is generic; the provider-scoped migration diagnostic was verified in session state. Its entire request took 65,923.944 ms because the synthetic provider made loopback-only failed connection/retry attempts before the terminal refusal. This proves the retained eventual migration refusal, not immediate pre-network refusal on this late-restore fixture.

Limitations: health responses used the existing cached payload (including a startup CPU-degraded flag), so their timings establish RPC responsiveness rather than a fresh healthy event-loop sample. The actual completed provider turn independently proves useful work during the hold. This is macOS APFS with a targeted asynchronous read delay, not btrfs transaction reproduction, broad no-sync-FS proof, or a latency benchmark. No production hooks, config options, or production source changes were added.

Cleanup completed: Gateway/worker test fixture and wrapper joined, Gateway PID absent, owned port unbound, synthetic state deleted, in-memory credential consumer ended, task secret-delivery instruction script removed, and only its task tmux window closed. No existing Gateway or Team service was changed.

@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Nov 16, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

CI repair in 21febc760a6f514ca00efa86c0e56ab0a7af7118: removed only the obsolete successorTool.scrollIntoViewIfNeeded() in ui/src/e2e/chat-send-ack-ownership.e2e.test.ts before resolving the ACK. It was added for screenshots in #155746; #178793 removed the captures but left the scroll. The failed CI operation could observe a DOM replacement while waiting for element stability. All actual ACK/draft/visibility/content/continuation/Stop assertions remain unchanged.

Run 43941147230 failed at that action. The exact main-parent replay passed, so this is not being classified as inherited and the screenshot history is not claimed as the timing failure's introducing commit. The complete affected file passes 4/4 on the exact PR source with the fix; formatting and fresh isolated Codex review are clean. Production is unchanged, and the earlier three numbered auth findings remain fixed. The real-Gateway proof in comment6927368868 uses byte-identical production.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Nov 16, 2026
@clawsweeper clawsweeper Bot added status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed 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. labels Nov 16, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the app: web-ui App: web-ui label Nov 16, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Final head fc5bf62e55c79c64d43e77848a2bd71e6cc79311 integrates main's existing import repair #200242. Exact CI parent 800bd59c reproduces the missing-export type error introduced by #200203; the same error caused the build and affected browser collection failures. There is no duplicate production repair in this PR.

All 20 authored production modules are byte-identical to the reviewed/live-proven source. Core types pass after integration, and the two affected UI fixtures pass 8/8 with verified compiled generation. Fresh Codex review is clean. Prior fixture findings 1–3 remain fixed; the body retains their exact red/green proof and the failed-run history.

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete
steipete merged commit 3f33eb9 into main Nov 16, 2026
153 of 154 checks passed
@steipete
steipete deleted the steipete/lane2535-auth-diagnostics-ready branch November 16, 2026 21:11
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 17, 2026
…claw#200222)

* fix: keep credential diagnostics responsive on slow filesystems

Prepare legacy source presence, provider diagnostics, and shared-store identity through the existing async admission and observation owners. Keep live candidate subscriptions scoped to readers and preserve final credential effect checks without an intervening await.

Four serving-boundary guards fail before the fix. Synthetic two-second legacy-file reads reduce the heartbeat gap from 2014 ms to 17 ms while preserving provider-specific migration refusal. Normal measured owner time increases by 0.64 ms; no new cache, schema, or configuration.

* test(auth): preserve async admission in diagnostic fixtures

* test(ui): remove obsolete screenshot scroll from ACK proof
RomneyDa added a commit that referenced this pull request Nov 18, 2026
Backport 9323fb9 (#200192) and
3f33eb9 (#200222) as one credential-owner
slice on the 2026.11.6 release base. Reuse native admission preparation
without importing replacement execution or snapshot architecture.

Preserve physical-alias FIFO reservations, capture shared ownership before
awaiting preparation, and retain one-shot cancellation/deadline settlement.

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 18, 2026
Recheck the canonical registry immediately before publication and retain extra descriptors until joined host or worker retirement. Parent independently reviewed native overlap, generation preservation, and both cleanup paths; 47 targeted tests passed.

Follow-up to backports #200192 and #200222.

Co-authored-by: RomneyDa <[email protected]>
RomneyDa added a commit that referenced this pull request Nov 18, 2026
Follow up the release adaptations of #200136 (59d9759), #200192 (9323fb9), and #200222 (3f33eb9). Preserve validated worker fields across asynchronous admission; restore required imports, await diagnostics, and normalize the nullable path adapter.

Parent review complete. Doctor regression failed before the repair; 17 parent tests across Doctor and attachment boundaries pass afterward. Seven-file scoped typed lint, format and whitespace checks pass. Worker session-path suite: 9 passed. Full release qualification remains pending.

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

agents Agent runtime and tooling P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. security-sensitive-changed 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