Skip to content

ci(agent): verify release build before merge#3621

Merged
trunk-io[bot] merged 2 commits into
mainfrom
ci/verify-agent-release-before-merge
Jul 21, 2026
Merged

ci(agent): verify release build before merge#3621
trunk-io[bot] merged 2 commits into
mainfrom
ci/verify-agent-release-before-merge

Conversation

@jonathanlab

@jonathanlab jonathanlab commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Problem

Agent release builds can diverge from the PR build and only fail after an automated release tag is created.

Changes

  • extract the release build/test steps into a shared composite action
  • run that exact action on relevant pull requests before merge
  • build the complete agent workspace dependency graph instead of maintaining a manual list

How did you test this?

  • pnpm install --frozen-lockfile
  • pnpm --filter @posthog/agent... run build
  • pnpm --filter @posthog/agent run test

@trunk-io

trunk-io Bot commented Jul 21, 2026

Copy link
Copy Markdown

😎 Merged successfully - details.

@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 2355694.

Comment thread .github/workflows/agent-release-verify.yml Fixed
@greptile-apps

greptile-apps Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor
Prompt To Fix All With AI
Fix the following 1 code review issue. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 1
.github/workflows/agent-release-verify.yml:16
**Workspace Config Skips Verification**

A change to `pnpm-workspace.yaml` can alter workspace catalogs, dependency overrides, or install policies used by the agent release build, but it does not trigger this workflow. Such a change can merge without running the release check and then fail when the tag workflow performs the same frozen install and build.

```suggestion
      - "pnpm-lock.yaml"
      - "pnpm-workspace.yaml"
```

Reviews (1): Last reviewed commit: "ci(agent): verify release build before m..." | Re-trigger Greptile

Comment thread .github/workflows/agent-release-verify.yml
@jonathanlab
jonathanlab force-pushed the ci/verify-agent-release-before-merge branch from 2355694 to cf52f02 Compare July 21, 2026 15:48
@jonathanlab
jonathanlab enabled auto-merge (squash) July 21, 2026 15:56
@trunk-io
trunk-io Bot merged commit ee65ff2 into main Jul 21, 2026
31 checks passed
@trunk-io
trunk-io Bot deleted the ci/verify-agent-release-before-merge branch July 21, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants