Skip to content

added auth headers to runtime status request#195

Merged
raphael-goetz merged 1 commit intomainfrom
#194-add-auth-headers
Apr 12, 2026
Merged

added auth headers to runtime status request#195
raphael-goetz merged 1 commit intomainfrom
#194-add-auth-headers

Conversation

@raphael-goetz
Copy link
Copy Markdown
Member

Resolves: #194

Copilot AI review requested due to automatic review settings April 12, 2026 12:52
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

This PR addresses Issue #194 by ensuring runtime status updates sent to Aquila include authentication metadata derived from the configured Aquila token.

Changes:

  • Extend DracoRuntimeStatusService to store aquila_token and require it during construction.
  • Attach authorization metadata to the RuntimeStatusUpdateRequest by sending it as a tonic::Request with metadata.
  • Wire AdapterConfig.aquila_token through ServerRunner into DracoRuntimeStatusService::from_url.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
crates/base/src/runner.rs Passes aquila_token into the runtime status service constructor so dynamic mode status updates can be authenticated.
crates/base/src/client/mod.rs Stores the token in DracoRuntimeStatusService and uses it to add auth metadata to the gRPC status update request.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@raphael-goetz raphael-goetz merged commit c6a3445 into main Apr 12, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Auth Header to Status

2 participants