Skip to content

fix(fresh-ui): regenerate the private lock for the Fresh plugin-vite workspace dependency #1580

Description

@rickylabs

Release-blocking evidence

After PR #1558 added @fresh/plugin-vite to packages/fresh/deno.json, the package-private lock at packages/fresh-ui/deno.lock was not regenerated.

The dedicated Fresh UI package quality workflow now fails on current main during its frozen package type-check:

Fresh UI private lock is stale. Review the dependency diff, then run deno task --cwd packages/fresh-ui lock:update and commit packages/fresh-ui/deno.lock.

Concrete reproducer: PR #1570, workflow run 31603374728, job 94136055380.

Measured root cause

In an isolated detached worktree at exact current main db1d79c68f7861a43902313f5d7a68274b0ef12a, with Deno 2.9.5:

deno task --cwd packages/fresh-ui lock:update
exit 0

packages/fresh-ui/deno.lock | 1 +
1 file changed, 1 insertion(+)

The sole generated entry is the new dependency already declared by the packages/fresh workspace member:

       "packages/fresh": {
         "dependencies": [
           "jsr:@fresh/core@^2.3.3",
+          "jsr:@fresh/plugin-vite@^1.1.2",
           "jsr:@netscript/ai@0.0.5",

This is distinct from #1571 / PR #1572, which repairs the root deno.lock. The private Fresh UI lock is an independent frozen gate and must not be hidden inside an already evaluated immutable head.

Acceptance

  • packages/fresh-ui/deno.lock is regenerated by the package's canonical lock:update task using Deno 2.9.5, never hand-edited
  • The diff is exactly the one generated workspace dependency entry above, with no unrelated movement
  • deno task --cwd packages/fresh-ui check passes frozen
  • A second lock:update plus frozen check leaves packages/fresh-ui/deno.lock byte-identical
  • The Fresh UI package quality workflow is green on the repair PR and on the dependent quality-gate PR fix(quality): make quality gate coverage informative #1570

Workflow

This is a small deterministic generated-lock correction. PLAN-EVAL is N/A and IMPL-EVAL may use the documented skip label. It must land before PR #1570 and before the final 0.0.6 stable cut.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions