Adding endpoint to list projects using CI staging#1165
Draft
andrewmusselman wants to merge 1 commit intomainfrom
Draft
Adding endpoint to list projects using CI staging#1165andrewmusselman wants to merge 1 commit intomainfrom
andrewmusselman wants to merge 1 commit intomainfrom
Conversation
sbp
requested changes
Apr 14, 2026
Contributor
sbp
left a comment
There was a problem hiding this comment.
Could we call this projects/automated, projects/automatable, or projects/reproducible instead?
dave2wave
reviewed
Apr 14, 2026
| release policy, and committee keys that have evidence of automated | ||
| CI usage (signing keys with automated UIDs). Consumers can join | ||
| on project.committee_key to determine which projects have both | ||
| configuration and evidence. |
Member
There was a problem hiding this comment.
Consumers are the public and they won't be able to join our internal database. We should discuss this api more with the team
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.
API to list PMCs approved for CI staging
Fixes #1151
Summary
New public endpoint
GET /api/projects/ci-stagingthat returns projects configured for CI staging and committees that have evidence of CI usage.Two signals are combined:
github_repository_nameset in their release policy (returned asprojects)primary_declared_uidcontains "Automated Release Signing" or "Services RM" (returned asevidence_committee_keys)Consumers join on
project.committee_keyto determine which projects have both configuration and evidence.Changes
atr/models/api.py: AddCiStagingListResultsresponse modelatr/api/__init__.py: Addprojects_ci_stagingendpoint andAUTOMATED_KEY_PATTERNS/APACHE_ORG_REconstantsDesign decisions
Sequence[sql.Project]for projects, flatSequence[str]for evidence keys, no custom sub-models/projects/listand/committees/listgithub_repository_nameandgithub_repository_branchare available on each project without a second requestTesting
Added a key to
atr.dband checked for a response: