Skip to content

fix(config): a missing platform.valuesFiles entry is reported as 'no agentlab.yaml found', and blocks down #165

Description

@teemow

Problem

When platform.valuesFiles names a file that no longer exists, agentlab down (and presumably every command that loads the configuration) fails with

no agentlab.yaml found

although agentlab.yaml is right there. Observed on 2026-09-12 while taking a lab down whose valuesFiles pointed at a checkout that had been removed: the message sent the operator looking for the wrong problem; editing the valuesFiles entry out made down work.

Proposed solution

A missing values overlay is reported as what it is — platform.valuesFiles[0]: <path>: no such file — and down in particular should not need the overlays at all (destroying the cluster needs the cluster name, nothing from the platform values).

Acceptance criteria

  • A configuration whose platform.valuesFiles names a missing file fails agentlab render/up/platform with an error that names the key and the path.
  • agentlab down succeeds on such a configuration.
  • A unit test for the loader's message.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions