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

[APP 2911] Step Towards Removal of Legacy Robot API Keys #4374

Merged
merged 7 commits into from
Sep 25, 2024

Conversation

bashar-515
Copy link
Contributor

@bashar-515 bashar-515 commented Sep 19, 2024

This PR phases out support for legacy robot API keys by taking out most of the code that explicitly parses for them via a "key" field in the API key handler config. Some code still remains to account for a "keys" field. This is redundant, but it's required for backwards compatibility - also the only remaining artifact of legacy keys. Also in this PR is the reconfiguration of various tests in order to account for the change in App slightly affecting the structure of the API key auth config.

Testing: local testing suites pass and my dummy local robot as able to connect manually.

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Sep 19, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Sep 19, 2024
@bashar-515 bashar-515 changed the title [APP 2911] [APP 2911] Step Towards Removal of Legacy Robot API Keys Sep 19, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Sep 19, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Sep 19, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Sep 20, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Sep 20, 2024
@bashar-515 bashar-515 marked this pull request as ready for review September 23, 2024 15:50
@bashar-515
Copy link
Contributor Author

Removing @ohEmily as a reviewer to unblock, resyncing w/ @maxhorowitz like discussed.

@bashar-515 bashar-515 removed the request for review from ohEmily September 25, 2024 14:19
@bashar-515 bashar-515 merged commit 9ca4cd4 into viamrobotics:main Sep 25, 2024
19 checks passed
@bashar-515 bashar-515 deleted the APP-2911 branch September 25, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants