Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(tasks): let renovate bump the sandbox nodejs package (#122387)

Tom Piccirello484be6f349f1
diff --git a/.github/renovate.json5 b/.github/renovate.json5
index 71fe86e235f7..b5cafe309527 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -46,6 +46,19 @@
depNameTemplate: 'renovate',
datasourceTemplate: 'npm',
},
+ {
+ customType: 'regex',
+ description: 'Update the nodesource nodejs package pinned in the task sandbox images',
+ managerFilePatterns: [
+ '/^products/tasks/backend/sandbox/images/Dockerfile\\.sandbox-(base|notebook|slim)$/',
+ '/^products/tasks/backend/logic/services/modal_sandbox\\.py$/',
+ ],
+ matchStrings: ['(?<currentValue>\\d+\\.\\d+\\.\\d+-\\d+nodesource\\d+)'],
+ depNameTemplate: 'nodejs',
+ datasourceTemplate: 'deb',
+ versioningTemplate: 'deb',
+ registryUrlTemplate: 'https://deb.nodesource.com/node_24.x?suite=nodistro&components=main&binaryArch=amd64',
+ },
],
customDatasources: {
'chrome-for-testing': {
@@ -70,5 +83,13 @@
matchManagers: ['github-actions'],
groupName: 'github-actions',
},
+ // The sandbox images and the Modal slim image rebuild only when this pin changes,
+ // so skip the dashboard approval and open the PR as soon as nodesource ships a release
+ {
+ matchDatasources: ['deb'],
+ matchDepNames: ['nodejs'],
+ dependencyDashboardApproval: false,
+ groupName: 'sandbox nodejs',
+ },
],
}