Skip to content

Fix gateway CI failures#321

Merged
lucaspar merged 4 commits into
masterfrom
cursor/continuous-integration-failures-e1e0
Jul 21, 2026
Merged

Fix gateway CI failures#321
lucaspar merged 4 commits into
masterfrom
cursor/continuous-integration-failures-e1e0

Conversation

@cursor

@cursor cursor Bot commented Jul 18, 2026

Copy link
Copy Markdown

Summary

  • Allow gateway CI secret generation to run when the optional federation checkout is absent.
  • Apply the formatting/import fixes required by gateway pre-commit hooks.

Verification

  • GITHUB_ACTIONS=true PATH="/tmp/npm-global/bin:/home/ubuntu/.nvm/versions/node/v24.18.0/bin:/home/ubuntu/.local/bin:$PATH" just generate-secrets ci --force
  • PATH="/home/ubuntu/.nvm/versions/node/v24.18.0/bin:/home/ubuntu/.local/bin:$PATH" uv run --extra local prek run --all-files
Open in Web View Automation 

Note

Low Risk
Behavioral change is limited to skipping federation paths when the directory is absent; Python changes are cosmetic except for a type-safe enum for existing string constants.

Overview
generate-secrets.sh no longer assumes a federation sibling checkout: it only sets FEDERATION_ROOT and chmods federation/.envs when that directory exists, so gateway CI can run secret generation without the optional federation repo.

The remaining Python edits are pre-commit/formatting only (import order in federation and asset_access_control, line wrapping, whitespace). users/api/views.py drops an unused loguru import and introduces a ServiceUserSetting StrEnum for the existing mint-endpoint setting comparisons—no behavior change.

Reviewed by Cursor Bugbot for commit a1e6cb8. Bugbot is set up for automated code reviews on this repo. Configure here.

cursoragent and others added 4 commits July 18, 2026 01:00
Co-authored-by: Lucas Parzianello <lucaspar@users.noreply.github.com>
Co-authored-by: Lucas Parzianello <lucaspar@users.noreply.github.com>
Co-authored-by: Lucas Parzianello <lucaspar@users.noreply.github.com>
Co-authored-by: Lucas Parzianello <lucaspar@users.noreply.github.com>
@semanticdiff-com

semanticdiff-com Bot commented Jul 18, 2026

Copy link
Copy Markdown

@lucaspar
lucaspar marked this pull request as ready for review July 21, 2026 13:35
@lucaspar
lucaspar merged commit 3868cbb into master Jul 21, 2026
1 of 2 checks passed
@lucaspar
lucaspar deleted the cursor/continuous-integration-failures-e1e0 branch July 21, 2026 13:35
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