Skip to content

03-docs: render the deployment record without PyYAML - #17

Merged
vijayakrishnans merged 1 commit into
mainfrom
claude/render-without-pyyaml
Nov 6, 2026
Merged

vijayakrishnans merged 1 commit into
mainfrom
claude/render-without-pyyaml

Conversation

@vijayakrishnans

Copy link
Copy Markdown
Contributor

What

A console build of vijayakrishnans/portfolio-and-blog stopped at 03-docs:

hook "render" (bash …/hooks/render-deployment-docs.sh . org_… …): exit status 1

The build box has python3 but not PyYAML. The hook imported yaml outside its try to read SITE_URL from intent.yaml, so the import failed with no message. The site was live on stage and prod; only the record was missing. Same bug and same fix as sourceplane/blog-starter#9 and sourceplane/astro-boilerplate#12.

  • hooks/render-deployment-docs.sh: site_url() uses PyYAML when present, otherwise reads environments.<env>.env.SITE_URL by indentation with the standard library only. Byte-identical to blog-starter's.
  • testing/render.test.sh (new, in Baseline CI's contract tests): runs the hook under a python3 with no third-party packages and with the system one.
  • Records risk PK-L.

Checked

  • The new test passes; against the old hook it fails with ModuleNotFoundError: No module named 'yaml'.
  • The fixed hook, run on a clone of vijayakrishnans/portfolio-and-blog under a bare python3, renders all four URLs (site and /rss, stage and prod) as LIVE (200).
  • manifest, phases, coverage, rebrand, retouch, bootstrap-defer and render pass locally. leak and placement need orun v2.88.0 and are left to Baseline CI.

Not yet proven: a console build through 03-docs. That needs baseline-v9 and the registry bump.

🤖 Generated with Claude Code

The build box has python3 but not PyYAML, and render-deployment-docs.sh
imported yaml outside its try block to read SITE_URL. The import failed with
exit 1 and no message, so a console build (vijayakrishnans/portfolio-and-blog)
stopped at 03-docs with its site live on stage and prod. This ports
sourceplane/blog-starter#9's fix; astro-boilerplate#12 did the same.

The hook uses PyYAML when present and otherwise reads
environments.<env>.env.SITE_URL by indentation. testing/render.test.sh runs it
under a python3 with no third-party packages, and Baseline CI runs that test.
Records risk PK-L.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T12:53:22.828145Z 4028a4e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@vijayakrishnans
vijayakrishnans merged commit 4fc20eb into main Nov 6, 2026
5 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.

1 participant