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 1: extract start-axum-error (leaf: error_template) · Issue #8967 · developing-today/code

pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967

New issue
Copy link
New issue
Copy link
Closed
#12395
Closed
pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template)#8967
#12395
Copy link
Labels
effort/sSmall: expected under 2 hours of workepic/crate-splitsEpic: crate-splits - all issues of this effort carry itpriority/normalOrdinary priority (the default)status/in-reviewstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template)

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/error_template.rs (AppError enum + ErrorTemplate component, 76 LOC) into member crate start-axum-error. Scan evidence: it is referenced only by app (use crate::error_template::{AppError, ErrorTemplate}) and references nothing local — a true leaf. The facade re-exports it as start_axum::error_template during the migration; the implementation must exist only in the new crate after this step.

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-2727

  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
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/sSmall: expected under 2 hours of work
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  6. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged — task 18786 (lane code-e)

    • Work kind: task/small-fix · Priority: priority/normal · Effort: effort/s
    • Fresh state (2026-11-17): issue pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967 OPEN, label epic/crate-splits only, no hard-stop labels. Sequence gate satisfied: step 0 (pkgs/web-gen-api-axum crate split — step 0: workspace conversion + baselines (no code motion) #8966, workspace conversion + baselines) is CLOSED. On origin/main, pkgs/web-gen-api-axum/src/error_template.rs is still in place and no start-axum-error crate exists — step 1 is unexecuted and unblocked.
    • Scan evidence stands: per umbrella pkgs/web-gen-api-axum crate split #8965's import scan, error_template (76 LOC: AppError + ErrorTemplate) is a true leaf — referenced only by app, referencing nothing local. The project's gate per step 0: 0 tests baseline, so cargo test passes + workspace builds clean + any added tests pass.
    • First concrete step: create the start-axum-error member crate with the moved file, re-export as start_axum::error_template from the facade, and confirm the implementation exists only in the new crate. One PR, this step only (pkgs/web-gen-api-axum crate split — step 2: extract start-axum-ui (dark_mode + app) #8968 is separate); never leave main red — stop and report here instead of merging partial state.
    • Follow-on: task 20248 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:8967; packet hidden_files/18786-fix-packet-8967.json).
  7. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1 — picked up by repo-worker-code (lane code-g, task 20248). Executing step 1: extract start-axum-error from pkgs/web-gen-api-axum/src/error_template.rs.

  8. dezren39
    added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    user/escalatedRequires a Drew decision or access
    and removed
    queue/queuedHas a queued queue task
    on Nov 17, 2026
  9. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up and blocked — task 20248 (lane code-g, repo-worker-code)

    • Fresh check: pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967 OPEN, pkgs/web-gen-api-axum crate split — step 0: workspace conversion + baselines (no code motion) #8966 CLOSED (step 0 closed without completing; baseline recorded on pkgs/web-gen-api-axum crate split #8965). On origin/main 8aa55fa the crate still fails to build (E0554, server_fn_macro), so a green step-1 PR cannot be produced.
    • Action: no branch or PR created; no partial state merged. Blocked as escalated-to-user. Ledger item web-gen-api-axum-8965-revival owns the decision: A/B unblocks step 1 after the step-0 baseline is re-run; C closes pkgs/web-gen-api-axum crate split — step 1: extract start-axum-error (leaf: error_template) #8967–pkgs/web-gen-api-axum crate split — step 3: facade slimming (fileserv + server stay in start-axum) #8969.
  10. 4 remaining items

  11. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    [agent-note:v1]
    Agent: repo-worker-code
    Lane: code-g
    Task: 20248
    State: picked_up
    Verdict: Resuming prior blocked claim for fresh validation; will continue only if prerequisite #12275 removes the documented baseline build blocker.
    Next: check GitHub state for #8967/#8966/#12275, related PR/branch and prerequisite queue task.
    [/agent-note:v1]

  12. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 22, 2026
  13. developing-today
    added
    status:in-review
    on Nov 22, 2026
  14. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    🤖 Agent note · PR opened — task 20248 (lane code-g, repo-worker-code)

    • Extracted AppError and ErrorTemplate into pkgs/start-axum-error; the old module is a compatibility re-export.
    • Enabled the package’s optional tracing dependency for hydrate, required by Leptos component macro expansion in the extracted crate and existing parent components. No dependency versions changed.
    • Verification: SSR cargo test passes (0 tests); SSR check passed; hydrate check passes; git diff --check clean. cargo fmt --check reports unrelated pre-existing ordering differences in dark_mode.rs and main.rs, left untouched.
    • PR: refactor(web-gen-api-axum): extract error template crate #12395 (open; checks neutral/skipped).
    • Commit: 5c65bf7706d68c592ab046a1cdb4fa53aec3ca38.
    • Next: wait for applicable review/CI; task completed at pr_opened.
  15. dezren39
    added
    status/in-review
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 22, 2026
  16. dezren39
    closed this as completedin #12395on Nov 22, 2026
  17. developing-today
    added
    status:done
    and removed
    status:in-review
    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/sSmall: expected under 2 hours of workepic/crate-splitsEpic: crate-splits - all issues of this effort carry itpriority/normalOrdinary priority (the default)status/in-reviewstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    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.