devenv up should not run the formatter #16

Closed
opened 2026-07-26 22:45:53 +00:00 by anish · 2 comments
anish commented 2026-07-26 22:45:53 +00:00 (Migrated from codeberg.org)

For example, running devenv up on dalmatian also runs treefmt, which is not intended:

✓ Running tasks                                                                                                                                 441ms │
  └ ✓ devenv:enterShell                                                                                                                          19ms │
    └ ✓ devenv:treefmt:run 3 lines → formatted 1 files (1 changed) in 381ms                                                                     420ms │
    └ ✓ devenv:git-hooks:install 2 lines → prek installed at `.git/hooks/pre-commit` with specified config `/Users/maxwe/Developer/ScottyLabs/  263ms ┃
      └ ✓ devenv:files                                                                                                                           36ms ┃
        └ ✓ devenv:files:cleanup                                                                                                                 29ms ┃
  └ ✓ devenv:enterTest skipped 
For example, running `devenv up` on dalmatian also runs treefmt, which is not intended: ``` ✓ Running tasks 441ms │ └ ✓ devenv:enterShell 19ms │ └ ✓ devenv:treefmt:run 3 lines → formatted 1 files (1 changed) in 381ms 420ms │ └ ✓ devenv:git-hooks:install 2 lines → prek installed at `.git/hooks/pre-commit` with specified config `/Users/maxwe/Developer/ScottyLabs/ 263ms ┃ └ ✓ devenv:files 36ms ┃ └ ✓ devenv:files:cleanup 29ms ┃ └ ✓ devenv:enterTest skipped ```
Owner
2026-09-22: Shell entry no longer runs test setup tasks

  devenv shell no longer runs devenv:enterTest or tasks attached to it,
  such as devenv:git-hooks:run. devenv test still runs shell setup first.

  Tasks can set wantedBy to choose which tasks select them, like systemd.
  For example, wantedBy = [ "devenv:processes:db" ]; runs a setup task
  whenever the db process starts, including under devenv up.

check if this fixed it (from devenv changelog)

``` 2026-09-22: Shell entry no longer runs test setup tasks devenv shell no longer runs devenv:enterTest or tasks attached to it, such as devenv:git-hooks:run. devenv test still runs shell setup first. Tasks can set wantedBy to choose which tasks select them, like systemd. For example, wantedBy = [ "devenv:processes:db" ]; runs a setup task whenever the db process starts, including under devenv up. ``` check if this fixed it (from devenv changelog)
Owner

superseded in b54ca5b239 (devenv removal)

superseded in https://git.cmu.dev/ScottyLabs/kennel/commit/b54ca5b239fece8db80b9de9160661f860b5b3c8 (devenv removal)
anish closed this issue 2026-10-25 22:45:34 +00:00
anish self-assigned this 2026-10-25 22:45:35 +00:00
Sign in to join this conversation.
No description provided.