Repository navigation
Closed
Labels
area:workspaceWorkspace tooling, justfile, templatesbugSomething isn't workingdependenciesPull requests that update a dependency fileeffort:smallLess than 1 hourpriority:mediumImportant but not urgentsecurityVulnerability fixes or security improvementssemver:patchBug fix, backward-compatible
Description
Description
The org is moving vulnerability-fix PRs from Dependabot security updates to Renovate (vig-os/org-config#307). Renovate turns GitHub vulnerability alerts into forced packageRules at repo init, so vulnerability PRs follow baseBranchPatterns, bypass the schedule, carry a [SECURITY] suffix and inherit the preset's per-manager semantic commit types (which pass the managed commit gate).
A vulnerability rule only fires for dependencies an enabled manager extracts. The shipped Renovate config leaves gaps:
- Smoke-test has no Python coverage, and every deploy reverts a fix.
assets/smoke-test/renovate.json:6ships"enabledManagers": ["github-actions"]. Smoke mode copies the smoke overlay with no preserve excludes (assets/init-workspace.sh:3338-3364), so each deploy resets the smoke repo'srenovate.json. This already reverted devkit-smoke-test#221 (smoke commit 2c99772, reverted by deploy 16f26dd). The smoke repo haspyproject.toml+uv.lockand nopackage.json, so it needs["github-actions", "pep621"]. - Rust consumers get no Cargo coverage.
assets/workspace/renovate.json:6enablesgithub-actions, pep621, npmonly, nocargo.renovate.jsonis aPRESERVE_FILESentry (assets/init-workspace.sh:141), so existing consumers must hand-edit it. - The preset has no Cargo rule and no explicit vulnerability-alert config.
assets/workspace/.github/renovate-default.jsonhas nocargopackageRule (so a Cargo PR would not get an approved semantic type) and relies on the implicitvulnerabilityAlertsdefault.
Steps to Reproduce
- Scaffold a smoke-test deploy (
init-workspace.sh --smoke-test) into a repo withpyproject.tomland read the renderedrenovate.json. - Scaffold a Rust consumer and read the rendered
renovate.json. - Read
assets/workspace/.github/renovate-default.jsonpackageRules.
Expected Behavior
- Smoke-test
enabledManagersincludesgithub-actionsandpep621, and survives every deploy. - The workspace template enables
cargo(a manager with nothing to extract is a no-op). - The preset carries a
cargopackageRule with an approved semantic type (before the managed-exclusion rule, which stays last) and an explicitvulnerabilityAlertsblock labelledsecurity.
Actual Behavior
- Smoke-test:
["github-actions"]only; deploys revert manual fixes. - Workspace template: no
cargo. - Preset: no
cargorule, no explicitvulnerabilityAlerts.
Environment
- Image Version/Tag:
dev(post-1.17.0) - Affects the shipped scaffold (
assets/workspace/,assets/smoke-test/), not a runtime environment.
Additional Context
- chore(config): watch for duplicate Dependabot and Renovate advisory PRs on tier-A repos until 2026-10-29 org-config#307 (Dependabot security updates -> Renovate)
- [BUG] Renovate preset does not remediate transitive npm vulns — 12 of 21 alerts unreported, including the only critical #1041 (transitive dependencies rely on
lockFileMaintenance) - ci.yml branch-name gate allows renovate/* but not dependabot/** — every Dependabot PR fails commit-checks #1755
Possible Solution
assets/smoke-test/renovate.json:"enabledManagers": ["github-actions", "pep621"].assets/workspace/renovate.json: addcargo.- Preset: add
{"description": "Rust (Cargo)", "matchManagers": ["cargo"], "semanticCommitType": "build", "semanticCommitScope": "cargo"}before the managed-exclusion rule; addvulnerabilityAlerts(labels: ["security"]) afterlockFileMaintenance. NoosvVulnerabilityAlerts. - Docs: vulnerability-fix section in
docs/WORKFLOW_SECURITY.md;docs/MIGRATION.mdnote for Rust consumers to addcargoto their preservedrenovate.json.
Acceptance criteria
- Preset has
vulnerabilityAlerts(notenabled: false) and noosvVulnerabilityAlerts - Smoke
enabledManagers⊇ {github-actions,pep621} - Workspace template
enabledManagersincludescargo - Every template-enabled manager has a preset packageRule whose
semanticCommitTypeis in vig-utils' approved types (test-enforced) - Managed-exclusion rule stays last (existing test green)
-
renovate-config-validator --strictpasses - WORKFLOW_SECURITY.md + MIGRATION.md + CHANGELOG updated
Changelog Category
Fixed
Metadata
Metadata
Assignees
Labels
area:workspaceWorkspace tooling, justfile, templatesbugSomething isn't workingdependenciesPull requests that update a dependency fileeffort:smallLess than 1 hourpriority:mediumImportant but not urgentsecurityVulnerability fixes or security improvementssemver:patchBug fix, backward-compatible
Activity
fix(renovate): cover smoke-test Python and Rust in vulnerability-fix …
c-vigo commentedon Sep 29, 2026
Fixed on dev by #1764; ships with the next release.
chore: release 1.18.0 (#1819)