Uploads, security scan and test runs

What happens to your code when you push it, how big it can be, and how many free test runs you get each day.

Beta: request access. Code agents are in beta and are switched on for each agency by hand. Names and limits can still change. Request access

How an upload travels

The inflowave agents push command never sends your code straight to the Inflowave API. Large compressed files are often blocked at the edge of a website, so the upload goes through a private link instead.

  1. The tool packs your folder into one .tar.gz file and asks Inflowave for a private upload link. The link works for 15 minutes and only for a file of the size you announced.
  2. The tool sends the file straight to a private quarantine storage area.
  3. Inflowave checks the file arrived with the size you announced, then starts a security scan.
  4. When the scan says the file is clean, the build starts. The tool follows the build log until it finishes.

If the link expires before the file arrives, you will be told to run push again.

The security scan

The scan runs in a throwaway environment that has no access to anything except its own storage. It checks every file in the archive for viruses and checks the archive against the limits below. Nothing is built until the scan is clean.

If the upload is infected or invalid, it is refused and the build never starts. The message looks like this:

Upload failed the security scan (<reason>)

A refused file stays in quarantine for 14 days and is then deleted. It is never built or run. If you believe a refusal is wrong, fix what the reason names and push again, or write to support@inflowave.io.

Limits

WhatLimit
Size of the upload50 MB for the packed .tar.gz
Size when unpacked200 MB
Number of files2,000
One file25 MB

agent.json must sit at the top of the archive. Without a Dockerfile, a main.py (and a requirements.txt) means Python, and a main.js with a package.json means Node. The build installs the SDK for you. With your own Dockerfile, you install the SDK yourself.

What is left out, and what stops a push

The command line tool leaves out storage, .git, node_modules, .venv, files that start with .env and *.pem files, so they never leave your computer.

It also stops the push when a file name or a line of code looks like a secret: a private key, an Inflowave token, a cloud or API key, or a hard-coded password. Put secrets in the secrets list of the manifest instead, and set the values in the app. If a line is a harmless example, add the comment inflowave: allow-secret to it.

Test runs and the daily cap

A test run is a free run of your own agent, started from the Test button in the app or the Run the test button on the agent's Health page. Test runs are never charged to anyone.

Because every test run uses computing power that Inflowave pays for, each agency can start a limited number of them each day.

WhatHow it works
The limit50 test runs per agency per day. The day follows UTC.
When you go overThe request is refused with HTTP status 429 and a Retry-After header. The message says when the count resets.
When it resetsAt 00:00 UTC.
What does not countLive runs by buyers, and the automatic daily test of a live agent.

Test on your own computer first with inflowave agents run. It has no limit, uses none of the daily count and never charges.

Want to build one?

Tell us about your agency and what you would like to build. We will switch the beta on for your account.