Skip to content

Bump process-compose version to 1.87.0#2777

Merged
Lagoja merged 1 commit intomainfrom
Lagoja/bump-process-compose
Feb 5, 2026
Merged

Bump process-compose version to 1.87.0#2777
Lagoja merged 1 commit intomainfrom
Lagoja/bump-process-compose

Conversation

@Lagoja
Copy link
Collaborator

@Lagoja Lagoja commented Feb 5, 2026

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

  • All tests pass (go test ./...)

🤖 Generated with Claude Code

@Lagoja Lagoja changed the title Bump process-compose version to 1.90.0 Bump process-compose version to 1.87.0 Feb 5, 2026
@Lagoja Lagoja force-pushed the Lagoja/bump-process-compose branch 3 times, most recently from 4568bdb to 1fc997b Compare February 5, 2026 04:50
- Update util.go: 1.64.1 -> 1.87.0 (nixpkgs version for devbox services)
- Update flakeref test: v0.40.2 -> v1.87.0 (GitHub tag)
- Remove unused processComposeTargetVersion constant from devbox.go
- Update postgresql plugin to use foreground mode instead of daemon mode
  (required for compatibility with process-compose 1.75.0+)

The postgresql plugin change:
- Changed from `pg_ctl start` with `is_daemon: true` to running `postgres`
  directly with `is_daemon: false`
- This is the recommended pattern for process managers and fixes
  compatibility with newer process-compose versions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Lagoja Lagoja force-pushed the Lagoja/bump-process-compose branch from 4ffa73b to 307478e Compare February 5, 2026 22:33
@Lagoja Lagoja requested review from mohsenari and savil February 5, 2026 22:53
@Lagoja
Copy link
Collaborator Author

Lagoja commented Feb 5, 2026

This PR also updates our postgresql plugin for compatibility with the new version of process compose

Copy link
Collaborator

@savil savil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

Comment on lines -5 to +7
command: "pg_ctl start -o \"-k '$PGHOST' ${PGPORT:+-p '$PGPORT'}\""
is_daemon: true
shutdown:
command: "sh -c 'exec postgres -k \"$PGHOST\" -p \"${PGPORT:-5432}\"'"
is_daemon: false
shutdown:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change cc @mohsenari

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like process-compose fixed a bug with how it manages daemons. As a result our postgresql plugin now restarts continuously (because it's not actually forking and exiting like a daemon) and it never exposes a port.

So we just stop treating it like a daemon and run it in foreground mode. it gets it's own shell anyways, so it doesn't interfere with the user's devbox shell + it's easier to manage

@Lagoja Lagoja merged commit 413e81b into main Feb 5, 2026
28 checks passed
@Lagoja Lagoja deleted the Lagoja/bump-process-compose branch February 5, 2026 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants