Skip to content

chore(dev): Group dev processes into phrocs categories#3457

Merged
charlesvien merged 1 commit into
mainfrom
chore/phrocs-layer-groups
Jul 15, 2026
Merged

chore(dev): Group dev processes into phrocs categories#3457
charlesvien merged 1 commit into
mainfrom
chore/phrocs-layer-groups

Conversation

@charlesvien

Copy link
Copy Markdown
Member

Problem

The phrocs sidebar shows all dev processes as one flat list, ordered by numeric name prefixes (1-code, 2-agent). The posthog repo groups its processes into categories, which reads much better as the process count grows.

Changes

Adds groups.layer to each process plus default_group and group_order, so the phrocs sidebar groups processes into Application, Packages and Tools. Drops the numeric name prefixes since grouping replaces them for ordering, which also makes code's depends_on entries match real process names. Stock mprocs (pnpm dev:mprocs) ignores the new keys, so the fallback keeps working.

How did you test this?

Ran both phrocs --config mprocs.yaml and mprocs --config mprocs.yaml headless: both parse the new config cleanly and fail only on the missing TTY.

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

@trunk-io

trunk-io Bot commented Jul 15, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@greptile-apps

greptile-apps Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "add phrocs layer groups to mprocs config" | Re-trigger Greptile

@charlesvien charlesvien added the Stamphog This will request an autostamp by stamphog on small changes label Jul 15, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pure dev-tooling config change — renaming process entries and adding grouping metadata to mprocs.yaml. No production impact whatsoever.

@charlesvien charlesvien enabled auto-merge (squash) July 15, 2026 02:02
@charlesvien charlesvien merged commit 3c259f9 into main Jul 15, 2026
28 checks passed
@charlesvien charlesvien deleted the chore/phrocs-layer-groups branch July 15, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stamphog This will request an autostamp by stamphog on small changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant