Summary
After last wee's bug report about the JWT authorization failing with the errant Detected unsettled top-level await at ... error, we have now tested this with the following matrix:
At this point we can reliably authenticate to our dev hub via JWT. However, we're also using the snapshots command sf org snapshot list --target-dev-hub prod --json
When this command runs we now get:
Querying DevHub for latest active baseline snapshot...
Warning: sf stderr output: Warning: Detected unsettled top-level await at file:///opt/hostedtoolcache/node/24.17.0/x64/lib/node_modules/@salesforce/cli/bin/run.js:15
await cli.run();
^
Error: Failed to query snapshots (exit 13):
Error: Process completed with exit code 1.
Steps To Reproduce
I'm happy to provide read-only access to our repo to a verified employee github username. Also happy to jump on a call about this.
- Within the context of a github actions' standard ubuntu runner execute:
- Authenticate to the Devhub via JWT (Not sure the JWT part is relevant)
- Execute the following command
sf org snapshot list --target-dev-hub prod --json
- weep.
Expected result
I expect a standard json output listing the snapshots available.
Actual result
The following error occurs:
Querying DevHub for latest active baseline snapshot...
Warning: sf stderr output: Warning: Detected unsettled top-level await at file:///opt/hostedtoolcache/node/24.17.0/x64/lib/node_modules/@salesforce/cli/bin/run.js:15
await cli.run();
^
Error: Failed to query snapshots (exit 13):
Error: Process completed with exit code 1.
Additional information
System Information
Bash. on standard github ubuntu runner. (ubuntu-latest)
{
"architecture": "linux-x64",
"cliVersion": "@salesforce/cli/2.142.4",
"nodeVersion": "node-v24.17.0",
"osVersion": "Linux 6.17.0-1018-azure",
"rootPath": "/opt/hostedtoolcache/node/24.17.0/x64/lib/node_modules/@salesforce/cli",
"shell": "bash",
"pluginVersions": [
"@oclif/plugin-autocomplete 3.2.53 (core)",
"@oclif/plugin-commands 4.1.59 (core)",
"@oclif/plugin-help 6.2.53 (core)",
"@oclif/plugin-not-found 3.2.88 (core)",
"@oclif/plugin-plugins 5.4.80 (core)",
"@oclif/plugin-search 1.2.52 (core)",
"@oclif/plugin-update 4.7.53 (core)",
"@oclif/plugin-version 2.2.50 (core)",
"@oclif/plugin-warn-if-update-available 3.1.68 (core)",
"@oclif/plugin-which 3.2.58 (core)",
"@salesforce/cli 2.142.4 (core)",
"agent 1.43.0 (core)",
"apex 3.9.38 (core)",
"api 1.3.43 (core)",
"auth 4.4.5 (core)",
"data 4.0.110 (core)",
"deploy-retrieve 3.24.54 (core)",
"info 3.4.144 (core)",
"limits 3.3.96 (core)",
"marketplace 1.3.35 (core)",
"org 5.11.12 (core)",
"packaging 2.29.6 (core)",
"schema 3.3.122 (core)",
"settings 2.4.89 (core)",
"signups 2.6.73 (user) published 8 days ago (Sun Jun 21 2026)",
"sobject 1.4.117 (core)",
"telemetry 3.8.27 (core)",
"templates 56.18.9 (core)",
"trust 3.8.26 (core)",
"user 3.10.4 (core)"
]
}```
Summary
After last wee's bug report about the JWT authorization failing with the errant
Detected unsettled top-level await at ...error, we have now tested this with the following matrix:At this point we can reliably authenticate to our dev hub via JWT. However, we're also using the snapshots command
sf org snapshot list --target-dev-hub prod --jsonWhen this command runs we now get:
Steps To Reproduce
I'm happy to provide read-only access to our repo to a verified employee github username. Also happy to jump on a call about this.
sf org snapshot list --target-dev-hub prod --jsonExpected result
I expect a standard json output listing the snapshots available.
Actual result
The following error occurs:
Additional information
System Information
Bash. on standard github ubuntu runner. (ubuntu-latest)
{ "architecture": "linux-x64", "cliVersion": "@salesforce/cli/2.142.4", "nodeVersion": "node-v24.17.0", "osVersion": "Linux 6.17.0-1018-azure", "rootPath": "/opt/hostedtoolcache/node/24.17.0/x64/lib/node_modules/@salesforce/cli", "shell": "bash", "pluginVersions": [ "@oclif/plugin-autocomplete 3.2.53 (core)", "@oclif/plugin-commands 4.1.59 (core)", "@oclif/plugin-help 6.2.53 (core)", "@oclif/plugin-not-found 3.2.88 (core)", "@oclif/plugin-plugins 5.4.80 (core)", "@oclif/plugin-search 1.2.52 (core)", "@oclif/plugin-update 4.7.53 (core)", "@oclif/plugin-version 2.2.50 (core)", "@oclif/plugin-warn-if-update-available 3.1.68 (core)", "@oclif/plugin-which 3.2.58 (core)", "@salesforce/cli 2.142.4 (core)", "agent 1.43.0 (core)", "apex 3.9.38 (core)", "api 1.3.43 (core)", "auth 4.4.5 (core)", "data 4.0.110 (core)", "deploy-retrieve 3.24.54 (core)", "info 3.4.144 (core)", "limits 3.3.96 (core)", "marketplace 1.3.35 (core)", "org 5.11.12 (core)", "packaging 2.29.6 (core)", "schema 3.3.122 (core)", "settings 2.4.89 (core)", "signups 2.6.73 (user) published 8 days ago (Sun Jun 21 2026)", "sobject 1.4.117 (core)", "telemetry 3.8.27 (core)", "templates 56.18.9 (core)", "trust 3.8.26 (core)", "user 3.10.4 (core)" ] }```