Skip to content

Commit 413e81b

Browse files
Lagojaclaude
andauthored
Bump process-compose version to 1.87.0 (#2777)
## Summary - Update bundled process-compose from 1.64.1 to 1.87.0 - Remove unused `processComposeTargetVersion` constant - Update flakeref test to use v1.87.0 (fixes test failure due to Go 1.19 dyld issue on macOS) ## Test plan - [x] All tests pass (`go test ./...`) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 61b86a4 commit 413e81b

File tree

5 files changed

+11
-12
lines changed

5 files changed

+11
-12
lines changed

examples/stacks/lepp-stack/devbox.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"rm -rf .devbox/virtenv/postgresql/data",
2626
"initdb",
2727
"devbox services up -b",
28-
"echo 'sleep 2 second for the postgres server to initialize.' && sleep 2",
28+
"echo 'sleep 2 seconds for the postgres server to initialize.' && sleep 2",
2929
"dropdb --if-exists devbox_lepp",
3030
"createdb devbox_lepp",
3131
"psql devbox_lepp < setup_postgres_db.sql",

internal/devbox/devbox.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,8 @@ import (
5252
const (
5353

5454
// shellHistoryFile keeps the history of commands invoked inside devbox shell
55-
shellHistoryFile = ".devbox/shell_history"
56-
processComposeTargetVersion = "v1.5.0"
57-
arbitraryCmdFilename = ".cmd"
55+
shellHistoryFile = ".devbox/shell_history"
56+
arbitraryCmdFilename = ".cmd"
5857
)
5958

6059
type Devbox struct {

internal/devbox/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"go.jetify.com/devbox/internal/xdg"
1717
)
1818

19-
const processComposeVersion = "1.64.1"
19+
const processComposeVersion = "1.87.0"
2020

2121
var utilProjectConfigPath string
2222

plugins/postgresql/process-compose.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ version: "0.5"
22

33
processes:
44
postgresql:
5-
command: "pg_ctl start -o \"-k '$PGHOST' ${PGPORT:+-p '$PGPORT'}\""
6-
is_daemon: true
7-
shutdown:
5+
command: "sh -c 'exec postgres -k \"$PGHOST\" -p \"${PGPORT:-5432}\"'"
6+
is_daemon: false
7+
shutdown:
88
command: "pg_ctl stop -m fast"
99
availability:
1010
restart: "always"
1111
readiness_probe:
1212
exec:
13-
command: "pg_isready ${PGPORT:+-p '$PGPORT'}"
13+
command: "pg_isready -p \"${PGPORT:-5432}\""

testscripts/add/add_platforms_flakeref.test.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ exec devbox install
44

55
# aside: choose armv7l-linux to verify that the add actually works on the
66
# current host that is unlikely to be armv7l-linux
7-
exec devbox add github:F1bonacc1/process-compose/v0.40.2 --exclude-platform armv7l-linux
7+
exec devbox add github:F1bonacc1/process-compose/v1.87.0 --exclude-platform armv7l-linux
88
json.superset devbox.json expected_devbox1.json
99

1010
# verify that the package is installed on this platform
1111
exec devbox run -- process-compose version
12-
stdout '0.40.2'
12+
stdout '1.87.0'
1313

1414
-- devbox.json --
1515
{
@@ -24,7 +24,7 @@ stdout '0.40.2'
2424
"packages": {
2525
"hello": "",
2626
"cowsay": "latest",
27-
"github:F1bonacc1/process-compose/v0.40.2": {
27+
"github:F1bonacc1/process-compose/v1.87.0": {
2828
"excluded_platforms": ["armv7l-linux"]
2929
}
3030
}

0 commit comments

Comments
 (0)