KaaS provides integration with powerful compute backend with the intelligent and capable kontrol frontend. We've simplified and now kaas is available directly in your IDE!
- Detects and works with
kontrol.toml
files and foundry.toml - These files are not required but recommended for organizing your test env and runtime requirements
- Kaas-VsCode provides remote comptue for heavy verification jobs running kontrol.
- Install the extension from the Marketplace.
- Open a folder containing your test code.
- Use the left-hand command palette to access KaaS Compute resources
- Get the results back on your machine.
Get API key from https://kaas.runtimeverification.com
- Before submitting a job to KaaS, the extension checks for uncommitted or unpushed changes in the git repository.
- If dirty, the user is prompted to either "Proceed Anyway" or "Cancel". Canceling aborts the job submission.
- If KaaS cannot access the remote repository (e.g., no git info), the user is notified and given a button to install the Runtime Verification GitHub App.
- The extension links directly to: https://github.com/apps/runtime-verification-inc
- Users can download kcfg files generated by a job using the command palette or context menu.
- The extension fetches a presigned download URL from the KaaS API and saves the file locally.
- The extension uses the KaaS API for job submission, status polling, and artifact (kcfg) download.
- Endpoints used include:
/api/orgs/{organizationName}/vaults/{vaultName}/jobs
(job submission)/api/jobs/{jobId}/files/{fileName}/url
(artifact download)
- Job Submission:
- User triggers a job.
- Extension checks git status. If dirty, prompts user.
- Extension checks for remote access. If missing, prompts user to install GitHub App.
- If all checks pass, job is submitted to KaaS.
- kcfg Download:
- User invokes the download command for a job/test.
- User enters the kcfg file name and selects a save location.
- Extension downloads the file from KaaS and saves it locally.