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

feature/ENG-527 Adding agent RPC handlers for getting sigchain and audit data. #870

Conversation

CDeltakai
Copy link
Contributor

@CDeltakai CDeltakai commented Feb 7, 2025

Description

Issues Fixed

Tasks

  • 1. Ensure we have an agent handler for getting audit data.
  • 2. Ensure we have an agent handler for getting sigchain data.
  • 3. Ensure we have tests testing the functionality of both handlers.
  • 4. Ensure that cancellablility is properly implemented for both handlers.

Final checklist

  • Domain specific tests
  • Full tests
  • Updated inline-comment documentation
  • Lint fixed
  • Squash and rebased
  • Sanity check the final build

Copy link

linear bot commented Feb 7, 2025

ENG-527

@CDeltakai CDeltakai changed the title wip: creating AuditsGet handler for nodes feature/ENG-527 Adding agent RPC handlers for getting sigchain and audit data. Feb 7, 2025
@tegefaulkes
Copy link
Contributor

Hows the progress on this @CDeltakai ?

@tegefaulkes tegefaulkes force-pushed the feature-eng-527-adding-agent-rpc-handlers-for-getting-sigchain-and-audit-data branch from a04adea to 267d872 Compare February 26, 2025 05:11
@CMCDragonkai
Copy link
Member

So this gives us the possibility giving us sigchain related commands so we can finally inspect the sigchain?

Copy link
Member

@aryanjassal aryanjassal left a comment

Choose a reason for hiding this comment

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

Just some minor changes, otherwise looks good.

…tility method in utils and replaced said parameters with utility method
@CDeltakai
Copy link
Contributor Author

It has been clarified that all seek parameters in relation to pagination should be by default inclusive, not exclusive. I'll have to go back and make changes to any RPC handlers with the incorrect assumption.

…an order (it was the wrong way around)

fix: fixed discovery test failure for updates previously discovered gestalts
…sed vertices to expect 2 calls instead of 3 on the 2nd attempt

fix: changed NodesAuditEventsGet to not skip the first value anymore because we want seek to be inclusive. fixed its tests to match these changes
…ssed vertices in discovery test to be 3 (like before)
@CDeltakai
Copy link
Contributor Author

There is a test failure in Discovery.test.ts that for the moment can't be easily resolved. I've commented out the offending elements for now but will need to be addressed later.

@CDeltakai CDeltakai merged commit bcad31f into staging Mar 7, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Adding agent RPC handlers for getting sigchain and audit data.
4 participants