Skip to content

fix(frontend): stabilize generated schema snapshots - #3

Merged
gokugiant merged 1 commit into
mainfrom
fix/codegen-drift
Aug 28, 2026
Merged

gokugiant merged 1 commit into
mainfrom
fix/codegen-drift

Conversation

@gokugiant

Copy link
Copy Markdown
Contributor

Summary

  • normalize set-like locks and manipulates arrays before writing blok.json
  • prevent Python hash-seed-dependent ordering from causing false codegen drift
  • regenerate the committed frontend schema snapshot and state bindings

Verification

  • yarn build
  • yarn types
  • repeated codegen in the same backend process
  • codegen after restarting the backend with a different PYTHONHASHSEED
  • yarn prettier --check plugins/generate-app.ts
  • git diff --check

Note

The full frontend lint command still reports the pre-existing react-hooks/set-state-in-effect error in src/lib/auth/AuthProvider.tsx; it is unrelated to this change.

@gokugiant
gokugiant merged commit ade8591 into main Aug 28, 2026
5 of 7 checks passed
@gokugiant
gokugiant deleted the fix/codegen-drift branch August 28, 2026 09:53
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