salto-io / salto Goto Github PK
View Code? Open in Web Editor NEWSalto enables you to manage your business applications' configuration in code
Home Page: https://salto.io
License: Other
Salto enables you to manage your business applications' configuration in code
Home Page: https://salto.io
License: Other
Hi,
I tried to connect salto to a zendesk environment using the following steps:
[oliversahr@Salto ~]$ salto --version
version 0.3.19, branch main, hash ef88d28a
[oliversahr@Salto ~]$ salto init
? Enter a name for the first environment in the workspace zendesk
Initiated empty workspace
Use `salto service add <service-name>` to add accounts to the environment
[oliversahr@Salto ~]$ salto service add zendesk_support
Please enter your Zendesk_support credentials:
? Username: <user>@mail.com
? Password: <password>
? subdomain (https://<your subdomain>.zendesk.com): <domain>
✔ Login information successfully updated!
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
Is something wrong with our Zendesk environment?
I can provide additional information if needed.
Thanks and best regards!
Oliver
$ salto fetch
✔ Finished loading workspace for environment prod
Currently, the state of the salesforce service is unknown to Salto.
Fetching and applying changes from the service(s)
This might take a few minutes. You can go grab your favorite beverage.
The steps are: I. Fetching configs, II. Calculating difference and III. Applying the changes
>>> Fetching the latest configs from: salesforce
vvv Finished fetching the latest configs from: salesforce
>>> Calculating the difference between local and remote
vvv Finished calculating the difference between local and remote
>>> Applying 6580 changes to the local workspace
<--- Last few GCs --->
[85765:0x102827000] 178065 ms: Mark-sweep 1858.1 (2088.1) -> 1858.0 (2082.8) MB, 1012.6 / 0.0 ms (average mu = 0.089, current mu = 0.012) allocation failure scavenge might not succeed
[85765:0x102827000] 179526 ms: Mark-sweep 1864.7 (2089.6) -> 1864.5 (2085.3) MB, 1445.8 / 0.0 ms (average mu = 0.044, current mu = 0.011) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x2bbe587c0919 <JSObject>
0: builtin exit frame: concat(this=0x2bbe15b82a71 <JSArray[19624]>,0x2bbe15b83351 <JSArray[1]>,0x2bbe15b82a71 <JSArray[19624]>)
1: postprocess(aka arrpush) [0x2bbe7a37d9c9] [0x2bbed89c04d1 <undefined>:~70] [pc=0x30ab77d5f3fc](this=0x2bbe859cc7d9 <Rule map = 0x2bbe223f7779>,0x2bbe15b83281 <JSArray[2]>)
2: arguments adaptor frame: 3->1
3: finish [0x2bbe53323681] [0x2bbed89c04d1 <u...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x100074f04 node::Abort() [/usr/local/bin/salto]
2: 0x100075033 node::OnFatalError(char const*, char const*) [/usr/local/bin/salto]
3: 0x10016876a v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/salto]
4: 0x1002f32c5 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/salto]
5: 0x1002f4be9 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/usr/local/bin/salto]
6: 0x1002f136d v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/salto]
7: 0x1002eeff2 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/salto]
8: 0x1002fb744 v8::internal::Heap::AllocateRawWithLightRetry(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/local/bin/salto]
9: 0x1002fb7bf v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/local/bin/salto]
10: 0x1002c6a7e v8::internal::Factory::NewFixedArrayWithFiller(v8::internal::RootIndex, int, v8::internal::Object, v8::internal::AllocationType) [/usr/local/bin/salto]
11: 0x1002d6778 v8::internal::Factory::NewJSArrayStorage(v8::internal::Handle<v8::internal::JSArray>, int, int, v8::internal::ArrayStorageAllocationMode) [/usr/local/bin/salto]
12: 0x1002d65ec v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::AllocationType) [/usr/local/bin/salto]
13: 0x10042da3f v8::internal::ElementsAccessor::Concat(v8::internal::Isolate*, v8::internal::Arguments*, unsigned int, unsigned int) [/usr/local/bin/salto]
14: 0x1001d7003 v8::internal::(anonymous namespace)::Fast_ArrayConcat(v8::internal::Isolate*, v8::internal::BuiltinArguments*) [/usr/local/bin/salto]
15: 0x1001d4ae6 v8::internal::Builtin_Impl_ArrayConcat(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/salto]
16: 0x10094e999 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/usr/local/bin/salto]
17: 0x30ab77d5f3fc
18: 0x1008c683c Builtins_ArgumentsAdaptorTrampoline [/usr/local/bin/salto]
19: 0x30ab7814537b
20: 0x30ab77e47c28
[1] 85765 abort salto fetch
I ran this command with telemetry turned off, I'll run it again so you guys will have the stack trace in your backend.
Also, it would be nice to print the timestamps/time lapses so we'll know how long each step took.
Hi,
in the docs/user_guide.md file it says:
"In case you're using some other shell on Windows, please make sure to make the required adjustments."
What are the required adjustments?
I tried it twice on Windows PowerShell, the program did not work. What adjustments are needed on Windows?
Best,
Oliver
Saving the Salesforce password in clear text should be avoided.
salto fetch
is taking a long time ⏳
A progress bar 💈 will be a great for the user to understand that the process is still running
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.