Skip to content

goose-self-test recipe fails first mkdir due to parent directory order #8486

@sunilkumarvalmiki

Description

@sunilkumarvalmiki

Summary

goose-self-test.yaml starts with an invalid directory creation order and immediately hits a shell failure.

Environment

  • Repo: aaif-goose/goose
  • Commit tested: 3f5277538d5f6df1a88faca5e77cecc0ee208ae1 (origin/main)
  • Host: macOS 26.4.1 (arm64)
  • Date tested: 2026-04-11

Reproduction

source bin/activate-hermit
./target/debug/goose run --recipe goose-self-test.yaml

Expected

Initial workspace setup step should succeed on a clean checkout.

Actual

First shell command fails:

command: mkdir ./gooseselftest/archive/
mkdir: ./gooseselftest: No such file or directory
Command exited with code 1

The recipe then retries with mkdir ./gooseselftest/, which means the failure is avoidable and indicates ordering/robustness issue in the recipe flow.

Impact

  • Noisy/failed first step in official self-test flow
  • Can break strict automation wrappers that stop on first non-zero shell exit

Evidence

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