GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) · Issue #8968 · developing-today/code

pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) #8968

New issue
Copy link
New issue
Copy link
Closed
#12617
Closed
pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app)#8968
#12617
Copy link
Labels
effort/mMedium: expected under 1 day of workepic/crate-splitsEpic: crate-splits - all issues of this effort carry itpriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditionstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

Description

@dezren39
dezren39
opened on Nov 12, 2026
Issue body actions

pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app)

Umbrella: #8965 (#8965)

Template: doc/2026-11-01T16-53-00Z_design_id_crate_split/2026-11-01T16-53-00Z_design_id_crate_split.md (design of record for the pkgs/id split, from #3195). Worked example: pkgs/id umbrella #3447, step issues #4403-#4411. Program: fleet-wide crate-splitting program (Drew's order, 2026-11-11); this issue set comes from the Part 2 inventory, 2026-11-12.

Scope

Move src/dark_mode.rs (109 LOC) and src/app.rs (435 LOC) into member crate start-axum-ui, depending on start-axum-error. Scan evidence: app is the only consumer of dark_mode, and app's only local references are to the two leaves — after step 1 its remaining local edge is dark_mode, which moves with it. The visitor server fns in app.rs (AddVisitorData, GetVisitorRows) move with app as one unit; no server-fn sub-split in this step. Facade re-exports start_axum::app and start_axum::dark_mode keep lib.rs/main.rs paths working.

Acceptance

Acceptance discipline (from the id template; applies to every step):

  • One PR per step; no step bundles another step's extraction.
  • Full test suite green on that PR. Baseline is recorded in step 0 (this project currently has 0 tests, so the gate is: cargo test passes, the workspace builds clean, and any tests added by a step pass).
  • Behavior-preserving: no functional changes, no dependency version bumps, no renames beyond the crate-path moves in scope.
  • Facade re-exports where consumers exist: the facade crate keeps the pre-split public paths working for the whole migration, and a step is complete only when the moved code exists solely in its new crate (the old location holds at most the re-export). The 2026-11-12 inventory found no external/Nix consumers of this project (grep of *.nix outside the project dir: no hits); the known consumer is the project's own binary/lib entry points.
  • Never leave main red: a step that cannot go green stops and reports here instead of merging partial state.

Activity

Next
  1. developing-today commented on Nov 12, 2026

    @developing-today
    developing-todayBot
    on Nov 12, 2026 – with developing.today
    Contributor
    More actions

    CODE-2728

  2. dezren39
    added
    epic/crate-splitsEpic: crate-splits - all issues of this effort carry it
    on Nov 12, 2026
  3. dezren39
    added a parent issue on Nov 12, 2026
    • epic: crate splits — splitting monolith pkgs crates into workspace sub-crates #8977
  4. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · blocked (dependency — step 1 has not landed)

    • Agent: queue worker (repo-worker-code), lane code-c
    • Session / ID: task 18787
    • Found via: queue claim
    • Task: Triage of issue pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) #8968 (pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui) — verdict: real and correctly scoped, but gated on step 1 (pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967), which has not landed. Task 18787 is dependency-blocked on pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967; the broker releases it automatically when pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967 closes.
    • Expectation: done = gate + evidence recorded (this note), task 18787 dep-blocked with the structural gate, labels synced.

    Evidence (fresh, 2026-11-16):

    • Issue pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) #8968 is OPEN with only the Kaneo intake comment — never triaged or worked; no hold labels. Its scope is explicit that the new member crate start-axum-ui depends on start-axum-error, and that "after step 1 its remaining local edge is dark_mode, which moves with it" — step 2 is defined relative to step 1's extraction.
    • Step 1 is pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967 (extract start-axum-error, leaf: error_template.rs): verified OPEN this pass with only its intake comment — unworked.
    • The split has not begun on main (verified this pass): pkgs/web-gen-api-axum on origin/main is still the single crate — src/ holds app.rs, dark_mode.rs, error_template.rs, fileserv.rs, lib.rs, main.rs and there are no member crates. There is no start-axum-error crate for step 2 to depend on.
    • Sibling state: umbrella pkgs/web-gen-api-axum crate split #8965 OPEN; step 3 (pkgs/web-gen-api-axum crate split — step 3: facade slimming (fileserv + server stay in start-axum) #8969, facade slimming) OPEN and likewise downstream of steps 1–2.

    Gate: task 18787 blocked with --blocked-by-issue #8967 (broker rechecks on its sweep cadence; the task returns to queued by itself when #8967 closes, max TTL 3 days). Whoever works step 1 does not need to touch this task.

    Triage labels for when it releases: work kind small-fix (one extraction PR per the umbrella's acceptance discipline), priority/normal, effort/m.

  6. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    on Nov 17, 2026
  7. dezren39
    removed their assignment
    on Nov 20, 2026
  8. dezren39 commented on Nov 20, 2026

    @dezren39
    dezren39
    on Nov 20, 2026
    MemberAuthor
    More actions

    agent-note:v1 — picked up by repo-worker-code (lane any-o, task 18787). Revalidating triage state; current issue remains open and step 1 prerequisite #8967 is still open, so I am restoring the dependency block with fresh evidence.

  9. dezren39 commented on Nov 20, 2026

    @dezren39
    dezren39
    on Nov 20, 2026
    MemberAuthor
    More actions

    🤖 Agent note · blocked — task 18787 (lane any-o, repo-worker-code)

    • Fresh state (2026-11-19): pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) #8968 OPEN; scope says start-axum-ui depends on start-axum-error. Prerequisite pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967 remains OPEN and carries status/blocked, queue/blocked, and user/escalated.
    • Verdict: pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) #8968 is real and correctly scoped, but cannot proceed until pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967 lands/closes.
    • Queue action: task 18787 blocked on pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967; broker dependency recheck set to 1 hour (max 3 days).
    • Resume: revalidate pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967 and main when it closes, then finish routing the scoped follow-on packet or documenting any changed disposition.
  10. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    Lane lane-n (archer) picking up queue task 18787: step 2 extraction of start-axum-ui (dark_mode + app). Premise revalidated 2026-11-22: prerequisite step 1 (#8967) closed as completed today via PR #12395 (merge e8cb56e) — pkgs/start-axum-error exists on main and the facade's error_template.rs is a re-export shim; src/app.rs / src/dark_mode.rs are still full sources in the facade, so step 2 is live and unblocked.

  11. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up — task 18787 (repo-worker-code, lane oc-code-06)

    • Fresh state: pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) #8968 OPEN with no hard-stop labels. Prerequisite pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967 is CLOSED; PR refactor(web-gen-api-axum): extract error template crate #12395 is MERGED, and the issue confirms start-axum-error landed.
    • pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) #8968 remains unimplemented: src/app.rs and src/dark_mode.rs are still the in-scope facade sources.
    • Next: verify main and existing queue coverage, then route the scoped step-2 implementation task.
  12. 8 remaining items

  13. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    work/assignedQueue worker lifecycle state
    on Nov 22, 2026
  14. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    agent-note:v1 — picked up: task 21056 claimed by repo-worker-code on lane code-i; origin=openchamber-scheduled-lane. Revalidating issue and preparing an isolated worktree.

  15. developing-today
    added
    status:in-review
    on Nov 22, 2026
  16. dezren39
    closed this as completedin 629fdd2on Nov 22, 2026
  17. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 22, 2026
  18. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    agent-note:v1 — parked: task 21056 paused because open PR #12617 (archer-lane-n/8968-start-axum-ui) covers the exact requested extraction. Resume after fresh PR disposition/scope verification; no parallel PR will be created.

  19. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done — task 18787 (lane lane-n, archer)

    Step 2 is landed. The earlier dependency block is resolved: step 1 (#8967) closed as completed 2026-11-22 via PR #12395, which unblocked this step.

    • PR: #12617 — merged, merge commit 79e9097de2a9057f52cd5d840cd3c816f59efc90. This issue auto-closed via Closes #8968.
    • Extracted: pkgs/start-axum-ui now owns app.rs (435 LOC, moved; single change = AppError/ErrorTemplate imported from start_axum_error) and dark_mode.rs (109 LOC, byte-identical), depending on start-axum-error per scope. Facade src/app.rs / src/dark_mode.rs are re-export shims (pub use start_axum_ui::app::*; / dark_mode::*), so start_axum::app and start_axum::dark_mode keep working for lib.rs, main.rs and fileserv.rs. Visitor server fns moved with app as one unit.
    • Oracle (step-1 gate, fleet-run, nix develop .#fleet): baseline on main all green (run 45038657750); final branch run all green (run 45040690050) — cargo check --features ssr, cargo check --locked --features hydrate, cargo check --locked --features ssr, cargo test --locked --features ssr (0 tests, matching the step-0 baseline). Two intermediate runs caught the macro-wiring deps the extraction needs as direct deps of the new crate (serde for #[server], tracing for #[component] — the same trap step 1 recorded), fixed in-PR; details in the PR evidence.
    • Remaining: step 3 (pkgs/web-gen-api-axum crate split — step 3: facade slimming (fileserv + server stay in start-axum) #8969, facade slimming) is untouched and now unblocked on this side.
  20. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 22, 2026
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

    effort/mMedium: expected under 1 day of workepic/crate-splitsEpic: crate-splits - all issues of this effort carry itpriority/normalOrdinary priority (the default)queue/parkedQueue task is parked (waiting on CI, time, or an event)status/parkedDeliberately paused with a recorded resume conditionstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.