Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: split out approvals API #5144

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

nickgerace
Copy link
Contributor

No description provided.

@github-actions github-actions bot added A-sdf Area: Primary backend API service [Rust] A-dal labels Dec 17, 2024
@nickgerace nickgerace force-pushed the nick-jacob-jobelenus/eng-2884 branch 4 times, most recently from d2a8c59 to 3c1a267 Compare December 18, 2024 23:25
@nickgerace nickgerace changed the title Use new change set approvals table WIP: split out approvals API Dec 18, 2024
@nickgerace nickgerace force-pushed the nick-jacob-jobelenus/eng-2884 branch from 3c1a267 to 145a4d5 Compare December 18, 2024 23:38
- Add change set approvals table with integration test
- Collect approval status for a change set (only current approvals right
  now and without the validity check)
- Add new approval route
- Detect added, removed and changed nodes
- Collapse the dectector into one module and rename it
- Rename new change detection logic to "detect_changes"
- Add new unit test for "detect_changes"
- Calculate changes hash in an integration test
- Move changes hash contents into approval
- Generate the checksum upon approval (which may come from the frontend
  in the future due to potential desync issues, etc.)
- Calculate the "is_valid" check for real

Co-authored-by: Jacob Helwig <[email protected]>
Co-authored-by: John Obelenus <[email protected]>
Signed-off-by: Nick Gerace <[email protected]>
@nickgerace nickgerace force-pushed the nick-jacob-jobelenus/eng-2884 branch from 145a4d5 to 07a1bb2 Compare December 18, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-dal A-sdf Area: Primary backend API service [Rust]
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant