Skip to content

feat: add offline CDK validate workflow and bump toolchain versions - #25

Merged
dannysteenman merged 3 commits into
mainfrom
feat/cdk-validate-workflow
Sep 4, 2026
Merged

dannysteenman merged 3 commits into
mainfrom
feat/cdk-validate-workflow

Conversation

@dannysteenman

@dannysteenman dannysteenman commented Sep 4, 2026 •

Copy link
Copy Markdown
Member

What changed

  • New cdk-validate workflow runs uv run projen validate (cdk validate --no-online) on every pull request. It needs no AWS credentials, so it also runs safely on fork PRs.
  • Bumped pinned versions: aws-cdk-lib 2.263.0 → 2.267.0, aws-cdk-cli 2.1130.0 → 2.1139.0, projen 0.101.11 → 0.103.7, pytest 9.0.3 → 9.1.1 (newest releases at least 7 days old).
  • GitHub Actions moved to their latest majors and kept in one GITHUB_ACTIONS map in src/bin/cicd_helper.py: actions/checkout@v7, actions/setup-python@v7, astral-sh/setup-uv@v10, aws-actions/configure-aws-credentials@v6. pin_github_actions registers the map with projen so the auto-approve and pull-request-lint workflows use the same major tags (no commit SHA pins).
  • The checkout/Python/uv/dependencies/CDK CLI steps shared by the deploy and validate workflows are now one cdk_environment_steps helper.
  • The test task now puts src on PYTHONPATH, so uv run projen build actually runs the tests (they failed to import stacks before).

Validation

  • uv run projen regenerates cleanly
  • uv run projen build passes (1 test)
  • uv run projen validate reports no problems

- Add cdk-validate workflow that runs `uv run projen validate` on pull
  requests without AWS credentials
- Bump aws-cdk-lib 2.267.0, aws-cdk-cli 2.1139.0, projen 0.103.7, pytest 9.1.1
- Keep GitHub Action versions in one GITHUB_ACTIONS map (checkout v7,
  setup-python v7, setup-uv v10, configure-aws-credentials v6) and register
  it with projen so its own workflows use the same major tags
- Put src on PYTHONPATH for the test task so `projen build` runs the tests

Claude-Session: https://claude.ai/code/session_01Tz9KQF59qSvDQVKBNezGeC
@dannysteenman dannysteenman added the enhancement New feature or request label Sep 4, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 4, 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-09-04T13:07:04.725437Z d7bb245 New commits
ℹ️ 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.

astral-sh/setup-uv only publishes floating tags up to v7, so v10 must be
referenced by its full release tag.

Claude-Session: https://claude.ai/code/session_01Tz9KQF59qSvDQVKBNezGeC
None of the generated workflows push to git, so actions/checkout no longer
writes the token into .git/config where later steps could read it.

Claude-Session: https://claude.ai/code/session_01Tz9KQF59qSvDQVKBNezGeC
@dannysteenman
dannysteenman merged commit 8cbf2cf into main Sep 4, 2026
3 checks passed
@dannysteenman
dannysteenman deleted the feat/cdk-validate-workflow branch September 4, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant