-
Notifications
You must be signed in to change notification settings - Fork 930
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
feat: Add temporal API key #1028
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to 776832e in 14 seconds
More details
- Looked at
46
lines of code in3
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. agents-api/agents_api/clients/temporal.py:46
- Draft comment:
Consider addingapi_key=temporal_api_key or None
to theget_client_with_metrics
function to ensure consistent authentication across all client connections. - Reason this comment was not posted:
Comment was not on a valid diff hunk.
Workflow ID: wflow_k4AzEKYTNoPcNwtW
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
PR Code Suggestions ✨Explore these optional code suggestions:
|
776832e
to
57b515c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 57b515c in 11 seconds
More details
- Looked at
54
lines of code in3
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. agents-api/agents_api/clients/temporal.py:49
- Draft comment:
The use oftemporal_api_key or None
is redundant sincetemporal_api_key
is already set toNone
by default inenv.py
. Consider usingapi_key=temporal_api_key
directly here and on line 81. - Reason this comment was not posted:
Confidence changes required:50%
The use oftemporal_api_key or None
is redundant sincetemporal_api_key
is already set toNone
by default inenv.py
. This pattern is repeated in two places intemporal.py
.
Workflow ID: wflow_vHLT0fQQNeiVKmDB
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Changes requested. Incremental review on 6bed999 in 38 seconds
More details
- Looked at
54
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_c4ABswa5czGdceEX
Want Ellipsis to fix these issues? Tag @ellipsis-dev
in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
CI Failure Feedback 🧐
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Incremental review on 8029c00 in 21 seconds
More details
- Looked at
22
lines of code in1
files - Skipped
0
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. agents-api/agents_api/clients/temporal.py:46
- Draft comment:
Duplicate assignment ofrpc_metadata
. Remove the redundantrpc_metadata =
in bothget_client
andget_client_with_metrics
functions. - Reason this comment was not posted:
Comment looked like it was already resolved.
Workflow ID: wflow_VpT45dfKySEanSgg
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
PR Type
Enhancement
Description
Added support for Temporal API key in client configuration.
Introduced
temporal_api_key
environment variable inenv.py
.Updated
docker-compose.yml
to includeTEMPORAL_API_KEY
.Enhanced Temporal client connection with optional API key.
Changes walkthrough 📝
temporal.py
Add Temporal API key to client connection
agents-api/agents_api/clients/temporal.py
api_key
parameter to Temporal client connection.temporal_api_key
into the client setup.env.py
Introduce `temporal_api_key` environment variable
agents-api/agents_api/env.py
temporal_api_key
as a new environment variable.temporal_api_key
set toNone
.docker-compose.yml
Add `TEMPORAL_API_KEY` to docker-compose configuration
agents-api/docker-compose.yml
TEMPORAL_API_KEY
to shared environment variables.TEMPORAL_API_KEY
set to an empty string.Important
Add Temporal API key support to client configuration and environment variables in
temporal.py
,env.py
, anddocker-compose.yml
.api_key
parameter toget_client()
andget_client_with_metrics()
intemporal.py
usingtemporal_api_key
.temporal_api_key
toenv.py
for environment variable parsing.TEMPORAL_API_KEY
todocker-compose.yml
for Docker configuration.This description was created by
for 8029c00. It will automatically update as commits are pushed.