Skip to content

chore(harness): upgrade Pi to 0.83.0 - #4041

Merged
trunk-io[bot] merged 1 commit into
mainfrom
chore/upgrade-pi-0.83
Jul 31, 2026
Merged

chore(harness): upgrade Pi to 0.83.0#4041
trunk-io[bot] merged 1 commit into
mainfrom
chore/upgrade-pi-0.83

Conversation

@jonathanlab

Copy link
Copy Markdown
Contributor

Problem

The repository pins Pi 0.82.1 while Pi 0.83.0 is the current stable release. The upgrade changes TypeBox to 1.3.7 and refreshes OAuth credentials with less than five minutes of validity remaining.

Changes

  • Upgrade all Pi packages to 0.83.0.
  • Declare TypeBox 1.3.7 directly in @posthog/harness.
  • Update OAuth fixtures for the five-minute refresh window.
  • Cover nullable-array TypeBox validation used by MCP schemas.

How did you test this?

  • pnpm typecheck
  • pnpm --filter @posthog/harness test
  • pnpm --filter @posthog/agent typecheck
  • pnpm --filter @posthog/agent exec vitest run src/pi/runtime.test.ts src/pi/rpc-client.test.ts src/pi/rpc-transport.test.ts src/pi/model-catalog.test.ts src/pi/queue-persistence.test.ts src/pi/conversation/translatePiConversation.test.ts src/pi/conversation/translatePiMessage.test.ts src/pi/conversation/tools
  • pnpm --filter @posthog/workspace-server exec vitest run src/services/pi-session/pi-session.test.ts

Automatic notifications

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

@trunk-io

trunk-io Bot commented Jul 31, 2026

Copy link
Copy Markdown

😎 Merged directly without going through the merge queue, as the queue was empty and the PR was up to date with the target branch - details.

@github-actions

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 987935e.

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

stamphog Bot commented Jul 31, 2026

Copy link
Copy Markdown

Note

🤖 stamphog reviewed 987935e8182e014812446d1aa06b7e2f5d9eb68d — verdict: REFUSED

Gates denied this PR (deny-listed dependency/toolchain change, classified T2-never) — it's a genuine dependency and lockfile upgrade, and Greptile's in-flight review (👀) means review hasn't concluded.

  • Gate verdict DENIED: matches deps_toolchain deny-list and classified T2-never
  • Touches dependency manifests and pnpm-lock.yaml (third-party code upgrade) — risky territory needing human review
  • Greptile review is in-flight (👀 reaction) — should wait for it to complete before merging
Gate mechanics and policy version
Gate Result
prerequisites all clear
deny-list matches: deps_toolchain
size 116L, 3F substantive, 133L/5F incl. docs/generated/snapshots — within ceiling
tier classified as T2-never: T2-never (133L, 5F, single-area, chore)
stamphog 2.0.0b3 .stamphog/policy.yml @ 94c47de · reviewed head 987935e

@stamphog stamphog Bot removed the Stamphog This will request an autostamp by stamphog on small changes label Jul 31, 2026
@greptile-apps

greptile-apps Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "chore(harness): upgrade Pi to 0.83.0" | Re-trigger Greptile

@puemos
puemos self-requested a review July 31, 2026 11:40
@trunk-io
trunk-io Bot merged commit ff4d70b into main Jul 31, 2026
35 checks passed
@trunk-io
trunk-io Bot deleted the chore/upgrade-pi-0.83 branch July 31, 2026 11:45
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.

2 participants