Skip to content

test(ci): throwaway probe of the cron lane (do not merge) - #200143

Closed
obviyus wants to merge 2 commits into
mainfrom
obviyus/ci-probe-cron-lane
Closed

obviyus wants to merge 2 commits into
mainfrom
obviyus/ci-probe-cron-lane

Conversation

@obviyus

@obviyus obviyus commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Throwaway CI probe. It reverts #200097 on current main and touches the same cron files, so CI selects the same cron lane. It checks whether run.fallback-transcript.test.ts fails without #200097. I will close it after CI.

@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.

@obviyus
obviyus force-pushed the obviyus/ci-probe-cron-lane branch from 32bf655 to ea3c4a8 Compare November 16, 2026 14:54
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation gateway Gateway runtime agents Agent runtime and tooling size: L and removed size: XS labels Nov 16, 2026
@obviyus
obviyus marked this pull request as ready for review November 16, 2026 14:57
@clawsweeper clawsweeper Bot added merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Nov 16, 2026
@clawsweeper

clawsweeper Bot commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

This PR reverses the chat-owned background-work refactor and touches cron files to trigger a diagnostic CI comparison.

Example: A chat starts a background command in run A and calls sessions_yield in run B.

  • Before: Current main can wait for the earlier command using the chat identity.
  • After: The experimental revert selects commands by run ID, excluding run A's command from run B's wait.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The exact reversal and CI annotations support the diagnostic purpose, while the explicit do-not-merge direction excludes production readiness.
Proof confidence 🐚 platinum hermit (4/6) This maintainer-authored, explicitly non-shipping experiment has direct CI evidence of its targeted failure and makes no production-fix claim.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: No
User problem: Maintainers need to determine whether a cron CI failure depends on the merged background-work refactor.
Reason: The experiment has diagnostic value, but its author explicitly intends closure rather than merging the reverted behavior.

Merge readiness

⛔ Blocked before merge - 2 items remain

Keep open for the author to conclude this explicitly non-mergeable CI experiment; collaborator authorship prevents automated closure.

Priority: None
Reviewed head: ea3c4a80a1311ae9f8205bc06adabb6fd2cee9a6

Before merge

  • Resolve merge risk - Merging this experimental reversal would restore run-scoped waits and stricter requester-incarnation filtering, undoing current-main behavior; the author should conclude it without merging.
  • Product: not worth merging - The experiment has diagnostic value, but its author explicitly intends closure rather than merging the reverted behavior.

Findings

None.

Agent review details

How this fits together

The agent runtime tracks background commands and child results, then routes their completion into requester continuations; cron uses that machinery for yielded automation runs.

flowchart LR
  A[Agent or cron turn] --> B[Background command]
  B --> C[Process registry]
  C --> D[Yield and completion routing]
  D --> E[Requester continuation]
  F[CI cron lane] --> A
Loading

Technical review

Best possible solution:

Retain current-main behavior and let obviyus close the probe after recording its diagnostic conclusion.

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

The recorded probe CI reproduces the targeted fallback-transcript assertion with the refactor reversed; this establishes a diagnostic result, not a current-main runtime reproduction.

Is this the best way to solve the issue?

An exact inverse patch provides a coherent control for the stated CI investigation, and the author explicitly excludes production landing.

AGENTS.md: found and applied where relevant.

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

Merge-risk options

Maintainer options:

  1. Conclude the probe without merging (recommended)
    Obviyus can use the recorded failure to finish the CI investigation and close this diagnostic branch.

Provenance checked

  • Background commands, requester continuations, completion delivery, SDK behavior, and accompanying tests/docs changes intended behavior with a stated reason (5d35af1: The merged refactor made stable chat identity own background work so later turns could await earlier commands and receive child completions; the inverse patch is explicitly a temporary CI control.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

  • Explicit diagnostic scope and closure guard: The live issue remains open with COLLABORATOR authorship; its body calls this a throwaway probe, says it must not merge, and reserves closure to the author after CI. (ea3c4a80a131)
  • Verified experimental reversal: The first commit's patch exactly matches the inverse of merged commit 5d35af1; the second commit adds only CI-probe comments to the two cron files. (src/cron/isolated-agent/run-executor.ts:123, ea3c4a80a131)
  • The targeted failure occurs without the refactor: The probe's failed cron check records outputText 'answered' and requests [], where run.fallback-transcript.test.ts expects 'Fallback report'; this directly answers the experiment's central question. (src/cron/isolated-agent/run.fallback-transcript.test.ts:137, ea3c4a80a131)
  • Original intent and prior failure context: refactor(agents): own background commands and yield waits by the chat #200097 documents the cross-turn waiting fix and real-agent comparison; the author's discussion identifies the same fallback-transcript symptom before this control experiment. (5d35af150b07)
  • Current-main ownership contract: Current main selects background commands by agent plus session key across runs, preserving the capability deliberately disabled in the probe. (src/agents/bash-tools.exec-notify.ts:115, b9d11df14f80)
  • Repository policy applied: Read the root and all applicable ancestor AGENTS.md files and applied pr-simplify steps 1–3 without edits; .agents/maintainer-notes is absent and the checkout remains clean. (AGENTS.md:1, ea3c4a80a131)

Likely related people:

  • Ayaan Zaidi: Raw commit 1fff14f adds src/agents/bash-tools.exec-notify.ts:114 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1fff14f6019c; files: src/agents/bash-tools.exec-notify.ts)

PR surface

Source +232, Tests +191, Docs +8. Total +431 across 60 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 34 357 125 +232
Tests 23 285 94 +191
Docs 3 31 23 +8
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 60 673 242 +431

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.

Labels

Label changes:

  • add merge-risk: 🚨 compatibility: The reversal changes completion-routing behavior and tightens the Plugin SDK expectedRequester parameter shape; it is intentionally unsuitable for production merging.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.

Label justifications:

  • merge-risk: 🚨 compatibility: The reversal changes completion-routing behavior and tightens the Plugin SDK expectedRequester parameter shape; it is intentionally unsuitable for production merging.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.

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.

Reviewed November 16, 2026, 10:12 AM ET / 15:12 UTC.

@obviyus

obviyus commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator Author

Probe done: with #200097 reverted on main, CI run 43891181442 still fails src/cron/isolated-agent/run.fallback-transcript.test.ts (and the embedded-runner and post-attach tests). Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling docs Improvements or additions to documentation gateway Gateway runtime merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant