Skip to content

check-prerelease-pin-watch's scim follow-up note repeats the six-model undercount corrected in #11372 #11761

Description

@claude

The same measurement corrected in #11372 is duplicated in a second place that #11372's scope does not reach: the @better-auth/scim follow-up note inside scripts/check-prerelease-pin-watch.mjs (the FOLLOW_UPS table, ~line 162) restates it verbatim:

(measured on the 1.7.1 tarball: no scimProvider model, no generate-token endpoint, all six new models present)

Re-measured 2026-08-24 against @better-auth/scim@1.7.1 (still npm latest; tarball sha512-bpOPVnYYTUROAJZU0ViL1jXHXoUulVn0Gl3HLN8Epj00Yqob4+rhf3XqVmc/2bi3TY40rmZIlsf1mXQhRdFd1w==) by constructing the plugin and reading plugin.schema:

  • core set is sevenscimUser, scimGroup, scimGroupMember, scimSubject, scimConnectionBinding, scimIdentityTombstone, scimProjectionGrant;
  • configuring managedConnections adds three more (scimManagedConnection, scimManagedCredential, scimManagedConnectionEvent) for ten.

Why it matters more than an ordinary stale comment: this string is the text the nightly probe prints when it fires, and the probe is the declared producer for the SCIM migration. Its message is therefore the first thing a migration-scoper reads, out of band, at the moment they have the least context — which is exactly the job the gate's own header says it exists to do. It currently hands that reader the undercount. The probe is red today (by design — a stable release is out), so the wrong number is being emitted on every nightly run.

Not fixed in #11372's PR on purpose. It fails the bounded in-place-fix test on the "no new verification surface" condition: pnpm-workspace.yaml alone derives 4 gate families, while adding scripts/check-prerelease-pin-watch.mjs pulls in 6 more (check:agent-test-spelling, check:cross-package-test-inputs, check:entry-guard, check:parse-guard, check:pnpm-filter-targets, scripts/check-cross-package-test-inputs.mjs) — measured with node scripts/pm/dispatch-gates.mjs. So it is filed rather than ridden along.

Worth considering while fixing it: the underlying defect class is that one measurement is written down twice, and the correction round found only one copy. A note that points at the pin's own comment in pnpm-workspace.yaml instead of restating the counts would close the class rather than the instance. Both copies retire together when #11632 lands and the pin leaves the watch list.

Refs #11372, #11632, #3653.


Generated by Claude Code


Generated by Claude Code

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions