Repository navigation
ci(SEC-104): pin Node 24.22.1 exactly in devEngines and workflows - #391
Conversation
Refs SEC-104. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
There was a problem hiding this comment.
No issues found across 5 files
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Pins Node to 24.22.1 in devEngines, the pnpm lockfile, and CI/release workflows, replacing floating Node ranges; a bounded tooling/security-pinning change with no runtime or public-contract impact.
View guided diff | Turn on auto-fix | Re-trigger cubic
devEngines now pins Node 24.22.1 exactly, and nixpkgs (master included) still ships nodejs_24 24.21.0. Inside `nix develop` the shell's Node wins over setup-node's, so npm refused to pack (EBADDEVENGINES) in dry-publish, and would have in the release job too. Both now set up pnpm and Node from package.json, install, and run pnpm directly.
commit: |
There was a problem hiding this comment.
0 issues found across 2 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Auto-approved: Pins Node to patched 24.22.1 in devEngines and CI, replacing the floating range that resolved to vulnerable 24.21.0; CI workflows switch from Nix shell to setup-node/pnpm to honor the exact pin. Bounded tooling/security fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
… (ENG-3175) search_execute mode now lists StackOne's stackone_search_actions / stackone_execute_action / stackone_list_accounts once for the whole account scope, naming every account as a repeated x-account-id query parameter, instead of a pair per account. search() and execute() make one call each: hits name their accounts in available_accounts rather than one hit per account, and the server, not the SDK, refuses an action whose connector is linked on several accounts. The per-connector merge, connector routing and failed-account retry are gone. Changes for 3.0.0 callers: toolMode 'search_execute' serves the trio, not a pair per account; search() hits carry available_accounts instead of account_id; an ambiguous execute() throws StackOneAPIError from the server rather than ToolSetConfigError. Release-As: 3.1.0 Follows unified-cloud-api#9417. A search_execute listing names its accounts as one comma-separated x-account-id query value, and a scope of more than 50 accounts throws ToolSetConfigError (too-many-accounts) before any request. For one account the server serves <provider>_<accountId>_search_actions and _execute_action rather than the trio. The SDK presents them as stackone_search_actions and stackone_execute_action: the served names read as those names in descriptions, schemas and result strings; a stackone_account_id or provider naming the account or its connector is dropped, any other throws ToolArgumentsError (account-outside-scope, provider-outside-scope); search hits gain provider and available_accounts. search(), execute(), submitFeedback() and fetchTools() look the same for one or many accounts. Changes for 3.0.0 callers: x-account-id is sent as one comma-separated value; search_execute scopes are capped at 50 accounts; SearchHitAccount.name is optional. Rebased onto main after #392 and #391; written in their lint style (oxlint 1.88). Release-As: 3.1.0
… (ENG-3175) search_execute mode now lists StackOne's stackone_search_actions / stackone_execute_action / stackone_list_accounts once for the whole account scope, naming every account as a repeated x-account-id query parameter, instead of a pair per account. search() and execute() make one call each: hits name their accounts in available_accounts rather than one hit per account, and the server, not the SDK, refuses an action whose connector is linked on several accounts. The per-connector merge, connector routing and failed-account retry are gone. Changes for 3.0.0 callers: toolMode 'search_execute' serves the trio, not a pair per account; search() hits carry available_accounts instead of account_id; an ambiguous execute() throws StackOneAPIError from the server rather than ToolSetConfigError. Follows unified-cloud-api#9417. A search_execute listing names its accounts as one comma-separated x-account-id query value, and a scope of more than 50 accounts throws ToolSetConfigError (too-many-accounts) before any request. For one account the server serves <provider>_<accountId>_search_actions and _execute_action rather than the trio. The SDK presents them as stackone_search_actions and stackone_execute_action: the served names read as those names in descriptions, schemas and result strings; a stackone_account_id or provider naming the account or its connector is dropped, any other throws ToolArgumentsError (account-outside-scope, provider-outside-scope); search hits gain provider and available_accounts. search(), execute(), submitFeedback() and fetchTools() look the same for one or many accounts. Changes for 3.0.0 callers: x-account-id is sent as one comma-separated value; search_execute scopes are capped at 50 accounts; SearchHitAccount.name is optional. Rebased onto main after #392 and #391; written in their lint style (oxlint 1.88). Release-As: 3.1.0
… (ENG-3175) (#389) * feat: one search tool and one execute tool spanning the account scope (ENG-3175) search_execute mode now lists StackOne's stackone_search_actions / stackone_execute_action / stackone_list_accounts once for the whole account scope, naming every account as a repeated x-account-id query parameter, instead of a pair per account. search() and execute() make one call each: hits name their accounts in available_accounts rather than one hit per account, and the server, not the SDK, refuses an action whose connector is linked on several accounts. The per-connector merge, connector routing and failed-account retry are gone. Changes for 3.0.0 callers: toolMode 'search_execute' serves the trio, not a pair per account; search() hits carry available_accounts instead of account_id; an ambiguous execute() throws StackOneAPIError from the server rather than ToolSetConfigError. Follows unified-cloud-api#9417. A search_execute listing names its accounts as one comma-separated x-account-id query value, and a scope of more than 50 accounts throws ToolSetConfigError (too-many-accounts) before any request. For one account the server serves <provider>_<accountId>_search_actions and _execute_action rather than the trio. The SDK presents them as stackone_search_actions and stackone_execute_action: the served names read as those names in descriptions, schemas and result strings; a stackone_account_id or provider naming the account or its connector is dropped, any other throws ToolArgumentsError (account-outside-scope, provider-outside-scope); search hits gain provider and available_accounts. search(), execute(), submitFeedback() and fetchTools() look the same for one or many accounts. Changes for 3.0.0 callers: x-account-id is sent as one comma-separated value; search_execute scopes are capped at 50 accounts; SearchHitAccount.name is optional. Rebased onto main after #392 and #391; written in their lint style (oxlint 1.88). Release-As: 3.1.0 * ci(ENG-3175): pin sdk-conformance at #9's merge and the Python SDK at its matching PR (#231) Both SDKs' conformance runs grade the pair together, and the new contract needs both on it. The Python pin moves to its merge commit once #231 lands. * ci(ENG-3175): take the conformance job's pnpm from sdk-conformance's packageManager sdk-conformance moved to pnpm 11.17.0 (#12), and pnpm/action-setup refuses a version key that disagrees with package_json_file. Each SDK checkout still runs its own pnpm 10.26.0: pnpm switches to a project's packageManager version.
Removes the last floating Node versions in this repo:
devEngines.runtime.version(root and examples/):^24.11.0->24.22.1. pnpm downloads this runtime (onFail: download) and the lockfile had resolved it to 24.21.0, which is vulnerable to CVE-2026-111497. Thenode@runtimelockfile entry now points at 24.22.1; every variant's integrity comes from the official v24.22.1SHASUMS256.txt.release.yaml:node-version: lts/*->node-version-file: package.json(setup-node v6.2.0 -> v7.0.0, already used in ci.yaml; reading devEngines needs v6.3.0 or later).ci.yamlconformance job:node-version: 24->node-version-file: sdk/package.json.engines.node(>=20.19.6) is left alone: it is the published library's consumer range, not the version we run.The nix shell still takes
nodejs_24from the locked nixpkgs revision, which the weekly flake update moves.Refs SEC-104. Requested by guillaume@stackone.com in Slack.
🤖 Generated with Claude Code