Repository navigation
fleet: orgs registry, App-JWT sync and fleet orgs list (#8884) - #14023
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 51 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Member
Author
|
Follow-up verification on
The App-JWT endpoint fixture now verifies both pages and the Bearer token while matching ureq request targets. Org |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #8884
What
pkgs/fleet/crates/fleet-orgs: Turso-backed registry (sync_runs,apps,orgs,installations), idempotent upserts, per-app pruning of installations not seen in a successful run, failed runs recorded asfailedwith prior rows kept.GET /appandGET /app/installations, following everyLink: rel="next". No OAuth org reads.fleet orgs listtable and--json, filters--app(GitHub App slug),--org,--permission NAME[=LEVEL], shows last successful sync time.orgsgated as a full-only feature (fleetfeatureorgs), domain registered infleet-registry; docs indocs/verbs.mdanddoc/fleet/orgs-registry.md.Verification
cd pkgs/fleet && cargo test --offline -p fleet-orgs -p fleet: all pass (126 unit + offline integration + proptest).Defaults chosen (no question asked; detached)
/v2/pipeline, URL fromFLEET_ORGS_TURSO_URL, token from secretturso.fleet-orgs-token.github-app.developing-today-fleet.private-key(app id 5612056, overrideFLEET_GH_APP_ID),kaneo.github-app-private-key/kaneo.github-app-id,github-app.backup-private-key/github-app.backup-app-id.Open / deferred
fleet orgs listmust match the hatch-personal registry doc (104 memberships). Not verifiable offline; needs a live sync.--driftfrom the original issue body is not implemented; deferred.{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-24T02:31:39Z", "session_id": "ses_e5df4a0c09bffeoy5vOlMB0I2b", "lane": null, "host": "amd", "worktree": "/home/user/git/fleet/queue-21511-8884-fleet-orgs", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/fleet/queue-21511-8884-fleet-orgs", "repo": "developing-today/code", "branch": "queue/21511-8884-fleet-orgs", "sha": "d3742fd7cd7d7f054a4464cde8b6bf32a1f31a43" }, "auth_subject": "oc-code-08", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Issue scope note: this PR completes the implementation slice and its offline test oracle; it does not close #8884. Live 104-membership verification and
--driftremain deferred follow-ups, as listed above.