Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use global cfg installation id for temporal worker github activities #711

Merged
merged 6 commits into from
Jul 20, 2023

Conversation

samrabelachew
Copy link
Contributor

@samrabelachew samrabelachew commented Jul 14, 2023

Let's pass the new installation id configuration throughout all use cases of the GH id in the temporal worker.

@samrabelachew samrabelachew changed the title Inject installation id into temporalworker server starter code Use global cfg installation id for temporal worker github activities Jul 14, 2023
@samrabelachew samrabelachew marked this pull request as draft July 14, 2023 15:37
samrabelachew added a commit that referenced this pull request Jul 14, 2023
Two changes here:
1. Inject installation ID defining a separate GH app for gateway and
temporal servers (we will
[eventually](#711) reconfigure code
to use these installation ids over the ones passed in from the webhook
event)
2. Set up new github ratelimit stats publisher in gateway and temporal
servers that use these app installations. This already needed to be
migrated over to the new workers anyways, but also can serve as an
initial test of the new ids without having to impact existing code.
@samrabelachew samrabelachew marked this pull request as ready for review July 14, 2023 20:48
samrabelachew added a commit that referenced this pull request Jul 19, 2023
This is just temporary for a cleaner rollout. Originally merged this
change to test in staging, but ideally, all instances of using the new
`TemporalAppInstallationID` config should be rolled out together in
#711
@samrabelachew samrabelachew merged commit 54778ce into main Jul 20, 2023
2 checks passed
@samrabelachew samrabelachew deleted the gh-client branch July 20, 2023 18:21
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