# Upgrading

- **0.3 to 0.4:** no configuration changes. `lasting_servers` is new and optional: list
  project servers whose state no later test reads, to stop the probe restarting workers
  for them (see the [configuration guide](configuration.md)).
- **0.2 to 0.3:** no configuration changes. Run `mix juggernaut.install --agents` again
  to refresh the agent skill (it works without Igniter now).
- **0.1 to 0.2:** no configuration changes. New keys (`spares`, `test_lanes`) have
  defaults. Run `mix juggernaut.install --agents` again to refresh the agent skill.
- **0.2 to 0.2.1:** no configuration changes. The first run rebuilds the sandbox once (its
  dependencies and the project), so it takes longer than the runs after it: sandboxes built
  before 0.2.1 compiled without the project config.

## A path dependency on a read-only checkout

With a path dependency on a checkout mounted read-only (for example `path: "../juggernaut"`
mounted read-only into a container), the first compile after an upgrade can fail with
`could not touch "lib/juggernaut/...": read-only file system`. On an incremental build
Mix touches the dependency's changed source files, and it cannot do that on a read-only
mount. Rebuild the dependency whole, once per environment that has a build:

```sh
MIX_ENV=dev  mix deps.compile juggernaut --force
MIX_ENV=test mix deps.compile juggernaut --force
```

A Hex dependency, or a writable checkout, is not affected.
