Skip to content

Translate the residual src/er/*.py paths in backend-design.md #589

Closed

Description

@athvin

Open work found in docs/backend-design.md · release post-appexchange · estimate 0.5 eng-weeks

The header, §2, §3 and §15 were corrected in #588. The inline citations in §5, §8, §9 and §12 and the whole appendix table ("engine seams this design builds on") still point at src/er/*.py paths from the deleted Python implementation.

They were left deliberately. Translating them means deciding which Rust module inherited each responsibility, and a confidently wrong path is worse than an obviously dated one. The header now tells the reader to treat them as what the design was built against.

The ones that need a decision, not a lookup

Appendix entry Old path Who owns it now?
Relation registry (authoritative schema map) src/er/lake/model.py er-schema? the entities/ catalog? both?
Session/connection + snapshot machinery src/er/lake/ducklake.py —
Per-tenant advisory writer lock src/er/lake/catalog.py er-server/src/provision.rs? pg.rs?
Per-source column mapping src/er/config/schema.py er-config
CLI orchestration sequence src/er/cli.py er-cli + er-dag
ER_* env reader src/er/lake/env.py er-env

Several entries also describe planned refactors that happened differently — "CLI orchestration sequence to extract as er/service.py" became er-dag's compiled DAG, not a service facade. Those should be rewritten as history rather than repointed.

How this was verified

git ls-files server returns nothing and src/ has no tracked files; every cited path is gone. Count what remains with:

grep -c 'src/er/' docs/backend-design.md

Filed 2026-11-05 out of the review that produced #588. Small, but it is the last place in docs/ that presents deleted paths as current locations.

Activity

  1. added
    post-appexchange
    docs-backlog
    on Nov 5, 2026
  2. athvin commented on Nov 7, 2026

    @athvin
    OwnerAuthor

    #603 fixed the appendix correctly and that part should be left alone. Two residuals, filed as #765:

    • docs/backend-design.md:291-292 still state §15 Phase 1 as "er/service.py facade extracted from src/er/cli.py" and "LakeSettings parameterization of src/er/lake/env.py" — planned Python refactors, contradicted by the appendix seven screens below (line 362: "Not a service facade. It became er-dag's compiled DAG"). This is the "rewrite as history rather than repoint" case this ticket named and left.
    • The same class, outside this ticket's scope: docs/infrastructure.md carries 11 such citations as live fact, and §9.2's Phase 4 at line 450 is the implementation plan for open mvp ticket Retire the S3 service access key in favour of the credential chain #549, naming three deleted files plus a dbt contract test that no longer exists.
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

    docs-backlogpost-appexchange

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions