One of 40 things your AI can do in your Instroc account, in Build
Check that an app builds
check_
Makes changes
Ask your AI
- Does it still build?
- Check that my change compiles
- Why is the preview broken
What it does
Builds an Instroc app's current saved files with the same preview build the Instroc editor runs, and returns whether they build:
on success, the preview address; on a failure, each compile error with its file, line and column, and the build's own output. Fits requests like 'does it still build', 'check that my change compiles', 'why is the preview broken'. Useful after files are written directly, which runs no build. Each check that runs a build is charged a small number of credits, stated in credits_charged and charged once a day with the day's other checks, including a build the app's own code fails. A check of files already built, files the build server refuses before building (the reason is in error_text), and a failure on Instroc's side cost nothing; charge_note says which. It never turns on the app's Cloud database. Credits are drawn first, then the Cloud balance down to a minimum it keeps. Each person's builds are limited to one at a time and a number per minute and per day; a refusal says when to try again. Refused while a build is running on the app. The live site does not change. Needs the editor role.
This is the text your AI reads, word for word.
- Changes
- Yes.
- Role needed
- Editor in the app's workspace
- Cost
- Each check that runs a build is charged a small number of credits.
Inputs
project_idRequired- The app's project_id, as returned by list_my_apps.