Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,5 @@
"initializeCommand": "sh .devcontainer/initialize-command.sh",
"onCreateCommand": "sh .devcontainer/on-create-command.sh",
"postStartCommand": "sh .devcontainer/post-start-command.sh"
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): d1386cd9 # spellchecker:disable-line
// Devcontainer context hash (do not manually edit this, it's managed by a pre-commit hook): 627a6cd3 # spellchecker:disable-line
}
2 changes: 1 addition & 1 deletion .devcontainer/install-ci-tooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import subprocess
import sys

UV_VERSION = "0.8.19"
UV_VERSION = "0.8.22"
COPIER_VERSION = "9.10.2"
COPIER_TEMPLATE_EXTENSIONS_VERSION = "0.3.3"
PRE_COMMIT_VERSION = "4.3.0"
Expand Down
16 changes: 8 additions & 8 deletions extensions/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ContextUpdater(ContextHook):
@override
def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
# These are duplicated in the install-ci-tooling.py script in this repository
context["uv_version"] = "0.8.19"
context["uv_version"] = "0.8.22"
context["pre_commit_version"] = "4.3.0"
# These also in pyproject.toml
context["copier_version"] = "9.10.2"
Expand All @@ -31,38 +31,38 @@ def hook(self, context: dict[Any, Any]) -> dict[Any, Any]:
context["pulumi_command_version"] = "1.1.0"
context["pulumi_github_version"] = "6.7.3"
context["pulumi_okta_version"] = "5.2.0"
context["boto3_version"] = "1.40.30"
context["boto3_version"] = "1.40.41"
context["ephemeral_pulumi_deploy_version"] = "0.0.5"
context["pydantic_version"] = "2.11.7"
context["pyinstaller_version"] = "6.16.0"
context["setuptools_version"] = "80.7.1"
context["strawberry_graphql_version"] = "0.282.0"
context["fastapi_version"] = "0.117.1"
context["fastapi_version"] = "0.118.0"
context["fastapi_offline_version"] = "1.7.4"
context["uvicorn_version"] = "0.36.0"
context["uvicorn_version"] = "0.37.0"
context["lab_auto_pulumi_version"] = "0.1.16"
context["ariadne_codegen_version"] = "0.15.2"
context["pytest_mock_version"] = "3.15.0"
context["uuid_utils_version"] = "0.11.0"
#######
context["node_version"] = "24.7.0"
context["nuxt_ui_version"] = "^3.3.3"
context["nuxt_ui_version"] = "^4.0.0"
context["nuxt_version"] = "^4.1.0"
context["nuxt_icon_version"] = "^2.0.0"
context["typescript_version"] = "^5.8.2"
context["playwright_version"] = "^1.55.0"
context["vue_version"] = "^3.5.21"
context["vue_tsc_version"] = "^3.0.6"
context["vue_tsc_version"] = "^3.1.0"
context["vue_devtools_api_version"] = "^8.0.0"
context["vue_router_version"] = "^4.5.1"
context["dotenv_cli_version"] = "^10.0.0"
context["faker_version"] = "^10.0.0"
context["vitest_version"] = "^3.2.4"
context["eslint_version"] = "^9.35.0"
context["eslint_version"] = "^9.36.0"
context["nuxt_eslint_version"] = "^1.9.0"
context["zod_version"] = "^4.1.5"
context["zod_from_json_schema_version"] = "^0.5.0"
context["types_node_version"] = "^24.5.1"
context["types_node_version"] = "^24.6.0"
context["nuxt_apollo_version"] = "5.0.0-alpha.15"
context["graphql_codegen_cli_version"] = "^6.0.0"
context["graphql_codegen_typescript_version"] = "^5.0.0"
Expand Down
4 changes: 4 additions & 0 deletions ruff-test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ ignore = [
"TRY003", # tests dont need to create a custom exception classes, generally you want to throw an AssertionError with a message anyway
]

unfixable = [
"SIM117", # pytest.raises context managers should generally be separate from others so they can be very specific about where the error is being raised from, so don't autofix this
]

[lint.flake8-pytest-style]
raises-require-match-for = ["*"] # ensures we always have a match for our raises statements so that we validate tests fail for the right reason
10 changes: 5 additions & 5 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ ignore = [
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = [
"T201", "T203", # don't automatically delete print statements, just warn about them
"RUF100", # don't automatically remove unnecessary suppressions, because that can leave behind a now-stale comment about why the suppression was originally added
"FURB136", "PLR1730", # don't automatically replace if statements with min/max functions. Sometimes the if statement is more readable or better for code coverage checking
]
"T201", "T203", # don't automatically delete print statements, just warn about them
"RUF100", # don't automatically remove unnecessary suppressions, because that can leave behind a now-stale comment about why the suppression was originally added
"FURB136", "PLR1730", # don't automatically replace if statements with min/max functions. Sometimes the if statement is more readable or better for code coverage checking
]

# Allow unused variables if it's an underscore or double underscore.
dummy-variable-rgx = "^_$|^__$"
Expand All @@ -87,7 +87,7 @@ dummy-variable-rgx = "^_$|^__$"
force-single-line = true

[lint.flake8-builtins]
builtins-ignorelist = ["id"] # We use the id() builtin little enough that it's okay to shadow it
builtins-ignorelist = ["id"] # We use the id() builtin rarely enough that it's okay to shadow it

[lint.flake8-annotations]
mypy-init-return = true # we don't care about annotating all __init__ methods as returning None
Expand Down
5 changes: 4 additions & 1 deletion template/.github/workflows/get-values.yaml.jinja-base
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ jobs:
pr-short-num: ${{ steps.find-pr-num.outputs.number }}
steps:
- name: Display full GitHub context
run: echo '${{ toJSON(github) }}'
run: |
jq . <<'JSON'
Copy link

Copilot AI Oct 1, 2025

Choose a reason for hiding this comment

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

Consider adding error handling for the jq command. If the JSON is malformed, jq will exit with a non-zero status and fail the workflow step. Add || echo 'Failed to parse GitHub context JSON' to provide a fallback.

Suggested change
jq . <<'JSON'
jq . <<'JSON' || echo 'Failed to parse GitHub context JSON'

Copilot uses AI. Check for mistakes.
${{ toJSON(github) }}
JSON

- name: Checkout code
uses: actions/checkout@{% endraw %}{{ gha_checkout }}{% raw %}
Expand Down