Skip to content

TML-3756: renew the SQLite target coverage waiver so the Coverage check passes again - #30882

Merged
wmadden merged 1 commit into
mainfrom
tml-3756-renew-sqlite-coverage-waiver
Oct 27, 2026
Merged

wmadden merged 1 commit into
mainfrom
tml-3756-renew-sqlite-coverage-waiver

Conversation

@wmadden-electric

@wmadden-electric wmadden-electric commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

At a glance

Every pull request's Coverage check has failed since 25 October, whether or not it touches SQLite:

ERROR: Coverage for functions (85.48%) does not meet "packages/3-targets/sqlite/1-target/**" threshold (88%)

EXPIRED COVERAGE WARNINGS - BLOCKING
  packages/3-targets/sqlite/1-target
    Added: 2026-07-27 | Expired: 2026-10-25

What this PR changes

  1. The coverage waiver for packages/3-targets/sqlite/1-target in coverage.config.json is renewed for 90 days.
  2. The waiver now names a Linear ticket for the recovery, TML-3756.

The waiver

coverage.config.json lists packages whose coverage failures are reported as warnings instead of failing the Coverage check. Each entry carries a date and an expiry, so a waiver cannot be forgotten: once it lapses, the check fails on every pull request until someone recovers the coverage or renews the waiver with a reason.

The SQLite target package's runner, statement builders, codecs and default normalizer are exercised by the adapter's migration tests and the end-to-end SQLite migration suite. Those run under other vitest configs, so the per-package report counts them as uncovered: functions are at 85.49% against an 88% threshold, the same figures as when the waiver was written. Nothing about the coverage has changed; only the date passed. The waiver had no Linear ticket, so the recovery (reorganise the coverage scopes, or add unit tests inside the target package) is now tracked on TML-3756.

This follows the file's own precedent: the contract package's waiver was renewed the same way on 28 August (#30155).

Tests

node --test scripts/coverage-config.test.mjs passes, which validates the file's shape and dates. CI's Coverage check on this pull request shows the entry back under the non-blocking warnings.

Alternatives considered

  • Recover the coverage now. It needs either a change to how coverage scopes are computed or new unit tests in the target package. Both are real work that should not block every open pull request; TML-3756 tracks them.
  • Lower the threshold. Rejected: the tests exist; the report just does not see them.

Agent: oedipus-17

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the tracking details and coverage figures for an existing warning-only coverage exception.

The 90-day waiver for packages/3-targets/sqlite/1-target lapsed on
2026-10-25 and turned the Coverage check red on every open PR. The
coverage is unchanged (85.49% functions against an 88% threshold), so
this renews it, following the file's precedent, and names the Linear
ticket that tracks the recovery.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Signed-off-by: willbot <[email protected]>
Signed-off-by: Will Madden <[email protected]>
@wmadden-electric
wmadden-electric requested a review from a team as a code owner October 27, 2026 16:46
@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between f543fb4 and e6f520c.

Files selected for processing: 1
  • coverage.config.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.

Walkthrough

The SQLite target coverage exception has an updated renewal date, a linked Linear issue, and additional notes with the renewal date, expiry, coverage figures, and recovery tracking.

Changes: SQLite coverage exception

Layer / File(s) Summary
Renewal metadata
coverage.config.json
The exception’s addedDate changes to 2026-10-27, and its Linear issue changes to TML-3756. The notes add the renewal, expiry, unchanged coverage figures, and recovery tracking details. The prior renewal note remains.

Priority: Normal

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: aqrln, stevenmcclankerton

Merge Risk: Minimal · up to e6f52

The coverage waiver renewal is ready to merge with no identified merge-blocking risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the Linear ticket, the renewal of the SQLite target coverage waiver, and the purpose of making the Coverage check pass again. The raw summary confirms the change renews that waiver in …
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the Linear ticket, the renewal of the SQLite target coverage waiver, and the purpose of making the Coverage check pass again. The raw summary confirms the change renews that waiver in coverage.config.json by updating its addedDate and Linear issue, which matches the title's main point. The title is specific and short enough to scan, though the ticket prefix and the 'so the Coverage check passes' clause add some length.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Oct 27, 2026

Copy link
Copy Markdown

Open in StackBlitz

@prisma/orm-extension-arktype-json

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-arktype-json@30882

@prisma/orm-extension-middleware-cache

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-middleware-cache@30882

@prisma/orm-extension-paradedb

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-paradedb@30882

@prisma/orm-extension-pgvector

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-pgvector@30882

@prisma/orm-extension-postgis

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-postgis@30882

@prisma/orm-extension-supabase

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-extension-supabase@30882

@prisma/orm-family-mongo

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-family-mongo@30882

@prisma/orm-family-sql

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-family-sql@30882

@prisma/orm-framework

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-framework@30882

@prisma/orm-mongo

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-mongo@30882

@prisma/orm-mysql

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-mysql@30882

@prisma/orm-postgres

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-postgres@30882

@prisma/orm-sqlite

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-sqlite@30882

@prisma/orm-target-mongo

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-target-mongo@30882

@prisma/orm-target-mysql

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-target-mysql@30882

@prisma/orm-target-postgres

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-target-postgres@30882

@prisma/orm-target-sqlite

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-target-sqlite@30882

@prisma/orm-toolchain

npm i https://pkg.pr.new/prisma/orm/@prisma/orm-toolchain@30882

commit: e6f520c

@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
postgres / no-emit 267.79 KB (0%)
postgres / emit 235.42 KB (0%)
mongo / no-emit 225.24 KB (0%)
mongo / emit 183 KB (0%)
cf-worker / no-emit 329.61 KB (0%)
cf-worker / emit 293.46 KB (0%)

@wmadden
wmadden merged commit 8732096 into main Oct 27, 2026
22 checks passed
@wmadden
wmadden deleted the tml-3756-renew-sqlite-coverage-waiver branch October 27, 2026 16:56
aditya-rai-5 pushed a commit to aditya-rai-5/orm that referenced this pull request Nov 16, 2026
prisma#31046)

## Linked issue

n/a. The waivers keep the Linear issues they already name: TML-2521,
TML-2552 and TML-2526.

## At a glance

Since 2026-11-15 the Coverage job fails in the merge queue for every
pull request, whatever it touches (for example the runs for prisma#30522 and
prisma#31026):

```text
EXPIRED COVERAGE WARNINGS - BLOCKING
  packages/2-sql-family/2-authoring/contract-ts
    Added: 2026-08-17 | Expired: 2026-11-15
  ...
Total: 82 | Passed: 33 | Failures: 4 | Warnings: 1 | Expired: 5
```

## Summary

`coverage.config.json` renews six coverage waivers for 90 days from
2026-11-16:

| Package | Linear | Expired or expires |
| --- | --- | --- |
| `2-sql-family/1-core/contract` | TML-2521 | 2026-11-15 |
| `2-sql-family/2-authoring/contract-ts` | TML-2521 | 2026-11-15 |
| `3-targets/mongo/1-target` | TML-2521 | 2026-11-15 |
| `3-targets/mongo/2-adapter` | TML-2521 | 2026-11-15 |
| `1-framework/3-tooling/cli` | TML-2552 | 2026-11-15 |
| `3-extensions/sql-orm-client` | TML-2526 | 2026-11-19 |

The `sql-orm-client` waiver is renewed now so the queue does not fail
again on 2026-11-19. Each entry's `notes` records the renewal and the
current coverage figure from the failing run. No package's coverage
changed; recovery stays on each entry's Linear issue.

## Notes for the reviewer

- The `1-framework/0-foundation/contract` waiver (TML-2624) expires on
2026-11-26 and is not renewed here.
- The same renewal was done for the SQLite target waiver in prisma#30882.

## Testing performed

- `scripts/coverage-config.js`'s `classifyWarning` reports all eight
waivers active on 2026-11-16; on `main` five are expired.
- `node --test scripts/coverage-config.test.mjs
scripts/coverage-report.test.mjs`: 34 pass.

## Skill update

n/a — internal only: CI configuration.

## Checklist

- [x] All commits are signed off (`git commit -s`) per the
[DCO](../CONTRIBUTING.md#developer-certificate-of-origin-dco). The DCO
status check will block merge if any commit is missing a
`Signed-off-by:` trailer.
- [x] Tests are updated (or `n/a` if the change is doc-only / refactor
with no behavioural delta). n/a: configuration only.
- [x] The **Skill update** section above is filled in (or stated `n/a —
internal only`).

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Chores**
* Updated renewal dates and coverage tracking notes for five
warning-only coverage entries. No changes to user-facing functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Steven McClankerton <[email protected]>
Co-authored-by: Steven McClankerton <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

2 participants