Skip to content

chore(example): bump ROU, TUR contract_details schema versions - #1819

Open
gabrielseco wants to merge 1 commit into
mainfrom
workbench/g-2026-10-31-39-rou-romania-europe-v1-v6-1
Open

gabrielseco wants to merge 1 commit into
mainfrom
workbench/g-2026-10-31-39-rou-romania-europe-v1-v6-1

Conversation

@gabrielseco

@gabrielseco gabrielseco commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Pins the example app to the latest contract details schema versions for Romania (v6) and Turkey (v7), with snapshots and migration guides.

Why

Both countries were still pinned to v1 while newer versions are served. Earlier country bumps followed the same steps.

What changed

Toggle details
  • Version pins in the example app: ROU 1 to 6, TUR 1 to 7.
  • Both countries added to the JSF v1 contract details country list and its test.
  • New snapshots ROU.v6.json and TUR.v7.json, generated with pnpm run schema-snapshot --create-missing.
  • New ROU.md and TUR.md migration guides, and the countries README rows updated. Each guide has one "current" entry summarizing all changes since v1, because the snapshots only provide a v1 to latest diff, not one per version.
  • The schema snapshot seeding script now also skips the engagement agreement form on a 422, as it already did on a 404. The sandbox answers 422 ("Form not available for requested country") for Romania and Turkey, which made the snapshot run fail. This is the one change outside the usual bump files.
  • Compared with the Panama and Puerto Rico bump, the file list matches (pin, utils, utils test, snapshots, country docs, README) plus the seeding script change above. The schema canary skip list and pinned versions needed no change.
  • No public API change.

Screenshots

N/A

Related Resources

Testing

  • pnpm run type-check, lint and check-format pass locally; utils.test.ts passes. The full suite runs in CI.

  • Tested against the example/ app in a browser

  • Feature flag: N/A


Note

Low Risk
Mostly version pins, documentation, and example configuration; the seed script change only broadens an existing skip path for optional forms.

Overview
Updates Romania and Turkey to current contract details schema versions and documents how integrators should migrate.

The example app now pins ROU to v6 and TUR to v7 (was v1). Romania and Turkey are added to the JSF v1 contract-details country list so onboarding uses the build-once headless form path, with matching test coverage.

New country guides ROU.md and TUR.md summarize compliance-driven field changes since v1, and the countries README matrix links them and marks both as up to date for October 2026.

Schema canary seed-employment now skips missing engagement_agreement_details when the API returns 422 as well as 404, so snapshot/seeding works for countries where that form is unavailable in sandbox.

Reviewed by Cursor Bugbot for commit b0385f9. Bugbot is set up for automated code reviews on this repo. Configure here.

The schema snapshot seed treats a 422 from the engagement agreement form as
'no form for this country', as it already does for a 404, since the sandbox
answers 422 for Romania and Turkey.
@github-actions

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Metric Current Previous Change Status
Total (gzip) 240.5 kB 240.49 kB +6 B (+0.0%) 🔴
Total (raw) 665.45 kB 665.44 kB +8 B (+0.0%) 🔴
CSS (gzip) 22.01 kB 22.01 kB 0 B (0%) 🟢
CSS (raw) 114.74 kB 114.74 kB 0 B (0%) 🟢

Size Limits

  • ✅ Total gzipped: 240.5 kB / 350 kB (68.7%)
  • ✅ Total raw: 665.45 kB / 850 kB (78.3%)
  • ✅ CSS gzipped: 22.01 kB / 25 kB (88.1%)

Largest Files (Top 5)

  1. index.esm-wIkXrqU6.js - 11.4 kB (0 B (0%))
  2. styles.css - 11.01 kB (0 B (0%))
  3. index.css - 11.01 kB (0 B (0%))
  4. internals-vBPqpOAQ.js - 6.14 kB (0 B (0%))
  5. hooks-tRFcXUMh.js - 5.77 kB (0 B (0%))
View All Files (307 total)
File Size (gzip) Change
index.esm-wIkXrqU6.js 11.4 kB 0 B (0%)
styles.css 11.01 kB 0 B (0%)
index.css 11.01 kB 0 B (0%)
internals-vBPqpOAQ.js 6.14 kB 0 B (0%)
hooks-tRFcXUMh.js 5.77 kB 0 B (0%)
sdk.gen-D_5dqKZ5.js 5.63 kB 0 B (0%)
index.js 5.6 kB 0 B (0%)
flows/Onboarding/hooks.js 4.67 kB 0 B (0%)
utils-CHvFwoQn.js 4.43 kB 0 B (0%)
FieldSetField-DL8fBWct.js 4.43 kB 0 B (0%)

✅ Bundle size check passed

@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for adp-cost-calculator ready!

Project:adp-cost-calculator
Status: ✅  Deploy successful!
Preview URL:https://adp-cost-calculator-78ic25rpe-remotecom.vercel.app
Latest Commit:b0385f9

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

Deploy preview for remote-flows ready!

Project:remote-flows
Status: ✅  Deploy successful!
Preview URL:https://remote-flows-p5ez3spff-remotecom.vercel.app
Latest Commit:b0385f9

Deployed with vercel-action

@github-actions

Copy link
Copy Markdown
Contributor

📊 Coverage Report

✅ Coverage increased! 🎉

Metric Current Previous Change Status
Lines 90.17% 90.15% +0.02% 🟢
Statements 90.05% 90.03% +0.02% 🟢
Functions 89.03% 89.03% 0% ⚪
Branches 81.69% 81.66% +0.02% 🟢

Detailed Breakdown

Lines Coverage
  • Covered: 5703 / 6325
  • Coverage: 90.17%
  • Change: +0.02% (1 lines)
Statements Coverage
  • Covered: 5772 / 6410
  • Coverage: 90.05%
  • Change: +0.02% (1 statements)
Functions Coverage
  • Covered: 1509 / 1695
  • Coverage: 89.03%
  • Change: 0% (0 functions)
Branches Coverage
  • Covered: 3515 / 4303
  • Coverage: 81.69%
  • Change: +0.02% (1 branches)

✅ Coverage check passed

This branch has not been deployed

No deployments
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