Skip to content

Copier update (misc version bumps)#56

Merged
ejfine merged 1 commit intomainfrom
misc-copier-update
Aug 14, 2025
Merged

Copier update (misc version bumps)#56
ejfine merged 1 commit intomainfrom
misc-copier-update

Conversation

@ejfine
Copy link
Contributor

@ejfine ejfine commented Aug 14, 2025

Pull in upstream changes

Summary by CodeRabbit

  • New Features

    • None.
  • Refactor

    • Devcontainer now uses a workspace-relative Ruff configuration path for easier portability.
  • Chores

    • Updated template/tooling versions in project context: Pulumi, Pulumi AWS, boto3, Nuxt (to v4), added nuxt-icon, ESLint v9, Zod v4, and Apollo (Nuxt) alpha.
    • Pre-commit now excludes generated GraphQL files from end-of-file fixes.
    • Bumped internal template version reference.
  • Tests/Documentation/Style/Bug Fixes

    • No changes.

@ejfine ejfine requested a review from Copilot August 14, 2025 18:30
@ejfine ejfine self-assigned this Aug 14, 2025
@coderabbitai
Copy link

coderabbitai bot commented Aug 14, 2025

Walkthrough

Updated template and tooling configurations: bumped Copier template commit, adjusted Ruff configuration paths in devcontainers, expanded pre-commit end-of-file-fixer exclude to cover a generated GraphQL file, and refreshed version metadata in the ContextUpdater hook for Pulumi, AWS, boto3, and Nuxt-related dependencies.

Changes

Cohort / File(s) Summary of Changes
Template commit bump
./.copier-answers.yml
Updated _commit from v0.0.61 to v0.0.62.
Devcontainer config paths
.devcontainer/devcontainer.json, template/.devcontainer/devcontainer.json.jinja
Switched Ruff configuration to ${workspaceFolder}/ruff-test.toml; updated context hash comment in non-template file.
Pre-commit excludes
.pre-commit-config.yaml, template/.pre-commit-config.yaml
Added .*generated/graphql.ts to end-of-file-fixer exclude regex.
Context updater versions
extensions/context.py
Bumped Pulumi (3.186.0→3.188.0), Pulumi AWS (7.1.0→7.3.1), boto3 (1.39.14→1.40.6); upgraded Nuxt (^3.18.0→^4.0.3); added nuxt_icon (^2.0.0), eslint (^9.33.0), zod (^4.0.17), nuxt_apollo (5.0.0-alpha.15). No API changes.

Sequence Diagram(s)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • Copier update (biome) #51 — Similar template/config updates: Copier commit bump, devcontainer path adjustments, pre-commit exclude additions, and context version updates.
  • Copier update (misc version bumps) #52 — Parallel edits across the same files for template versioning, devcontainer settings, and ContextUpdater dependency versions.

Poem

I thump my paw—new versions bloom,
Ruff finds its home in workspace room.
Pre-commit skips the GraphQL thread,
Context hums with upgrades spread.
Burrow tidy, configs true—
A happy hop to v0.0.62! 🐇✨

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch misc-copier-update

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates various version dependencies in the Copier template, including Python packages and Node.js dependencies, and adds new exclusion patterns for generated files.

  • Updates multiple Python package versions (Pulumi, boto3, etc.)
  • Updates Node.js dependencies including Nuxt.js to v4.0.3 and adds new packages
  • Adds exclusion pattern for generated GraphQL TypeScript files
  • Updates dev container configuration to use workspace-relative paths

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
template/.pre-commit-config.yaml Adds exclusion pattern for generated GraphQL files
template/.devcontainer/devcontainer.json.jinja Updates Ruff configuration path to use workspace variable
extensions/context.py Updates Python and Node.js package versions
.pre-commit-config.yaml Adds exclusion pattern for generated GraphQL files
.devcontainer/devcontainer.json Updates Ruff configuration path and devcontainer hash
.copier-answers.yml Updates template commit reference

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ejfine ejfine merged commit ddbcc1d into main Aug 14, 2025
18 of 19 checks passed
@ejfine ejfine deleted the misc-copier-update branch August 14, 2025 18:37
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (3)
.pre-commit-config.yaml (1)

74-74: Nit: escape the dot in graphql.ts for precise regex matching

To avoid accidental matches (e.g., "graphqlXts"), escape the dot before "ts". This also keeps the style consistent with other entries like .*\.xml.

-              .*generated/graphql.ts|
+              .*generated/graphql\.ts|

Consider mirroring this adjustment in other exclude blocks that reference generated/graphql.ts for consistency.

template/.pre-commit-config.yaml (1)

74-74: Nit: escape the dot in graphql.ts for precise regex matching (template)

Mirror the regex precision and style consistency here as well.

-              .*generated/graphql.ts|
+              .*generated/graphql\.ts|
extensions/context.py (1)

48-50: ESLint 9, Zod 4, Nuxt Apollo alpha — repo scan results & actions

Quick summary of findings and recommended actions:

  • Found in extensions/context.py (lines ~48–50):

    • context["eslint_version"] = "^9.33.0"
    • context["zod_version"] = "^4.0.17"
    • context["nuxt_apollo_version"] = "5.0.0-alpha.15"
  • ESLint 9:

    • No eslint.config.* or .eslintrc.* files found in the repository, and no references to @typescript-eslint/* or eslint-plugin-vue were detected.
    • Action: If any generated templates will include ESLint, ensure they use the flat config format (eslint.config.js/ts) and that all plugins you expect to ship are updated to versions compatible with ESLint 9.
  • Zod 4:

    • zod@4.0.17 exists on npm (dist-tag/latest = 4.0.17).
    • Action: Zod v4 is a breaking major — verify any template code that uses Zod is updated for v4 compatibility.
  • Nuxt Apollo:

    • nuxt_apollo_version is only defined in extensions/context.py; no occurrences of @nuxtjs/apollo or nuxt-apollo were found, and there are no package.json files in the repo to confirm package naming.
    • Action: If this targets the @nuxtjs/apollo package, consider renaming the key to nuxtjs_apollo_version to remove ambiguity, and verify template consumers use the correct package name.

If you want, I can prepare a follow-up PR to rename the context key (nuxt_apollo_version → nuxtjs_apollo_version) and update any consumers once you confirm intent.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these settings in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 6f92286 and f96a8cc.

📒 Files selected for processing (6)
  • .copier-answers.yml (1 hunks)
  • .devcontainer/devcontainer.json (2 hunks)
  • .pre-commit-config.yaml (1 hunks)
  • extensions/context.py (2 hunks)
  • template/.devcontainer/devcontainer.json.jinja (1 hunks)
  • template/.pre-commit-config.yaml (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
  • GitHub Check: lint-matrix (ubuntu-24.04, 3.12.7, --data-file tests/copier_data/data3.yaml)
  • GitHub Check: lint-matrix (ubuntu-24.04, 3.13.2, --data-file tests/copier_data/data3.yaml)
  • GitHub Check: lint-matrix (ubuntu-24.04, 3.12.7, --data-file tests/copier_data/data1.yaml)
  • GitHub Check: lint-matrix (ubuntu-24.04, 3.12.7, --data-file tests/copier_data/data2.yaml)
  • GitHub Check: lint-matrix (ubuntu-24.04, 3.13.2, --data-file tests/copier_data/data2.yaml)
  • GitHub Check: lint-matrix (ubuntu-24.04, 3.13.2, --data-file tests/copier_data/data1.yaml)
  • GitHub Check: pre-commit / Pre-commit
🔇 Additional comments (7)
.devcontainer/devcontainer.json (2)

64-64: Devcontainer context hash update looks correct

Hash updated as expected due to config change; no action needed.


53-53: Confirmed: use "ruff.configuration"

Verified — for the charliermarsh.ruff extension (v2025.22.0) the correct VS Code setting to point to a config file remains "ruff.configuration" (not "ruff.config").

  • File to keep as-is:
    • .devcontainer/devcontainer.json — line 53

Snippet:

        "ruff.configuration": "${workspaceFolder}/ruff-test.toml", // use the test configuration since it's less restrictive and won't show false positives and underline things
.copier-answers.yml (1)

2-2: Template commit bumped to v0.0.62 — LGTM

The Copier template reference update is straightforward and consistent with the related config changes.

template/.devcontainer/devcontainer.json.jinja (1)

66-66: Confirm VS Code Ruff setting key name (template)

Verified — ruff.configuration is still the correct setting key for the charliermarsh.ruff VS Code extension (can be a path or inline JSON), as of 2025-08-14. No change required.

  • File: template/.devcontainer/devcontainer.json.jinja — line 66:
    "ruff.configuration": "${workspaceFolder}/ruff-test.toml", // use the test configuration since it's less restrictive and won't show false positives and underline things
extensions/context.py (3)

29-29: Confirm: boto3 1.40.6 exists on PyPI; transitive botocore pins verified

PyPI metadata for boto3 1.40.6 includes:

  • botocore<1.41.0,>=1.40.6
  • botocore[crt]<2.0a0,>=1.21.0; extra == "crt"

Location to check:

  • extensions/context.py — line ~29
        context["boto3_version"] = "1.40.6"

No change required if you accept that installing boto3==1.40.6 will constrain botocore to >=1.40.6,<1.41.0 — verify other dependencies in the repo won't conflict.


23-24: Pulumi SDK/provider versions verified — no change required

Both pulumi==3.188.0 and pulumi-aws==7.3.1 exist on PyPI. pulumi-aws 7.3.1 declares "pulumi<4.0.0,>=3.165.0", which includes 3.188.0.

  • File: extensions/context.py — lines 23–24

Snippet:
context["pulumi_version"] = "3.188.0"
context["pulumi_aws_version"] = "7.3.1"


40-42: Action: Verify Node engine and module compatibility for Nuxt 4 bump

Findings (short):

  • Nuxt 4.0.3 requires Node: "^20.19.0 || >=22.12.0" (from npm registry). Ensure CI/devcontainer Node matches.
  • npm registry shows nuxt-icon@2.0.0 and nuxt-ui@3.3.0 do NOT declare a peerDependency on "nuxt" — the earlier claim that they peer-depend on Nuxt 4 is incorrect. Still test them against Nuxt 4 at runtime.
  • My search found no Node-version pin in the template/devcontainer files — please confirm Node versions used by devcontainers and CI.

Locations to check:

  • extensions/context.py (pins shown here):
    context["nuxt_version"] = "^4.0.3"
    context["nuxt_icon_version"] = "^2.0.0"
    context["typescript_version"] = "^5.8.2"
  • devcontainer.json / .devcontainer/, .nvmrc, package.json ("engines" → "node"), and CI workflow files (.github/workflows/).

Action required:

  • Confirm/update devcontainer and CI Node to satisfy Nuxt: use Node >=20.19.0 (>=20.19.0 <21) or >=22.12.0.
  • Run tests / smoke checks with nuxt-icon and nuxt-ui against Nuxt 4 to ensure runtime compatibility.

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.

2 participants