Skip to content

chore(deps): bump @packrat-ai/nativewindui 2.0.3 → 2.0.6, drop local patches#2528

Merged
andrew-bierman merged 1 commit into
feat/web-e2e-fixfrom
chore/bump-nativewindui-2.0.6
Jun 1, 2026
Merged

chore(deps): bump @packrat-ai/nativewindui 2.0.3 → 2.0.6, drop local patches#2528
andrew-bierman merged 1 commit into
feat/web-e2e-fixfrom
chore/bump-nativewindui-2.0.6

Conversation

@andrew-bierman

Copy link
Copy Markdown
Collaborator

Summary

Upstream @packrat-ai/nativewindui@2.0.6 ships everything the local patch was working around, so we can bump and delete the patch file entirely.

What's in 2.0.6 that makes the patch obsolete

Concern Where it was patched What 2.0.6 ships
searchBar.testID never propagated to the search-icon Button in LargeTitleHeader (broke catalog-search Playwright test) local hunk in patches/@packrat-ai%2Fnativewindui@2.0.3.patch (added in #2511) feat: expose testIDs across all components (commit efb2492 / a94b14c)
Several files needed // @ts-nocheck because the published types didn't match the runtime shape three @ts-nocheck hunks on AdaptiveSearchHeader, Icon/types, LargeTitleHeader chore: fix type issues (commit 1480564) + 🏷️ fix all TypeScript errors after fresh component sync (commit 5e02035)

Diff scope

  • package.json — root overrides pin (2.0.32.0.6), root direct dep range (^2.0.3^2.0.6), patchedDependencies block emptied. packages/ui/package.json was already declaring ^2.0.6 but the override + root range pinned us back to 2.0.3, which is why nobody was getting the upstream fix.
  • bun.lock — refreshed by bun install to pull 2.0.6 from GitHub Packages.
  • patches/@packrat-ai%2Fnativewindui@2.0.3.patch — deleted.

Verification

  • bun install resolves to @packrat-ai/nativewindui@2.0.6 cleanly.
  • bunx tsc --noEmit is clean on apps/expo (one pre-existing uuid type-def error, unrelated to this change).
  • bun test:expo (326/326) and bun test:api:unit (215/215) both green.
  • Playwright web E2E suite — 36/36 green against 2.0.6 on the same local Neon stack set up in test(web-e2e): close the last failures — 36/36 against a local Neon stack #2511.

Risk

Low — additive feature release upstream, no API breaks. The LargeTitleHeader file also got a formatting pass (single quotes, trailing commas, JSX line wrapping) but no behavioural changes. iOS / Maestro flows aren't affected (no .maestro/** files touched, and the only runtime difference is the testID lands on the actual DOM element on web/Android).

Follow-up

Going forward we should bump the @packrat-ai/nativewindui minor version (2.1.0) when shipping accumulated user-visible features rather than patch (2.0.7). Patches feel "should already have" and quietly didn't land here — the root overrides pin sailed past the packages/ui ^2.0.6 range without anyone noticing until I went looking.

Copilot AI review requested due to automatic review settings June 1, 2026 01:26
@coderabbitai

coderabbitai Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@andrew-bierman, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 18 minutes and 52 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: e69466a9-f87c-4fa3-b6b2-46ef77a074dc

📥 Commits

Reviewing files that changed from the base of the PR and between cacb3f7 and 48815c4.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock, !bun.lock
📒 Files selected for processing (2)
  • package.json
  • patches/@packrat-ai%2Fnativewindui@2.0.3.patch
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/bump-nativewindui-2.0.6

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@github-actions github-actions Bot added the dependencies Pull requests that update a dependency file label Jun 1, 2026
@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for API Unit Tests Coverage (./packages/api)

Status Category Percentage Covered / Total
🔵 Lines 76.17% 502 / 659
🔵 Statements 76.17% (🎯 65%) 502 / 659
🔵 Functions 95% 38 / 40
🔵 Branches 88.67% 227 / 256
File CoverageNo changed files found.
Generated in workflow #1508 for commit 48815c4 by the Vitest Coverage Report Action

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Coverage Report for Expo Unit Tests Coverage (./apps/expo)

Status Category Percentage Covered / Total
🔵 Lines 82.61% 480 / 581
🔵 Statements 82.61% (🎯 75%) 480 / 581
🔵 Functions 92.59% 50 / 54
🔵 Branches 90.9% 170 / 187
File CoverageNo changed files found.
Generated in workflow #1508 for commit 48815c4 by the Vitest Coverage Report Action

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps @packrat-ai/nativewindui from 2.0.3 to 2.0.6 and removes the local patch that's now obsolete since upstream 2.0.6 ships the testID propagation and TypeScript fixes the patch was working around.

Changes:

  • Update root overrides pin (2.0.32.0.6) and root direct dep range (^2.0.3^2.0.6); empty the patchedDependencies block.
  • Refresh bun.lock to resolve @packrat-ai/nativewindui@2.0.6 from GitHub Packages.
  • Delete patches/@packrat-ai%2Fnativewindui@2.0.3.patch.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
package.json Bumps override and direct dep to 2.0.6; clears the patchedDependencies entry.
bun.lock Lockfile refresh resolving 2.0.6 and dropping the patch entry.
patches/@PackRat-AI%2Fnativewindui@2.0.3.patch Deleted — fixes (testID propagation, type corrections) now present upstream.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@andrew-bierman andrew-bierman force-pushed the chore/bump-nativewindui-2.0.6 branch from 48a237e to 539ccbf Compare June 1, 2026 01:34
…cal patches

Upstream `@packrat-ai/nativewindui@2.0.6` ships everything the local patch
was working around:

- LargeTitleHeader: `testID={props.searchBar.testID}` on the search-icon
  Button (the catalog-search testID fix we added in PR #2511).
- Type fixes from `chore: fix type issues` + `🏷️ fix all TypeScript errors
  after fresh component sync` that made the local `@ts-nocheck` hunks on
  AdaptiveSearchHeader / Icon/types / LargeTitleHeader obsolete.

Changes:
- `packages/ui/package.json` is already the canonical declarer at `^2.0.6`.
- **Drop the root `overrides` pin** for nativewindui. It was added in
  `8a558939e` to freeze us at 2.0.3 because 2.0.6 had a type regression
  against react-native 0.81 autocapitalize types. We're on RN 0.83.6 now,
  the regression no longer reproduces, and overrides should be reserved
  for emergency pins, not normal version management. With the override
  gone, the `^2.0.6` range in `packages/ui` is the single source of
  truth — future releases bump naturally without touching the root.
- Empty `patchedDependencies` block and delete the patch file — nothing
  to patch against 2.0.6.

Verified:
- `bun install` resolves to 2.0.6 cleanly with no root override.
- `bunx tsc --noEmit` clean on `apps/expo` (only the pre-existing `uuid`
  type-def error remains, unrelated).
- Playwright web E2E suite is 36/36 green against 2.0.6 with no patches.
@andrew-bierman andrew-bierman force-pushed the chore/bump-nativewindui-2.0.6 branch from 539ccbf to 48815c4 Compare June 1, 2026 01:36
@andrew-bierman andrew-bierman merged commit f2723d9 into feat/web-e2e-fix Jun 1, 2026
6 checks passed
@andrew-bierman andrew-bierman deleted the chore/bump-nativewindui-2.0.6 branch June 1, 2026 01:48
andrew-bierman added a commit that referenced this pull request Jun 1, 2026
Resolution strategy (per fly-on-the-wall rule — development's bug fixes win
for everything except the e2e test infrastructure itself):

* App code conflicts (ai-chat.tsx, _layout.tsx, one-time-password.tsx,
  UserAvatar.tsx, pack/trip components, hooks, trips route): take theirs.
* packages/api/src/db/seed-e2e-user.ts: take theirs — uses accountId=email
  (better-auth's actual lookup key) and proper .onConflictDoUpdate().
* .github/workflows/web-e2e-tests.yml: take theirs — adds e2e-gate job,
  smart path filters, and a 'seed E2E user' step.
* apps/expo/playwright/{playwright.config.ts,tests/*.ts}: take ours.
  Development's parallel attempt still uses retired /api/auth/login etc;
  ours is the working 36/36 Better Auth suite from #2511.
* Root package.json: keep our #2528 cleanup — drop the
  '@packrat-ai/nativewindui: 2.0.3-2' override block, keep
  'patchedDependencies: {}'.
* packages/ui/package.json: take ours (^2.0.6).
* bun.lock: regenerated via 'bun install'.
* packages/api/src/db/seed-e2e-catalog.ts: switch import from local
  './schema' to '@packrat/db/schema' — development moved the schema
  into the @packrat/db workspace.

Verified:
* bun test:expo — 357/357
* bun test:api:unit — 328/328
* bun check-types — 0 errors
* @packrat-ai/nativewindui resolves to 2.0.6
andrew-bierman added a commit that referenced this pull request Jun 1, 2026
development advanced by 1010 commits since our last merge, largely landing
the same web-support work via #2366 plus the turborepo migration #2200,
@packrat/typescript-config #2527, per-package check-types #2532, bun pin
via .tool-versions #2534, and the schemas refactor 0cdf8b2.

Conflict resolution policy:
- Take development's version everywhere by default (fly on the wall).
- Take HEAD only for files that carry post-merge fixes unique to this
  branch, i.e. the three commits ab6328e / 006bcdd / 522c805:
  apps/expo/lib/api/packrat.ts (web token cache),
  apps/expo/lib/auth-client.ts (credentials:include),
  apps/expo/mocks/react-native-community-datetimepicker.tsx (forward
  testID), apps/expo/providers/index.web.tsx (BottomSheet + ActionSheet),
  apps/expo/features/trips/hooks/useDeleteTrip.ts (DELETE via apiClient),
  apps/expo/features/trips/screens/TripDetailScreen.tsx (window.confirm
  on web), apps/expo/playwright/tests/trips.spec.ts (date-input via
  forwarded testID + DELETE wait + explicit goto), apps/expo/app/(app)/
  ai-chat.tsx (async headers + tokenRef), packages/api/src/auth/index.ts
  (rate limit disabled on localhost).
- Root package.json: keep our kysely override + drop the now-unused
  patchedDependencies block + drop development's nativewindui 2.0.3-2
  pin (we're on 2.0.6 via #2528). Regenerated bun.lock.
- Removed the orphan patches/@PackRat-AI%2Fnativewindui@2.0.3.patch
  brought back by the modify/delete conflict (no longer referenced
  from package.json).
andrew-bierman added a commit that referenced this pull request Jun 1, 2026
Brought back by the modify/delete conflict in the development merge but
no longer referenced from package.json (we're on ^2.0.6 via #2528 where
the upstream fix landed).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants