Skip to content

CLOSED - superseded by #3736#3735

Closed
itsjustriley wants to merge 4 commits into
mainfrom
chore/release-comms-skill
Closed

CLOSED - superseded by #3736#3735
itsjustriley wants to merge 4 commits into
mainfrom
chore/release-comms-skill

Conversation

@itsjustriley
Copy link
Copy Markdown
Contributor

@itsjustriley itsjustriley commented Apr 20, 2026

⚠️ This PR was closed due to a git issue and replaced by #3736.

The branch was accidentally created with stale changes from a previous session. Please see #3736 for the actual PR.

itsjustriley and others added 4 commits April 14, 2026 12:45
Fixes #3708

Cart operations were unconditionally declaring `$visitorConsent: VisitorConsent`
in GraphQL mutations, causing schema validation failures on stores without the
VisitorConsent type (older API versions or certain store configurations).

The visitorConsent parameter is now only included when explicitly provided via
`optionalParams.visitorConsent`. This restores compatibility while preserving
the feature for users who need it.

Changes:
- Add cart-query-helpers.ts with getInContextVariables/getInContextDirective
- Update 16 cart mutation files to use conditional inclusion
- Add tests verifying conditional behavior

Co-Authored-By: Claude Opus 4.5 (1M context) <noreply@anthropic.com>
Same root cause as the hydrogen fix - cart queries were unconditionally
declaring `$visitorConsent: VisitorConsent`, causing schema validation
failures on stores without that type.

Cart query functions now accept an optional second parameter:
`{ includeVisitorConsent?: boolean }`. The visitorConsent variable and
directive argument are only included when explicitly enabled.

Co-Authored-By: Claude Opus 4.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 (1M context) <noreply@anthropic.com>
Add a new skill documenting how to write blog posts and changelog entries for Hydrogen releases. Also update hydrogen-release-process skill to include blog posts as step 5 in the release flow.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@shopify
Copy link
Copy Markdown
Contributor

shopify Bot commented Apr 20, 2026

Oxygen deployed a preview of your chore/release-comms-skill branch. Details:

Storefront Status Preview link Deployment details Last update (UTC)
Skeleton (skeleton.hydrogen.shop) ✅ Successful (Logs) Preview deployment Inspect deployment April 20, 2026 2:18 PM

Learn more about Hydrogen's GitHub integration.

@itsjustriley itsjustriley changed the title chore: add hydrogen-release-comms skill CLOSED - superseded by #3736 Apr 20, 2026
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