Skip to content

Validate Component build steps (S-002-1, S-002-11) #113

Closed

Description

@shipmill-romamo

Builds part of spec S-002, docs/specs/002-component-build-steps.md (feature issue #86): the acceptance criteria below. Each needs a test that names its id (test_s002_<k>_..., or a proves: S-002-1 comment line).

  • S-002-1: A Component with buildTools, a pnpm install and a pnpm build step in web, and artifact.include: [web/dist] passes cloudfall config validate; every existing Component without build still validates
  • S-002-11: cloudfall config validate refuses a step whose command[0] is not a key of buildTools, a workingDirectory or include path that is absolute or contains .., and artifact or buildTools declared without build

Activity

  1. shipmill-romamo commented on Oct 27, 2026

    @shipmill-romamo
    ContributorAuthor

    Triage: implement, for the next release candidate.

    The plan: build the criteria listed in the body, as docs/specs/002-component-build-steps.md (S-002, approved in #98) says, each with a test that names its id. A departure from a criterion goes back as a question, never a quiet change. Build issues start in order: this one starts once every issue on its Depends on lines has closed. I'll link the PR here.

  2. shipmill-romamo commented on Oct 27, 2026

    @shipmill-romamo
    ContributorAuthor

    The build is in #130: the Component schema and model gain buildTools, build and artifact.include, and config validate refuses the shapes S-002-11 lists. Components without build validate and render exactly as before. This issue closes when #130 merges.

  3. added 2 commits that reference this issue on Oct 27, 2026
    cb555e4
    14d5b06
  4. shipmill-romamo commented on Oct 27, 2026

    @shipmill-romamo
    ContributorAuthor

    Released in v0.8.0rc6 (pre-release). uv tool install --prerelease allow cloudfall==0.8.0rc6
    A plain install gets it with the next stable release.
    If you filed this: react 👍 on this comment once it works for you, or reply if it doesn't.

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions