Skip to content

fix(ci): keep complete adaptive evidence when sibling tests skip - #208874

Merged
vincentkoc merged 1 commit into
mainfrom
fix/ci-adaptive-file-evidence-20261130
Nov 30, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/ci-adaptive-file-evidence-20261130

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Adaptive graph proposals and model scores discard every prior file in an invocation when one sibling has skipped or missing cases. The exporter already validates the terminal run and records completeness separately for each file, so this loses valid evidence from large test groups.

User Impact

Complete file observations remain available to the shadow selector and model. Incomplete files remain unknown, invalid terminal runs still invalidate every file, and CI continues to execute the complete scheduled inventory.

Why This Change Was Made

Both readers now consume the exporter's per-file completeness contract, matching the existing evaluator. No schema, scoring threshold, or automatic test omission is added.

Evidence

  • Two captured Bun invocations contain 814 and 816 files, including 804 and 810 complete passed files. In a no-change shadow replay, candidate counts fall from 814/816 to the 10/6 incomplete files; the scheduled inventories stay unchanged.
  • This is a replay of captured observations, not measured CI savings or proof that a prior is compatible with every future run.
  • New exporter-to-reader regressions cover skipped and missing sibling results, interruption, unhandled errors, missing terminal receipts, and terminal count mismatches.
  • Independent source review and local autoreview found no actionable P0–P2 issues at head 4f60482664c98cec0bea350df535cb8390af9c17 against base a959a0c8f07965535fde99ce6a51bffc63addd3e.
  • The new skipped/missing-file regressions fail on the old readers and pass with this change. All 49 tests across the model, selector, decisions, evaluator, and observation exporter suites pass.
  • The tooling test typecheck, targeted lint, and formatting checks pass.

CI run 46361955573 failed only in the existing PR-wrapper import-closure checks: provider-rejection-text.ts is missing from the wrapper inventory. The inventory, importer, module, closure implementation, and test have identical blobs in the CI main parent and tested PR merge. The repair is separate in #208891; this PR retains the failed CI result under native inherited-failure admission.

@clawsweeper

clawsweeper Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

🦞👀
Pull request received.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation scripts Repository scripts labels Nov 30, 2026
@vincentkoc vincentkoc self-assigned this Nov 30, 2026
@clawsweeper clawsweeper Bot added the P2 Normal backlog priority with limited blast radius. label Nov 30, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 30, 2026 05:47
@vincentkoc
vincentkoc enabled auto-merge (squash) November 30, 2026 05:54
@vincentkoc
vincentkoc disabled auto-merge November 30, 2026 05:56
@vincentkoc
vincentkoc merged commit f3090ad into main Nov 30, 2026
182 of 186 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-adaptive-file-evidence-20261130 branch November 30, 2026 06:00
@vincentkoc

Copy link
Copy Markdown
Member Author

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

vincentkoc added a commit that referenced this pull request Nov 30, 2026
* commit 'c5c1dc278a6f789d739d70afe192c4d1e37058f5':
  fix(ci): include provider rejection text in PR tooling (#208891)
  feat: let plugins bring their own sidebar icon (#208885)
  docs: clarify node pairing and credentials on PostgreSQL gateways (#208850)
  fix(ui): show a confirmed subagent stop once in chat (#208533)
  fix(ui): keep collapsed work close to the reply in long chats (#207843)
  fix(update): finish failed recovery startup records (#208794)
  chore(ci): inventory media worker lifecycles (#208888)
  fix: use the same clock icon for Automations (#208539)
  improve(ci): reduce compiler round trips in database checks (#208878)
  fix(ci): preserve complete adaptive test observations (#208874)
  test(gateway): isolate usage context database fixtures (#208304)
  fix: avoid false worker cleanup failures (#208861)
  fix: let Git upgrade acceptance fetch its missing baseline (#208746)
  fix: isolate scheduled Processes reads in the Control UI config-change test (#208205)
  fix: make plugin hash worker tests independent of runner memory (#208860)
  fix(update): preserve serving state during candidate plugin maintenance (#208776)
  test(ui): preserve exact session keys in older chat links (#208873)
  docs(cli): say what bounds a yielded agent turn's subagent wait without --timeout (#208858)
vincentkoc added a commit that referenced this pull request Nov 30, 2026
* fix: restore managed worktrees from bare primary repositories

Managed worktrees created from a linked checkout record its primary repository. Resolve that registration during inspection, removal, and snapshot restore while keeping new checkout creation strict.

* Merge verified upstream CI repairs into managed worktree recovery

* commit 'c5c1dc278a6f789d739d70afe192c4d1e37058f5': (64 commits)
  fix(ci): include provider rejection text in PR tooling (#208891)
  feat: let plugins bring their own sidebar icon (#208885)
  docs: clarify node pairing and credentials on PostgreSQL gateways (#208850)
  fix(ui): show a confirmed subagent stop once in chat (#208533)
  fix(ui): keep collapsed work close to the reply in long chats (#207843)
  fix(update): finish failed recovery startup records (#208794)
  chore(ci): inventory media worker lifecycles (#208888)
  fix: use the same clock icon for Automations (#208539)
  improve(ci): reduce compiler round trips in database checks (#208878)
  fix(ci): preserve complete adaptive test observations (#208874)
  test(gateway): isolate usage context database fixtures (#208304)
  fix: avoid false worker cleanup failures (#208861)
  fix: let Git upgrade acceptance fetch its missing baseline (#208746)
  fix: isolate scheduled Processes reads in the Control UI config-change test (#208205)
  fix: make plugin hash worker tests independent of runner memory (#208860)
  fix(update): preserve serving state during candidate plugin maintenance (#208776)
  test(ui): preserve exact session keys in older chat links (#208873)
  docs(cli): say what bounds a yielded agent turn's subagent wait without --timeout (#208858)
  test(ui): keep real exports in the channel settings distribution mock (#208855)
  test(normalization): preserve inline code in quoted previews (#208857)
  ...

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

Labels

docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. scripts Repository scripts size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant