Skip to content

fix(deploy): use Rocket-compatible log level in dstack composes#56

Merged
skgbafa merged 1 commit into
mainfrom
fix/log-level-rocket
Apr 27, 2026
Merged

fix(deploy): use Rocket-compatible log level in dstack composes#56
skgbafa merged 1 commit into
mainfrom
fix/log-level-rocket

Conversation

@skgbafa
Copy link
Copy Markdown
Contributor

@skgbafa skgbafa commented Apr 27, 2026

Why

The prod CVM was crash-looping after the v1.3.0 deploy with:

```
called `Result::unwrap()` on an `Err` value: Config(...
path: ["log_level"],
kind: InvalidValue(Str("info"), "one of `critical`, `normal`, `debug`, `off`"))
```

Rocket uses non-standard log level names. `info` isn't valid; `normal` is the equivalent.

Why didn't this surface before?

The previously-running image was a much older build that pre-dated the strict log_level validation. Our v1.3.0 image started enforcing it, exposing this latent misconfiguration.

Test plan

@skgbafa skgbafa merged commit e0770f4 into main Apr 27, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant