added auth header to status and usage#148
Merged
raphael-goetz merged 2 commits intomainfrom Apr 12, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Aquila auth metadata to Taurus runtime status and usage gRPC calls (per #147), ensuring these updates include the configured authorization token.
Changes:
- Extend
TaurusRuntimeUsageServiceandTaurusRuntimeStatusServiceconstructors to accept and storeaquila_token. - Attach authorization metadata to outgoing
updaterequests for runtime usage and runtime status. - Wire token through
main.rswhen constructing the services.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
crates/taurus/src/main.rs |
Passes aquila_token into runtime usage/status service constructors. |
crates/taurus/src/client/runtime_usage.rs |
Stores token and sends usage updates with auth metadata. |
crates/taurus/src/client/runtime_status.rs |
Stores token and sends status updates with auth metadata. |
Comments suppressed due to low confidence (2)
crates/taurus/src/client/runtime_usage.rs:41
- This success log message refers to "RuntimeStatus" and "Sagittarius", but the request being sent here is a RuntimeUsage update via
RuntimeUsageServiceClient(Aquila). Consider updating the wording to match the actual operation/target service.
Ok(response) => {
log::info!(
"Was the update of the RuntimeStatus accepted by Sagittarius? {}",
response.into_inner().success
);
crates/taurus/src/client/runtime_status.rs:81
- This success log message mentions "Sagittarius", but this client connects to "Aquila" (
create_channel_with_retry("Aquila", ...)andRuntimeStatusServiceClient). Please align the log wording with the actual service being called to keep operational logs accurate.
Ok(response) => {
log::info!(
"Was the update of the RuntimeStatus accepted by Sagittarius? {}",
response.into_inner().success
);
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: #147