Support a prune RPC in the SPIRE Server's Agent API
Nobody has claimed this yet.
- Dominant language
- Makefile
- Stars
- 21
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
SPIRE PR https://github.com/spiffe/spire/pull/3982 added a spire-server CLI command for pruning old agents out of the database. That work does client-side filtering of agents to determine which need pruning. During review, this was flagged and we agreed that the prune logic is best handled server-side.
Introduce and implement a new RPC to support this server-side prune feature
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the SPIRE Server Agent API service definitions and the existing prune CLI behavior described in the issue. Determine the RPC contract needed to move agent-selection and prune logic server-side; the work is done when the new RPC supports the stated server-side prune feature.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100