Skip to content

perf: reuse valid GitHub installation tokens - #2745

Merged
s1ntaxe770r merged 1 commit into
developfrom
perf/reuse-github-installation-tokens
Oct 22, 2026
Merged

s1ntaxe770r merged 1 commit into
developfrom
perf/reuse-github-installation-tokens

Conversation

@s1ntaxe770r

@s1ntaxe770r s1ntaxe770r commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

Previously, creating a GitHub client also created a fresh authentication transport and requested a new installation token, even when an existing token was still valid. This added unnecessary authentication requests before comment updates and other GitHub operations.

This reuses the transport and its valid token for the same GitHub App, installation, and private key. Expiring tokens still refresh automatically, and unauthorized responses remove the cached transport so subsequent clients authenticate again.

@s1ntaxe770r
s1ntaxe770r added this pull request to stack #2746 October 11, 2026 12:43
@oceve-software-factory-template

Copy link
Copy Markdown

Approve tool call: github__addPullRequestComment

  1. Approve
  2. Cancel

Answer by mentioning me in a reply, e.g. @oceve-software-factory-template Approve.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
opentaco-docs 00ce5f7 Commit Preview URL

Branch Preview URL
Oct 22 2026, 01:48 PM

Base automatically changed from feat/management-repo-policy-fetch to develop October 22, 2026 13:47
@s1ntaxe770r
s1ntaxe770r force-pushed the perf/reuse-github-installation-tokens branch from 887e1d7 to 00ce5f7 Compare October 22, 2026 13:47
@s1ntaxe770r
s1ntaxe770r merged commit 7c237c0 into develop Oct 22, 2026
10 of 19 checks passed
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