-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doing a force:source:pull return "No results found" when a template had been exported #1062
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Hi @pacafuentes it sounds like you discovered a timeout... there's the environment variable |
Hi @WillieRuemmele I set the variable |
ok, just to verify - 10 mins = 600s. So there's also Have you tried to |
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance. |
Hi! Sorry for the delay. I used I tried If there's any useful info I can provide, let me know. Thanks! |
Same behaviour when a Custom Object is created in the org, when doing |
Same behaviour when a Custom Object is created in the scratch org, when using force:source:pull the metadata of the Custom Object isn't pull |
Hi @pacafuentes @jrod9904 sorry to leave you radio silent for 2+ years 😦 ... are you still experiencing these source tracking issues on the latest CLI versions? Have you found any workarounds? |
Summary
Doing a force:source:pull return "No results found" when a template had been exported.
We ship a template to create a community in our package, when the template needs to be changed we just make changes in the template, export it, and then
sfdx force:source:pull
to add the files affected by the change in our package.But after changing the template
sfdx force:source:pull
returns "No results found"Steps To Reproduce:
=== Pulled Source No results found
(Which is the expected result)
I create a tab, try pull again, it works:
=== Pulled Source STATE FULL NAME TYPE PROJECT PATH ─────── ──────────────────── ──────── ─────────────────────────────────────────────────────────────────────── Add CommunityApi__c.All1 ListView force-app/base/objects/CommunityApi__c/listViews/All1.listView-meta.xml Changed Admin Profile force-app/components/default/profiles/Admin.profile-meta.xml
Create a community in the scratch org, export the template
Run
sfdx force:source:pull
, got "No results found" when it should retrieve the exported templateExpected result
Exported template files should be retrieve
Actual result
=== Pulled Source No results found
Additional information
Scratch org dev file:
{ "orgName": "MuleSoft Scratch", "edition": "Developer", "hasSampleData": "true", "country" : "US", "features": ["Communities", "ServiceCloud", "Sites", "PlatformCache", "Knowledge", "LightningServiceConsole"], "settings": { "knowledgeSettings": { "enableKnowledge": true, "enableLightningKnowledge": true }, "lightningExperienceSettings": { "enableS1DesktopEnabled": true }, "communitiesSettings": { "enableNetworksEnabled": true, "enableOotbProfExtUserOpsEnable": true }, "apexSettings": { "enableCompileOnDeploy" : true } } }
Running sfdx force:source:retrieve doesn't get the community metadata either.
I manageed to do a force:pull of just one file. I did the following:
This was weird for me, it seems sfdx get notices about the new metadata files, but for some reason the lastRetrievedFromServer and serverRevisionCounter where the same number, which means source:pull won't fetch the last changes
On sfdx log file I could see:
{"name":"sfdx", "log":"RemoteSourceTrackingService","level":40,"msg":"Polling for SourceMembers timed out after 26s and 12 attempts","time":"2021-06-15T16:19:01.167Z","v":0}
It seems like Polling SourceMembers timed out.
SFDX CLI Version: sfdx-cli/7.106.3 darwin-x64 node-v15.12.0
OS and version: OSX Catalina 10.15.7
The text was updated successfully, but these errors were encountered: