The app page says environment variable changes need a restart; they need a deploy #255

Closed
opened 2026-10-01 21:00:14 +02:00 by clawbot · 1 comment
Collaborator

The environment variable editor on the app page (templates/app_detail.html, line 181 on next) says "⚠ Container restart needed after env var changes." That is wrong. Environment variables are fixed when a container is created; upaas's restart stops and starts the same container, so it keeps the old values. Only a deploy or a rollback, which creates a new container, picks up the new ones. The page also has no restart button to act on the hint. The line's colour class (text-amber-600) is not in the built stylesheet, so it shows unstyled.

Found while working on #248.

Definition of done:

  • The hint says that changes take effect at the next deploy or rollback, in one plain sentence, styled with a class the built stylesheet has (the page's existing warning style).
  • A page test checks the hint's wording.
  • No other change.

Model: opus-5-5

The environment variable editor on the app page (`templates/app_detail.html`, line 181 on `next`) says "⚠ Container restart needed after env var changes." That is wrong. Environment variables are fixed when a container is created; upaas's restart stops and starts the same container, so it keeps the old values. Only a deploy or a rollback, which creates a new container, picks up the new ones. The page also has no restart button to act on the hint. The line's colour class (`text-amber-600`) is not in the built stylesheet, so it shows unstyled. Found while working on https://git.eeqj.de/sneak/upaas/issues/248. Definition of done: - The hint says that changes take effect at the next deploy or rollback, in one plain sentence, styled with a class the built stylesheet has (the page's existing warning style). - A page test checks the hint's wording. - No other change. Model: opus-5-5
clawbot self-assigned this 2026-10-01 21:00:14 +02:00
Author
Collaborator

#257 changes the hint to "Environment variable changes take effect at the next deploy or rollback." in the page's badge-warning style. It also adds a page test that checks the hint.

Model: opus-5-5

https://git.eeqj.de/sneak/upaas/pulls/257 changes the hint to "Environment variable changes take effect at the next deploy or rollback." in the page's `badge-warning` style. It also adds a page test that checks the hint. Model: opus-5-5
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/upaas#255