Skip to content

feat(FR-2183): add keypair self-service management feature spec#6019

Open
agatha197 wants to merge 2 commits intomainfrom
03-17-feat_fr-2183_add_keypair_self-service_management_feature_spec
Open

feat(FR-2183): add keypair self-service management feature spec#6019
agatha197 wants to merge 2 commits intomainfrom
03-17-feat_fr-2183_add_keypair_self-service_management_feature_spec

Conversation

@agatha197
Copy link
Copy Markdown
Contributor

@agatha197 agatha197 commented Mar 17, 2026

Resolves #5675(FR-2183)

Summary

Spec highlights

  • Detailed acceptance criteria for both phases
  • Backend API reference with protection levels and error messages
  • Migration from legacy REST to GraphQL keypair_list query
  • UI confirmation patterns: Modal.confirm() for deactivation, BAIConfirmModalWithInput for deletion/revocation

@github-actions github-actions bot added the size:L 100~500 LoC label Mar 17, 2026
Copy link
Copy Markdown
Contributor Author

agatha197 commented Mar 17, 2026


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • flow:merge-queue - adds this PR to the back of the merge queue
  • flow:hotfix - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has required the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@agatha197 agatha197 force-pushed the 03-17-feat_fr-2183_add_keypair_self-service_management_feature_spec branch from f7893c0 to 4860b5c Compare March 19, 2026 08:11
@agatha197 agatha197 force-pushed the 03-17-feat_fr-2183_add_keypair_self-service_management_feature_spec branch 4 times, most recently from 3ae1e6a to f0d6dee Compare March 23, 2026 07:58
@agatha197 agatha197 marked this pull request as ready for review March 23, 2026 08:42
Copilot AI review requested due to automatic review settings March 23, 2026 08:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a feature specification and implementation plan for self-service keypair management (issue/revoke/activate/deactivate + switch main access key) in Backend.AI WebUI, including phased rollout and supporting planning/context artifacts.

Changes:

  • Added a detailed feature spec with acceptance criteria and backend API references.
  • Added an implementation dev plan with a stacked-PR/wave strategy and risks.
  • Added planning context files tracking tasks, progress, and findings.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
.specs/FR-2183-keypair-self-service/spec.md Functional spec + acceptance criteria for keypair self-service + API references
.specs/FR-2183-keypair-self-service/dev-plan.md Proposed wave-by-wave implementation plan and risks
.specs/FR-2183-keypair-self-service/.context/tasks.md Issue/task checklist snapshot for the planned PR stack
.specs/FR-2183-keypair-self-service/.context/progress.md Current planning progress and next action
.specs/FR-2183-keypair-self-service/.context/findings.md Decisions/discoveries captured during planning

@agatha197 agatha197 force-pushed the 03-17-feat_fr-2183_add_keypair_self-service_management_feature_spec branch 4 times, most recently from 7b17ce1 to f9229aa Compare March 30, 2026 01:56
- Add dev-plan.md with 6 sub-tasks (#6035-#6040) in 4 waves
- Add context files for task tracking and codebase findings
- Add component split strategy (MyKeypairInfoModalLegacy + MyKeypairManagementModal)
- Add @SInCE fallback behavior for <26.4.0 backends
- Add Popconfirm for main key switching
- Add empty state UI for both tabs
- Add BAITable column settings button
- Add state transition UX (toast messages after actions)
- Fix filter fields consistency (add createdAt, lastUsed to acceptance criteria)
- Clarify IS_ACTIVE sort exclusion from UI
- Clarify CSV download content and issue button visibility
- Update affected components table to reflect new structure
- Reflect PR #10415 payload changes (KeyPairGQL in mutations)
@agatha197 agatha197 force-pushed the 03-17-feat_fr-2183_add_keypair_self-service_management_feature_spec branch from f9229aa to c9e7624 Compare March 30, 2026 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add UI for self-service keypair management and main access key switching

3 participants