Contribute to Quarkus from an isx sandbox

This guide sets up a machine for working on Quarkus: a clone of the code, the JDK and the container runtime its tests use, and your coding agent. You branch a fresh machine for each change, and the agent builds and tests there with full autonomy.

In this setup, only your own contribution is supposed to reach the Quarkus project, and you send it yourself.

Quarkus's rules for AI-assisted work

Read the Quarkus AI and LLM Usage Policy before you start, since it applies to every pull request, issue and comment. In short, an agent may help you draft code, tests and documentation, but you must understand, validate and take responsibility for all of it.

A contribution that looks copied from an agent's output, with little human oversight, is not acceptable. An agent or bot may not open pull requests, file issues or post comments on its own.

So in this guide the agent is supposed to work only inside its machine, and you decide what leaves it:

Before you start

You need isx set up with isx init: the Quick Start covers it. The machine's first build compiles all of Quarkus, which takes a long while and leaves several gigabytes of Maven artifacts in the template. Every machine you branch afterwards starts with that build done.

Give the agent its own GitHub account, which isx init recommends, or no GitHub account at all. Its token from the page isx init gives cannot push, open a pull request or an issue, or comment on quarkusio/quarkus (why). With a token for your own account, the agent acts on GitHub as you, so give it another account first.

Create the template

This guide starts with a small template, so you can see each line Quarkus needs. For daily work, use the fuller one in Use the maintained Quarkus template.

Create a template for Quarkus work:

isx templates new quarkus-contrib

Fill it in:

name: quarkus-contrib
description: Quarkus contributions, with Claude Code
parent: tpl-minimal
packages:
  - java-25-openjdk-devel
  - unzip
tools:
  - claude
  - podman
default-action: claude
env:
  - name: JAVA_HOME
    value: /usr/lib/jvm/java-25-openjdk
  - name: MAVEN_OPTS
    value: -Xmx4g
repos:
  - url: https://github.com/quarkusio/quarkus.git
    path: ~/quarkus
    prime: ./mvnw -Dquickly
workdir: ~/quarkus

The lines that are particular to Quarkus:

The agent here is Claude Code: claude under tools: installs it, and default-action: claude opens it in each new machine. To use another agent, put its tool name in both places, such as codex. Agents lists each agent, its tool name and the credential it signs in with.

Image schema fields describes every field a template can have, and A template with every field shows them all in one file.

Build it

isx build quarkus-contrib

The build clones Quarkus and runs the quick build. If it fails, the error names the prime command, and isx build quarkus-contrib --verbose shows its output.

Branch a machine for one change

Name the machine after the change:

isx branch fix-config-docs --from quarkus-contrib

Your agent opens in ~/quarkus. Describe the change, and let it find the code, build and run the tests in the machine.

Check that it works

Open a shell in the machine with isx shell fix-config-docs, and run one extension's build with its tests:

./mvnw -f extensions/arc clean install

Then check that the machine runs containers, which Quarkus tests start through Testcontainers:

podman run --rm quay.io/podman/hello

A passing build shows that the JDK and the Maven repository work, and the greeting shows that the container runtime does. The Quarkus contributing guide lists the builds to run before you send a change.

Take the change and send it yourself

Fetch the agent's commits into your own checkout of Quarkus on the host, as Review and take an agent's commits shows. Read every line, run the tests yourself, and rework what you would not have written. Squash the commits into the atomic, meaningful ones the contributing guide asks for.

Then push the branch to your fork and open the pull request in the browser, with a description you wrote. In review, answer every question from your own understanding of the change, never from the agent's.

Use the maintained Quarkus template

The incus-spawn-templates repository keeps tpl-quarkus, the template isx's maintainer uses for Quarkus work. It goes further than the one above, and it is the one to move to once that one builds.

What it adds:

Its prime gives the Maven daemon up to 10 GB of heap, so it needs a host with room for that. Because its chain includes gh, give the agent its own GitHub account first, as Before you start says.

To use it, clone the repository and add it to searchPaths in ~/.config/incus-spawn/config.yaml, as its README shows. Then open tpl-mydev, its layer of personal preferences, with isx templates edit tpl-mydev, and put your own agent there. Build and branch it the same way:

isx build tpl-quarkus
isx branch fix-config-docs --from tpl-quarkus

The same repository holds templates for Hibernate ORM, OpenJDK, GraalVM and other projects.

Clean up

isx destroy fix-config-docs

The template stays, so the next change starts from a built Quarkus. To bring the template up to the latest Quarkus, rebuild it with isx build quarkus-contrib.

What this setup gives you

Each change gets a full Quarkus workstation of its own, ready the moment you branch it, and you can run several side by side.

Through all of it, nothing is supposed to reach Quarkus until you have read it, understood it and sent it yourself.