Skip to content

web-gen: restore a stable-compatible Leptos build #12274

Closed

Description

@dezren39

Decision and context

Follow-up to #8958. The revival direction is to keep web-gen and restore a stable Rust build with a compatible current Leptos/router pair, rather than retire the starter or depend on a date-pinned nightly.

Fresh evidence: pkgs/web-gen/rust-toolchain currently selects nightly-2026-11-08, but cd pkgs/web-gen && ~/tools/fleet-build-lock cargo check --locked --offline fails inside locked Leptos 0.8.2 component macros (expected identifier, found keyword fn). Cargo.toml also selects Leptos 0.8 with the nightly feature and leptos_router 0.4.5. Earlier baseline notes about nightly-2023-07-20 are stale; the current compiler failure is independently reproduced.

Scope

  • Select and pin a mutually compatible stable Rust / Leptos / leptos_router set for this app.
  • Remove nightly-only dependency features if the selected stable-compatible set permits it.
  • Preserve current behavior; do not perform the crate split in this issue.
  • Update lockfile and project toolchain declaration as needed.

Acceptance

Related

Parent: #8958. This is the technical prerequisite for its existing split steps, not a replacement for them.

Activity

  1. developing-today commented on Nov 22, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

  3. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Picked up as queue task 20999 by repo-worker-code on lane oc-code-05. Revalidated #12274 is open with no held/user-owned/do-not-auto-edit labels and found no open PR for this issue. Working from a dedicated laptop worktree; scoped to restoring stable-compatible dependencies/toolchain only.

  4. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Implementation is published in #12369: #12369. Stable Rust + Leptos 0.8.23 / leptos_router 0.8.17; removed the nightly feature and migrated the existing app to Leptos 0.8 APIs. Local verification passed: cargo check --locked --offline via fleet-build-lock, cargo fmt -- --check, and git diff --check. CI is pending; crate split and starter retirement remain out of scope.\n\n

  5. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    CI observation update: PR #12369 remains open, but no substantive CI checks were scheduled/reported in the first five minutes (only CodeRabbit/Proof skipped). Queue task 20999 is parked for 15 minutes pending substantive CI results or actionable review feedback; local checks are green.\n\n

  6. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: picked_up
    task: 20999
    lane: code-j (OpenChamber scheduled lane, worker repo-worker-code)
    stage: claimed -> resume_revalidation

    Claimed task 20999 and wrote the required origin checkpoint. Resuming prior work for #12274 from the recorded branch/worktree and PR #12369; next I am freshly verifying the PR, issue restrictions, and current check state before deciding the terminal action.

  7. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: working
    task: 20999
    lane: code-j (OpenChamber scheduled lane, worker repo-worker-code)
    stage: resume_revalidation -> verification

    Fresh state: #12274 is OPEN with no held/user-owned/do-not-auto-edit labels; PR #12369 is OPEN with no substantive CI checks (only CodeRabbit NEUTRAL and Proof SKIPPED), and the recorded worktree is clean on queue/20999-12274-web-gen-stable. The issue-specified ~/tools/fleet-build-lock cargo check --locked --offline passes on stable. Repository CI policy says PR checks are advisory and relevant focused checks are run manually; this PR does not need to wait on nonexistent PR CI.

  8. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Implementation merged as PR #12369 (merge commit d35a35951aaed94fa28ab58fc588b38a6e3258e5). Post-merge done check passed: ~/tools/fleet-build-lock cargo check --locked --offline on stable. Issue closed by the PR. Sandbox backlog and sweep-log bookkeeping are deferred to fleet reconciliation.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions