Skip to content

test: no per-stack generation smoke test - #58

Merged
AnayDhawan merged 2 commits into
CreativesLibrary:mainfrom
ResourceMint:rm/per-stack-smoke-test
Aug 17, 2026
Merged

AnayDhawan merged 2 commits into
CreativesLibrary:mainfrom
ResourceMint:rm/per-stack-smoke-test

Conversation

@ResourceMint

Copy link
Copy Markdown
Contributor

What and why

tests/run.sh and check-placeholders.sh both generate through demo/scaffold.sh, which hardcodes a node identity. No fixture had ever run fill()/apply.sh against any other stack's command table — exactly how a real, shipped-since-v1.0.0 bug (a crash on every Go repo, since fixed) went unnoticed for this long.

Adds a smoke_stack loop that writes a bare marker file per detected stack (package.json, Cargo.toml, go.mod, ...) into a throwaway $TMP dir and runs apply.sh against it with a minimal config, asserting a clean exit. Covers all 11 detected stacks plus generic.

Closes #42

Type

  • Script fix or improvement (scripts/) — adds to tests/run.sh

Checklist

  • shellcheck scripts/*.sh passes (if scripts changed) — not available locally; this PR doesn't touch scripts/, only tests/run.sh
  • Templates still use generic {{PLACEHOLDERS}}, no hardcoded names or paths
  • No secrets or personal paths committed
  • SKILL.md / references updated if behaviour changed — test-only change, no runtime behavior affected

Verified locally: full bash tests/run.sh passes, all 12 stacks (11 detected + generic) run clean.

demo/scaffold.sh's fixture is node-only, so no fixture had ever run
apply.sh's fill()/command tables against any other stack -- exactly how
a real, shipped-since-v1.0.0 crash on every Go repo went unnoticed
until it was reported and fixed separately.

Adds a smoke_stack loop covering all 11 detected stacks plus generic:
writes a bare marker file, runs apply.sh against it with a throwaway
config, and asserts a clean exit. Fixes CreativesLibrary#42.

@AnayDhawan AnayDhawan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified locally: all 12 stacks smoke clean, shellcheck SC2318 fixed. CI green.

@AnayDhawan
AnayDhawan merged commit 3fe4b1f into CreativesLibrary:main Aug 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No per-stack generation smoke test

2 participants