Repository navigation
fix(transcripts): failed automatic starts leave empty meetings - #137092
Merged
Merged
Conversation
Keep continuous captures owned through aborted startup and delayed settlement after the shutdown wait expires. Retry exact-owner cleanup and report retained failures without losing the operator recovery path.
Expose the same bounded notes and intentional no-summary text in structured tool results. Keep the 12000-character cap and direct tool content unchanged.
Fence show results after authorization and awaited notes reads, including same-tuple captures that remain active. Preserve mutation selection authority.
Thread the meeting runtime config to the shared summary owner and use the descriptor agent identity for model selection. Preserve bridge capture, delivery and retry ownership.
Keep pre-provider admission and record insertion and acceptance at their owners. Retain one tuple across retries, remove only unchanged empty candidates, and preserve reopened meetings, captured notes and exports.
Retain exact capture cleanup after a provider accepts an occupancy start beyond the bounded shutdown wait. Retry through the same stop owner used by continuous starts when the first abort cleanup fails.
… model The deslop pass removed the catch around the model summary attempt. On a multi-agent host with explicit ownership and no default marker, resolveDefaultAgentId throws for rows without an owning agent, which failed notes persistence instead of falling back to deterministic notes. Restore the contained fallback with a regression test, and state the retained-capture invariant at forgetCapture.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
steipete
marked this pull request as ready for review
September 3, 2026 06:31
Drop the task-local kernel rename, source-watch changes and regenerated inventory in favor of the existing main classification owner in #162442. Restore the already-reviewed functional repair tree unchanged before merging that owning main commit. The experiment remained staging-only and its evidence is retained. Co-authored-by: steipete <[email protected]>
Integrate the existing main fix for the observed SQL inventory gate. Preserve the byte-identical reviewed repair delta and its original kernel path; do not add local allowlists, baselines or duplicate naming fixes. Co-authored-by: steipete <[email protected]>
Apply the existing upstream fixture repair eecbd15 (#162623) to this reviewed landing candidate. Preserve the browser delete-retry assertions and extract the canary admission mock into its existing support owner. No test-limit or production behavior changes. Co-authored-by: steipete <[email protected]>
Dispose the test-owned chat view before removing its DOM. The full-chat render added to the comment-controller fixture retained a composer resize listener across shared UI tests. Preserve the viewport assertion and use the existing reset owner. Co-authored-by: steipete <[email protected]>
Integrate the required main changes without restoring retired transcript readers or redundant test matrices. Bind retry revisions to the text persisted by the original SQLite write, and keep the permission fixtures independent of the test process creation mask. Co-authored-by: steipete <[email protected]>
Use the documented mock-isolation contract for the existing closed readiness dispatcher. It deliberately prevents fixture readiness reads from reaching the operator Gateway; no runtime code, assertions or baseline entries change. Co-authored-by: steipete <[email protected]>
Integrate current main without reviving removed test suites or superseded auth ownership. Preserve committed descriptor custody during failed startup restoration so intervening rewrites survive retry and shutdown. Co-authored-by: steipete <[email protected]>
Co-authored-by: steipete <[email protected]>
Co-authored-by: steipete <[email protected]>
Co-authored-by: steipete <[email protected]>
Preserve catalog, incognito, HTTP, registry, and schema ownership while separating existing projections and protocol declarations. Keep moved account-catalog tests in protected PR coverage. Co-authored-by: steipete <[email protected]>
Preserve configured and inferred auth modes while isolating config-free connections from unrelated ambient credentials. Keep proxy setup labels mode-bound and repair config-publication, Voyage polling, and Active Memory fixtures without weakening assertions. Co-authored-by: steipete <[email protected]>
Close the warm-ledger fixture state before removing its directory, await actual capture readiness, and keep local network probes on their owned listeners. Scope synthetic Git identity and unrelated Doctor readiness without weakening authority or response assertions. Co-authored-by: steipete <[email protected]>
Wait for real startup catalog publication before changing the fixture endpoint. Verify one additional explicit refresh publishes the changed model and ordinary reads add no requests. Co-authored-by: steipete <[email protected]>
Baseline-Refresh: 3bb7e58c75215f2f2e1e3b33f894b152244d1e03
Keep current main owners for catalog publication, incognito snapshots, process-held history, and diagnostic reads after the reviewed transcript baseline integration. Co-authored-by: steipete <[email protected]>
Drop the correction-only temporary-variable cleanup so the current main request-stage change composes without a rebase. The expression is still evaluated once at the same point; behavior and transcript fixes are unchanged. Co-authored-by: steipete <[email protected]>
Contributor
|
Collaborator
|
Merged via squash.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Fixes empty meetings remaining in the library when automatic capture never starts successfully and its retries are exhausted or abandoned.
User Impact
Failed automatic starts no longer leave phantom meetings. Existing meetings, accepted captures (including silent ones), captured speech, notes, exports, and operator-owned history are preserved. No new configuration, schema, SDK, or migration contract is introduced beyond target main. There is no product UI change.
The retained correction also fixes pending API-key catalog publication and explicit-client authentication selection, with their regression fixtures. Ad-hoc targets use their selected credentials; configured targets retain normal server-auth inference and device-identity rules.
Why This Change Was Made
The capture owner retains whether a failed admission inserted a new row. Abandonment deletes only that owner’s unchanged, stopped, empty, never-accepted candidate through the existing SQLite worker. Replacement adoption revokes stale retry custody. Failed-start restoration checks the committed descriptor revision, so it cannot overwrite a later metadata edit. Speech advances its separate content revision and remains preserved.
The correction is integrated with main
9a15afcfbdccthrough the native baseline-refresh workflow, preserving contributor ancestry and the original review/merge receipts. Conflict resolution keeps main’s newer SQLite derived columns, catalog publication, subagent ownership, incognito snapshots, diagnostic reader, and Solid test ownership. Superseded duplicate helpers were removed rather than restoring retired implementations.Evidence
pnpm testrunner with--maxWorkers=1. Coverage includes automatic-start abandonment, replacement adoption, descriptor rewrites, accepted/reopened/nonempty meetings, real SQLite transaction/commit revocation, transcript tool callers, configured catalog publication, API-key login, explicit Gateway authentication, and pairing labels.tsgo:corepassed; targeted type-aware lint passed on 41 files with zero warnings/errors; formatting, diff checks, line-cap, SQLite worker/dialect ratchets, and native schema-version checks passed.pnpm build:ci-artifactspassed, including runtime/plugin output, all 154 public SDK subpaths, and the Control UI build. Build phases took 210.5 seconds; total wall time was 351.39 seconds, including the serialized artifact-owner wait. Proof executed on source tree4f563be63630f5d5364437feed583a74a3ac5910(signed ase0612efc8de8). Final candidate6096db32f7ddonly restores main’s equivalent temporary-variable form in one HTTP request-stage expression to remove a mechanical conflict; that proof is reused, not relabeled as a new run. Composition with native-captured main06001d846eefis conflict-free.6096db32f7dde82d116acb9a3b6ca2c944f1e899(716 seconds from creation to final update; job timings are linked in the run). The automatically triggered Build Artifacts workflow and Workflow Sanity also passed. Native completed-evidence qualification accepted these exact-head runs. No manual Testbox allocation, workflow rerun, or gate waiver was used.Historical failures and remaining limits
Historical broad local attempts remain failed/incomplete; focused passes do not establish their original ordering or environmental causes. The last pre-takeover native attempt on
1835ca0ec5fdfailed after 9,960 seconds; its terminating group reported 12 failed/494 passed files, 77 failed/5,611 passed/4 skipped tests, and nine errors. Observed problems included the protected agent-exec attribution refusal, Doctor subprocess timeouts and service-inspection fixtures, plugin-install fixture interactions, and an unverified worker teardown. The retained review records the original failures, investigations, and uncertainty; no host routing marker, credentials, service, assertion, timeout, or retention claim was weakened to make them pass.The takeover’s full
pnpm buildattempt reached its 20-minute execution limit during global declaration generation. That attempt is not represented as a passing full build. A separate supported PR-artifact build qualifies the runtime and public SDK output; full package/release declaration proof is not claimed.Earlier focused Gateway proof and interrupted broader proof remain historical evidence for their recorded source revisions, not current-head CI.
No live external meeting provider was exercised: synthetic providers drive the production lifecycle and real SQLite-worker boundaries. Old retained resource claims remain preserved for ownership-checked cleanup.
Original implementation and findings by @steipete.
Work sessions
Related: #136679.
View the OpenClaw team session