Visitar URL original
ci: authenticate OpenFGA release lookups by fwerkor · Pull Request #3502 · lxc/incus · GitHub
Skip to content

ci: authenticate OpenFGA release lookups - #3502

Merged
stgraber merged 1 commit into
lxc:mainfrom
fwerkor:fix-openfga-ci-rate-limit
Jun 15, 2026
Merged

stgraber merged 1 commit into
lxc:mainfrom
fwerkor:fix-openfga-ci-rate-limit

Conversation

@fwerkor

@fwerkor fwerkor commented Jun 15, 2026 •

Copy link
Copy Markdown
Contributor

The system test workflow currently queries the latest OpenFGA server and CLI releases through the GitHub API without authentication. In large matrix runs this can hit the unauthenticated API rate limit and fail during dependency setup before any Incus tests run.

This updates those release metadata lookups to use the workflow GITHUB_TOKEN, covering both the OpenFGA server and CLI downloads.

Thanks for maintaining Incus. This project is very useful to me.

@fwerkor
fwerkor requested a review from stgraber as a code owner June 15, 2026 14:31
@fwerkor
fwerkor force-pushed the fix-openfga-ci-rate-limit branch from 99b7a4b to f0034b1 Compare June 15, 2026 14:34
@bensmrs

bensmrs commented Jun 15, 2026

Copy link
Copy Markdown
Member

Using the 2026-03-10 API could be good in the long run

Signed-off-by: Yuhang Cao <caoyuhang@fwerkor.com>
@fwerkor
fwerkor force-pushed the fix-openfga-ci-rate-limit branch from f0034b1 to d3e857e Compare June 15, 2026 14:40
@fwerkor

fwerkor commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Done, thanks. Updated the OpenFGA release API calls to pass X-GitHub-Api-Version: 2026-03-10.

@stgraber
stgraber merged commit 0b9669a into lxc:main Jun 15, 2026
53 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants