Using the VS Code Extension
AutoKitteh projects must have a working directory, which contains:
- The project's YAML manifest file
- Source code in one or more
*.star
files
To set the project's working directory:
- Open the project's YAML manifest file
- In the VS Code command palette, run:
AutoKitteh: Apply Manifest
- A notification with an error or success result shall appear
This will run a set of commands that create the project, including its connections and triggers. See all the details in the OUTPUT panel.
Build and Deploy the Project
Once the project is configured:
- Click the sidebar AutoKitteh icon
- Click the project name
- Click the
Deploy
button- You may click
Build
first, to check that the code compiles - Either way,
Deploy
includes and implicit build
- You may click
You're all set! Once the project is deployed, its triggers will start the execution of workflows in runtime sessions.
Management and Monitoring
In the AutoKitteh window you can see the deployments (versions) of your project, and the sessions that are/were running for each deployment.
You can see the logs of a selected session in the OUTPUT panel.
info
AutoKitteh has three output tabs:
autokitteh-session-logs
- the logs of the selected sessionautokitteh-log
- all inteactions with the AutoKitteh serverautokitteh
- all the outputs of the Starlark LSP server
Actions
- Build - checks that the code compiles, and has all the expected dependencies
- Deploy - creates and activates a new version of the project, ready to start sessions based on the defined triggers
- Per deployment:
- Deactivate
- Activate - deactivates the previous deployment, if one exists, and sets the selected deployment as active