Skip to content

Conversation

@dhagberg-sf
Copy link
Contributor

@dhagberg-sf dhagberg-sf commented Oct 27, 2023

What does this PR do?

Currently unable to diagnose customer issue SEV1 that is repeating the await pollForResult block in compute.ts:75

What issues does this PR fix or reference?

Customer Investigation:

@W-14371436@

Testing

after plugins:link on this branch:

env 'DEBUG=*' sf env create compute --connected-org=evergreen-canary-***@salesforce.com --alias=gs0wolf1
...
  sf:connection DEBUG request: {"method":"GET","url":"https://hk-fn-**orgname**gs0.my.salesforce.com/services/data/v59.0/query?q=SELECT%0A%20%20%20%20%20%20%20%20%20%20Id%2C%0A%20%20%20%20%20%20%20%20%20%20Status%2C%0A%20%20%20%20%20%20%20%20%20%20Error%0A%20%20%20%20%20%20%20%20%20%20FROM%20FunctionConnection","headers":{"content-type":"application/json","user-agent":"sfdx toolbelt:"}} +716ms
  env:create:compute query FunctionConnection records=1 millis=381 +0ms
  env:create:compute record FunctionConnection id=7WYB0000000CaeGOAS status=TrustedBiDirection error=null +0ms
  env:create:compute FunctionConnection Status=TrustedBiDirection is ready, proceeding. +0ms
  env:create:compute begin POST /sales-org-connections/00DB0000000KepTMAS/apps sfdx_project_name=gs0wolf1 ... +0ms
Creating compute environment for org ID 00DB0000000KepTMAS... done
  env:create:compute end POST millis=1531 app={"acm":false,"archived_at":null...***elided***,"web_url":null} +2s
New compute environment created with ID gs0wolf-00db0000000keptmas-064
  sf:AliasesConfig INFO Writing to config file: /***path***/.sfdx/alias.json +3s
Connecting environments... done
Your compute environment with local alias gs0wolf1 is ready.
  env:create:compute begin GET /sales-org-connections/00DB0000000KepTMAS/apps/gs0wolf1 ... +4ms
...
  sf:connection DEBUG Connection created with apiVersion 59.0 +1ms
  env:create:compute end GET millis=372 app={"acm":false,"archived_at":null,"...***elided***..."sales_org_stage":"prod"}} +372ms
  config start postrun hook +3s
  config postrun hook done +2ms
  oclif-perf Total Time: 3297.6045ms +0ms

@git2gus
Copy link

git2gus bot commented Oct 27, 2023

Git2Gus App is installed but the .git2gus/config.json doesn't exist.

@salesforce-cla
Copy link

Thanks for the contribution! It looks like @dhagberg-sf is an internal user so signing the CLA is not required. However, we need to confirm this.

@dhagberg-sf
Copy link
Contributor Author

@mdonnalley - is this something you could review? I don't have perms to create an actual branch in this repo, so it's created as a fork for now.

FROM FunctionsConnection`);
} catch (err) {
const error = err as Error;
// This is obviously heinous, but should only exist short-term until the move from `FunctionsConnection`
Copy link

Choose a reason for hiding this comment

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

Thanks for cleaning that up!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yah - obsolete code that didn't need to be there after early GA release.

@dhagberg-sf dhagberg-sf merged commit b4b1916 into salesforcecli:main Oct 27, 2023
@dhagberg-sf dhagberg-sf deleted the dhagberg/log-create-compute branch October 27, 2023 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants