Skip to content

SMOODEV-1792: add PR-checks CI (construct typecheck + helm lint/render/kubeconform)#2

Merged
brentrager merged 2 commits into
mainfrom
SMOODEV-1792-pr-checks
Jun 11, 2026
Merged

SMOODEV-1792: add PR-checks CI (construct typecheck + helm lint/render/kubeconform)#2
brentrager merged 2 commits into
mainfrom
SMOODEV-1792-pr-checks

Conversation

@brentrager

Copy link
Copy Markdown
Contributor

Adds a PR-checks workflow for @smooai/deploy — the gate the release workflow explicitly defers.

Jobs:

  • Constructs typecheckpnpm installpnpm sst install (creds-free; generates the .sst/platform ambient sst/$util/aws types the constructs reference) → tsc --noEmit.
  • Helm charthelm lint + render smoke (defaults + a representative consumer overlay) + kubeconform schema validation (skips the ExternalSecret CRD).

Verified locally: constructs typecheck clean, chart renders all 8 resources (--output-dir), helm lint clean. Self-tests on this PR. Hardens the chart enhancements (hpa.behavior, revisionHistoryLimit, PDB policy) + the cdk8s.Helm dogfood shipped under SMOODEV-1790.

🤖 Generated with Claude Code

…r/kubeconform)

The release workflow deliberately skips typechecking the SST constructs (they need
`sst install` for the ambient sst/$util/aws globals). This adds the proper gate
on every PR + push to main:
  - constructs: pnpm install + sst install (creds-free, generates .sst/platform
    ambient types) + tsc --noEmit
  - helm-chart: helm lint + render smoke (defaults + a consumer overlay) +
    kubeconform schema validation (skips the ExternalSecret CRD)

Self-tests on this PR. Hardens the chart/construct work shipped under SMOODEV-1790.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jun 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cb5d2ab

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@brentrager brentrager merged commit 31d3470 into main Jun 11, 2026
2 checks passed
@brentrager brentrager deleted the SMOODEV-1792-pr-checks branch June 11, 2026 21:00
brentrager added a commit that referenced this pull request Jun 11, 2026
…(0.1.5) (#4)

Stage C Phase 1 dogfood #2: the construct forwarded the VIEWER Host
(allViewerAndWhitelistCloudFront) to the origin, but an EKS ALB Ingress routes
by a fixed origin host (`host: web-origin.example.com`). So CloudFront sent
`Host: web-next.smoo.ai`, matched no Ingress rule, and the ALB returned 404.
(The live apex works only because sst.aws.Router rewrites Host to the origin.)

Default the dynamic behavior to the AWS-managed `Managed-AllViewerExceptHostHeader`
policy — forwards all cookies/auth/qs but NOT Host, so CloudFront sends the
origin's host and the ALB routes correctly. Add `forwardViewerHost?: boolean`
(default false) to opt back into viewer-host forwarding for host-agnostic
origins. Also fixes the same 404 the Phase 2 apex swap would have hit.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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