jenkinsci / jenkinsci/cursor-origin-branch-source-plugin

Cache access tokens

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
0
Forks
2
Avg merge
20h 36m
Merged PRs (30d)
16

Description

When the API client is requested multiple times in close succession, we should be caching the last app installation access token for perhaps half of its declared expiration time, to minimize contacts to the API server.

Contributor guide

Open the contributing guide

Research direction

Start at the Java API client entry point and follow how app installation access tokens are requested and their declared expiration is exposed. Confirm the reuse window and add coverage for repeated requests; done means valid tokens are reused for the intended period while expired or unavailable tokens are fetched again.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, authentication, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.