Skip to content

Expose template content in wordpress-state observations#474

Merged
chubes4 merged 1 commit into
mainfrom
fix/issue-444-wordpress-state-content
Jun 2, 2026
Merged

Expose template content in wordpress-state observations#474
chubes4 merged 1 commit into
mainfrom
fix/issue-444-wordpress-state-content

Conversation

@chubes4

@chubes4 chubes4 commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds includeContent: true support for raw template and template-part content in wordpress-state template section artifacts.
  • Adds raw global-style stylesheet alongside stylesheetHash only when includeContent: true.
  • Extends runtime-episode-smoke coverage for hashes-only default behavior and include-content template/global-style exports.
  • Updates the stale discovery command smoke expectation for the existing wordpress.rest-request command so the current main check suite can progress.

Closes #444

Checks

  • npm run build
  • npm run runtime-episode-smoke
  • npm run discovery-command-smoke
  • git diff --check
  • npm run artifact-contract-smoke
  • npm run recipe-site-seed-smoke
  • Tail checks through recipe-interruption-artifacts-smoke

Blockers / notes

  • Full npm run check was attempted twice. The first run hit a transient Playground port collision in artifact-contract-smoke (EADDRINUSE 127.0.0.1:51962), and the isolated artifact-contract-smoke rerun passed.
  • The second full run exceeded a 60-minute local timeout after passing through recipe-workflow-phases-smoke; recipe-site-seed-smoke passed in isolation afterward.
  • Continuing the check tail found an existing unrelated recipe-heavyweight-plugin-runtime-smoke failure at scripts/recipe-heavyweight-plugin-runtime-smoke.ts:91, where the fixture expected workflow.activated === "yes" but observed false. This PR does not paper over that broader plugin-runtime activation-hook behavior.

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Implemented the wordpress-state observation export change, updated smoke coverage/docs, ran local checks, and prepared this PR. Chris remains responsible for review and merge.

@chubes4
chubes4 merged commit 8a83d68 into main Jun 2, 2026
@chubes4
chubes4 deleted the fix/issue-444-wordpress-state-content branch June 4, 2026 21:00
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.

Expose template and global-style content in wordpress-state observations

1 participant