Skip to content

ci: run share-backend and share-web suites in the unit job#392

Merged
graydawnc merged 1 commit into
mainfrom
ci/share-suites
Jun 12, 2026
Merged

ci: run share-backend and share-web suites in the unit job#392
graydawnc merged 1 commit into
mainfrom
ci/share-suites

Conversation

@graydawnc

Copy link
Copy Markdown
Collaborator

What

Adds four lines to the unit job: typecheck + test for @spool/share-backend (238 tests) and @spool/share-web (70 tests).

share-backend's typecheck had one pre-existing error keeping it red: the deletion worker passed an explicit cursor: undefined into R2ListOptions, which exactOptionalPropertyTypes rejects. Fixed with a conditional spread — no behavior change.

Why

The unit job covered redact/core/cli/share-kit/app but never the two share packages — flagged in the 2026-06-10 launch-readiness audit as the sole CI blocker and not fixed since. Every share-backend PR merged this week carried a green check that never executed its tests; auth, rate-limiting, and deletion-cascade regressions would ship silently. Closing this is a GA precondition.

Test plan

All four new CI commands run locally exactly as CI will: both typechecks clean, 238 + 70 tests green.

🤖 Generated with Claude Code

The unit job covered redact/core/cli/share-kit/app but never
share-backend (238 tests) or share-web (70 tests) — flagged in the
2026-06-10 launch audit. Every backend PR since has merged with a
green check that never executed its tests.

Adds typecheck + test for both packages. share-backend's typecheck
had one pre-existing error keeping it red: deletion-worker passed an
explicit `cursor: undefined` into R2ListOptions, which
exactOptionalPropertyTypes rejects — fixed with a conditional spread.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@graydawnc
graydawnc added this pull request to the merge queue Jun 12, 2026
Merged via the queue into main with commit 3543f70 Jun 12, 2026
6 checks passed
@graydawnc
graydawnc deleted the ci/share-suites branch June 12, 2026 04:13
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