v0.4.1
Patch Changes
-
a6ce9b3:
scry initno longer reports success for steps that failed.Setting up a real repository end to end produced "✅ Changes committed and pushed"
and "✅ Repository secret (SCRY_API_KEY)" while having done neither. CI then failed
at the deploy step with no credentials, and the only clue was a warning printed
twenty lines above the success banner that contradicted it.Three fixes:
git addno longer aborts the commit. It throws on a.gitignore'd path, and
one throw skipped the workflow files entirely. A leftover.storybook-deployer.json
ignore rule from the pre-0.4.0 workaround was enough to prevent CI ever being set up.gh variableis no longer assumed. It arrived in gh 2.21; Ubuntu 22.04 ships
2.4.0. On olderghthe first call threw and the secret after it was never reached,
leaving the repository with no variables and no secret. There is now a capability
check and agh apifallback.- The closing summary reports what happened, including a distinct message for
"not attempted" when GitHub setup was skipped.
-
92bc27e: The GitHub Actions workflow
scry initgenerates now installs a browser.Without it, screenshot capture failed for every story, no metadata archive was
produced, and nothing was ever indexed — while the deploy exited 0 and the
workflow went green. Proved on a real repository: CI passed and the project
recordedstorybook_uploadedand nothing else.The install command follows the project's package manager.
npxis not safe to
assume: under pnpm it resolves against the pnpm-managed environment and reports
playwright: not found(exit 127) even with--yes.If you ran
scry initbefore this release, add the step by hand before your
deploy step, or re-runinit— otherwise CI will keep passing without indexing
anything.