Přeskočit na obsah

Tato stránka byla automaticky přeložena z angličtiny, jediného jazyka, ve kterém se tento web píše. Číst originál.

I3244 — The generated Dockerfile copies every path crate cargo metadata names, so a new workspace crate needs no edit of the image

Have render.rs read the local path dependencies of the package from `cargo metadata` and emit their manifests in the recipe and dependency stages and their sources in the build stage.

PŘIPRAVENO vlna 0 · p1 · profil implementation · bezpečné souběžně

Součást fly-deployment — Image kontejneru je projekcí modelu repozitáře a jeho smoke test je jeho důkazem.

Připraveno. Všechny závislosti jsou hotové, takže majordomus plan start I3244 bude přijato.

Cíl

Have render.rs read the local path dependencies of the package from `cargo metadata` and emit their manifests in the recipe and dependency stages and their sources in the build stage.

Proč

c286#20 (2026-10-17): PR #1309 added majordomus-core and docker-image failed on a missing /src/apps/majordomus-core/Cargo.toml. The convergence plan keeps compute experimental, so this is not an alpha blocker, but it breaks the image the moment the core lands. Sources: chatgpt-majordomus:c286#20.

Aktuální stav

render.rs recipe stage: `COPY {pkg}/Cargo.toml {pkg}/Cargo.lock /recipe/in/` for one package; apps/ on master holds only majordomus-cli.

Cílový stav

A fixture with a second path crate builds the image with no generator edit; generate --check stays green.

Rozsah

  • apps/majordomus-cli/src/deploy/render.rs
  • deploy/Dockerfile
  • .dockerignore

Mimo rozsah

  • Hand edits of deploy/Dockerfile

Závislosti

Žádné. Tento úkol je kořenem grafu.

Kritéria přijetí

  • The rendered Dockerfile names every path crate of the package
  • A one-line source edit still leaves the dependency layers cached
  • generate --check passes after a crate is added

Validace

  • cargo test --manifest-path apps/majordomus-cli/Cargo.toml --lib deploy::
  • majordomus generate --check

Požadované důkazy

  • path_crates_rendered_test

Důkazy

Nic nezaznamenáno. Za každým tokenem výše musí stát příkaz nebo artefakt, než lze tento úkol dokončit; vyprávění se odmítá.

Časová osa

zahájeno
—
ověřeno
—
dokončeno
—

Tato tři pole, důkazy výše a stav závislostí jsou vše, z čeho se stav skládá. Neexistuje žádné pole stavu, které by s nimi mohlo být v rozporu.

Canonical record: .ai/repo/project/issues/I3244.yaml. Read it back with majordomus plan show I3244.

Prohledává názvy a popisy všech stránek, které tento web publikuje.