Skip to content

fix(auth): allow auth 0.3 peer consumers#9

Merged
Jess Sullivan (Jesssullivan) merged 1 commit into
mainfrom
fix/auth-0.3-peer-range
Apr 28, 2026
Merged

fix(auth): allow auth 0.3 peer consumers#9
Jess Sullivan (Jesssullivan) merged 1 commit into
mainfrom
fix/auth-0.3-peer-range

Conversation

@Jesssullivan

Copy link
Copy Markdown
Collaborator

Summary

  • Release metadata bump to @tummycrypt/tinyland-auth-pg@0.2.3 / tummycrypt_tinyland_auth_pg@0.2.3.
  • Broaden @tummycrypt/tinyland-auth peer compatibility to ^0.2.0 || ^0.3.0.
  • Validate the package against @tummycrypt/tinyland-auth@0.3.0.
  • Give the auth schema import test an explicit timeout; with auth 0.3.0 the import consistently exceeds Vitest's 5s default but passes under the package-level suite with a 30s bound.

Evidence

  • pnpm typecheck passed.
  • pnpm build passed.
  • pnpm test:unit passed: 35 passed, 5 skipped.
  • pnpm check:package passed.
  • bazel build //:pkg //:test passed.
  • Focused schema import test passed in 6.3s with a 30s timeout; direct import measured 13.4s.

Context

  • elders currently consumes @tummycrypt/tinyland-auth@0.3.0; this removes the false peer warning while preserving the existing 0.2.x consumer range.

@greptile-apps

greptile-apps Bot commented Apr 28, 2026

Copy link
Copy Markdown

Greptile Summary

This PR bumps the package to 0.2.3, broadens the @tummycrypt/tinyland-auth peer range to ^0.2.0 || ^0.3.0, and upgrades the dev dependency to 0.3.0 to validate against it. A targeted 30 s Vitest timeout is added to the auth schema import test which consistently exceeds the 5 s default with 0.3.0.

Confidence Score: 5/5

Clean metadata/config PR with no logic changes; safe to merge.

All changes are version bumps, peer range widening, lock file updates, and a targeted test timeout — no logic is modified. Version numbers are consistent across package.json, MODULE.bazel, and CHANGELOG.md. No P0/P1 findings.

No files require special attention.

Important Files Changed

Filename Overview
package.json Version bumped to 0.2.3; peer range broadened to `^0.2.0
src/tests/adapter.test.ts 30 s explicit timeout added only to the auth schema import test; other schema tests (content, booking, etc.) are fast and unaffected.
pnpm-lock.yaml Lock file correctly reflects upgrade from @tummycrypt/tinyland-auth@0.2.2 to 0.3.0 with updated integrity hash.
MODULE.bazel Bazel module version bumped from 0.2.2 to 0.2.3, consistent with package.json.
MODULE.bazel.lock Auto-generated lock file digests updated for the ts and nodejs extensions; expected after dependency change.
CHANGELOG.md Changelog entry for 0.2.3 added with accurate date and correct description of changes.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["consumer installs\n@tummycrypt/tinyland-auth-pg@0.2.3"] --> B{which auth version?}
    B -->|"0.2.x (existing)"| C["✅ peer satisfied\n(^0.2.0)"]
    B -->|"0.3.x (new)"| D["✅ peer satisfied\n(^0.3.0)"]
    B -->|"0.1.x or 0.4.x"| E["⚠️ peer warning\n(out of range)"]
    C --> F["works as before"]
    D --> G["auth schema import\n≈6-13 s — 30s test timeout"]
Loading

Reviews (1): Last reviewed commit: "fix(auth): allow auth 0.3 peer consumers" | Re-trigger Greptile

@Jesssullivan Jess Sullivan (Jesssullivan) merged commit ba7bb75 into main Apr 28, 2026
5 checks passed
@Jesssullivan Jess Sullivan (Jesssullivan) deleted the fix/auth-0.3-peer-range branch April 28, 2026 17:10
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