Skip to content

Regenerate docs/app/reflex.lock for the refreshed frontend pins #7024

Closed

Description

@masenf

Follow-up to #7019, which moved a batch of frontend pins but could not regenerate the docs app's committed lockfile. #6678 handled this the same way — as a separate step after the pin bumps.

What's stale

docs/app/reflex.lock/package.json and bun.lock still carry the pre-#7019 versions, so they disagree with the pins now declared in source:

Package Locked Declared in
tailwindcss-animated 2.0.0 → 2.1.0 docs/app/rxconfig.py
tailwindcss-scroll-mask 0.0.3 → 0.0.5 docs/app/rxconfig.py
es-toolkit 1.46.1 → 1.52.0 docs/app/rxconfig.py
@fontsource-variable/instrument-sans 5.2.8 → 5.3.0 docs/app/rxconfig.py
@fontsource-variable/jetbrains-mono 5.2.8 → 5.3.0 docs/app/rxconfig.py
@radix-ui/react-accordion 1.2.18 → 1.2.20 reflex-components-radix
@radix-ui/react-dialog 1.1.21 → 1.1.23 reflex-components-radix
@radix-ui/react-form 0.1.14 → 0.1.16 reflex-components-radix
@hugeicons/core-free-icons 4.2.3 → 4.3.0 reflex-components-internal
@hugeicons/react 1.1.9 → 1.1.10 reflex-components-internal
moment-timezone 0.6.2 → 0.6.3 reflex-components-moment
react-plotly.js 4.0.0 → 4.1.0 reflex-components-plotly
recharts 3.8.1 → 3.10.1 reflex-components-recharts
shiki 4.3.1 → 4.4.3 reflex-components-code
sonner 2.0.7 → 2.0.8 reflex-components-sonner
react-router, @react-router/* 8.3.0 → 8.3.1 reflex-base
isbot 5.2.1 → 5.2.2 reflex-base
postcss 8.5.23 → 8.5.26 reflex-base
postcss-import 16.1.1 → 17.0.0 reflex-base
vite 8.2.0 → 8.2.2 reflex-base

The lock will also pick up lockfileVersion: 2, since #7019 moved the bundled Bun to 1.4.0.

Why nothing is broken meanwhile

The persisted package.json and bun.lock are mutually consistent, so _run_initial_install's frozen install against the restored pair succeeds; bun add then applies the new pins and rewrites both. It self-heals per run and the frontend CI job resolves the current versions, so this is a consistency chore, not a build break — it just means a clean checkout does redundant resolution work and the committed lock misrepresents what actually ships.

Repro of the blocker

Regeneration needs a real docs/app install, which pulls @masenf/hello-react — a github: spec that Bun resolves through api.github.com:

error: GET https://api.github.com/repos/masenf/hello-react/tarball/fce6758 - 403

Sandboxed agent environments get a 403 there for repos outside the session's allow-list, so the install cannot complete. A normal dev machine or CI runner has no such restriction.

What needs doing

  • From docs/app, run the app once so the install refreshes .web and persists back (reflex run --env prod, or whatever the current docs workflow uses)
  • Commit the updated docs/app/reflex.lock/package.json and bun.lock
  • Sanity-check that the versions in the table above are what landed, and that lockfileVersion is 2

Activity

  1. added
    build
    on Sep 1, 2026
  2. linear-code commented on Sep 1, 2026

    @linear-code
  3. masenf commented on Sep 2, 2026

    @masenf
    CollaboratorAuthor

    Done in 2846217 ("update docs/app dependency pins"), pushed to the #7019 branch — so this landed inside that PR rather than as the separate follow-up I'd assumed. Thanks; that's the step my sandbox couldn't do (the @masenf/hello-react github: dep 403s through my proxy).

    Verified the regenerated lock against the PR's pins, and every one matches: @fontsource-variable/instrument-sans and jetbrains-mono 5.3.0, @hugeicons/core-free-icons 4.3.0 / @hugeicons/react 1.1.10, the three Radix primitives at 1.2.20 / 1.1.23 / 0.1.16, isbot 5.2.2, moment-timezone 0.6.3, react-plotly.js 4.1.0, react-router and the two @react-router/* packages at 8.3.1, recharts 3.10.1, shiki 4.4.3, sonner 2.0.8, postcss 8.5.26, postcss-import 17.0.0, vite 8.2.2.

    The deliberately-held pins are also correctly still held: tailwindcss and @tailwindcss/postcss at 4.3.0 (#7022), plotly.js and plotly.js-locales at 3.7.0 (#7002), react-moment at 1.2.2 (#7003). And es-toolkit now appears only transitively at 1.46.1 with no top-level entry, which is the expected shape after dropping that pin.

    Closing as completed.


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    build

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions