Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(desktop): reduce PR attribution log noise (#87337)

Peter Kirkham42d34d32c433
diff --git a/products/desktop/packages/agent/src/server/agent-server.ts b/products/desktop/packages/agent/src/server/agent-server.ts
index 74a9c3627fbe..2cdb13bac9f2 100644
--- a/products/desktop/packages/agent/src/server/agent-server.ts
+++ b/products/desktop/packages/agent/src/server/agent-server.ts
@@ -5031,9 +5031,9 @@ ${commonInstructions}
baseBranch: this.config.baseBranch ?? null,
});
if (!owned) {
- // Info, not debug: a wrongly rejected PR leaves the run with no PR until the
- // webhook backstop binds it, and this line is the only trace of why.
- this.logger.info(
+ // Keep the evidence available for diagnosing wrongly rejected PRs without
+ // surfacing every unrelated PR URL found in routine agent output.
+ this.logger.debug(
"PR seen in output is not this run's, skipping attribution",
{
runId: payload.run_id,