Skip to content

Count a failure only a published image has apart from the rest - #2455

Open
joei4cm wants to merge 1 commit into
CopilotKit:mainfrom
joei4cm:fix/model-compat-split-shipped-failures
Open

joei4cm wants to merge 1 commit into
CopilotKit:mainfrom
joei4cm:fix/model-compat-split-shipped-failures

Conversation

@joei4cm

@joei4cm joei4cm commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

What this changes

Count a failure only a published image has apart from the rest, and list it last under its own
heading. Reported from #2454; it does not close it.

Where it runs

  • New state that outlives a request? None. This changes a Markdown summary the CI job
    writes.
  • What happens on the second replica? Nothing; the check runs once a day on main, by
    schedule or by hand, never on a pull request.
  • Anything serialised? No.
  • Anything fanned out to a browser? No.
  • New listener, port, or schedule? No.

Boundary and audit

  • Every acting call still goes through the gateway: resolve, decide, audit, then act. No
    production call changed.
  • New refusals and new failures each write a row. None added.
  • Nothing new is trusted from the client that the server can resolve itself. No production
    behaviour changed.

API and database

  • This changes nothing under api/, no app's requests, no database change and no
    release-policy.json.

Changelog

  • No changelog entry: a deployment behaves no differently afterwards. Only the daily check's
    summary reads differently.

Proof

  • bun test scripts/model-compat.test.ts — 22 pass, 0 fail, including four new ones covering the
    split, the row cap, and that a source row is never listed as shipping.
  • bunx biome check on both changed files — clean.
  • Typechecked the two files directly: the only error is the one already on main, in the
    renderTable test that builds a Result without providerId. scripts/ has no tsconfig of its
    own and CI's typecheck does not cover it, so I left it alone rather than widen this diff.
  • Rendered the summary against this morning's failure shape (nine harnesses, eight Google models
    that fail on source, plus Agno's nineteen that only the published image fails): 144 rows stay
    under Failed, 19 move to the new heading, and no source row appears in it.

The problem

The issue body keeps 150 rows and says the rest are in the run's summary. A model that failed on the
published image and answered on the one built from this commit is a row no change here can move —
the next release carries the fix, which docs/releasing.md already says ("the latest rows stay red
until one does"). This morning Agno's 27 Google models were exactly that, after #2384 took the
Agno-internal external_execution field out of the request, and they spent the cap on rows nobody
could act on while the eight models Google really did stop serving sat below the cut.

What it does not do

It makes no model answer again. The eight Google retired or moved to the Interactions API are a
model-list matter: the daily check's own lock refresh (#1858) is what takes them out of the picker,
and that pull request has waited for a review since 2026-11-19.

🤖 Generated with Claude Code

The daily model check's issue counts every red row the same, and its body keeps
150 of them. A model that failed on the published image and answered on the one
built from this commit is a row no change here can move: the next release
carries the fix, which docs/releasing.md already says ("the `latest` rows stay
red until one does"). Agno's 27 Google models were exactly that this morning,
after CopilotKit#2384 took the Agno-internal tool field out of the request, and they
spent the cap on rows nobody could act on while the eight models Google really
did stop serving sat below the cut.

So a failure whose model answered on `source` is counted apart and listed last,
under its own heading, and the row cap is spent on what is still broken on the
image this commit builds. A `source` row is never one of them: it is the next
release, so its failures are always still broken. The exit code is unchanged,
so the issue still opens and closes as it did.

This does not make any model answer again. The eight that Google retired or
moved to the Interactions API are a model-list matter, and the daily check's
own lock refresh (CopilotKit#1858) is what takes them out of the picker.

Fixes nothing in CopilotKit#2454; reported from it.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@joei4cm

joei4cm commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Could a maintainer approve the workflow run for this fork PR? Its checks have not started, so nothing has run yet. The change is narrow: renderSummary in scripts/model-compat.ts counts rows that fail only on a published image separately, so the 150-row limit is not spent on stale images; exit codes unchanged, 4 tests added.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant