Skip to content

chore: cover the quarantine scope with a changeset - #270

Merged
AKogut merged 2 commits into
mainfrom
chore/changeset-quarantine
Aug 18, 2026
Merged

chore: cover the quarantine scope with a changeset#270
AKogut merged 2 commits into
mainfrom
chore/changeset-quarantine

Conversation

@AKogut

@AKogut AKogut commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Found while working out whether the release PR (#249) was safe to merge. It is not, yet.

#254 changed two published packages and shipped no changeset:

packages/contracts/src/common.ts       TOKEN_SCOPES gains `quarantine`
packages/contracts/src/{ingestion,query,rest}.ts
packages/cli/src/commands/quarantine.ts

#249 was cut before that landed, so merging it as-is publishes @flakemetry/cli@0.2.0 with a changelog describing only run/flaky/doctor, and publishes nothing for contracts.

The second half is the part that matters. @flakemetry/contracts on npm would keep a TokenScope union of 'ingest' | 'read' while the API happily accepts quarantine — so anyone typing against the published package gets a compile error for a scope the server supports, and nothing anywhere would explain why.

This adds the changeset. The release bot will fold it into #249, which can then publish both packages together and describe what actually changed.

AKogut added 2 commits August 18, 2026 10:06
packages/contracts and packages/cli both changed in #254 with nothing to
release them. Left alone, the pending release publishes the CLI while the
contracts package stays at a version whose TokenScope union has no
`quarantine` in it — so an API that accepts the scope and a published type
that does not know it exist at the same time.
@AKogut
AKogut merged commit 6c2680d into main Aug 18, 2026
4 checks passed
@AKogut
AKogut deleted the chore/changeset-quarantine branch August 18, 2026 08:16
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