Skip to content

support custom invocation id#220

Merged
mayinghan merged 5 commits intomainfrom
custom-invocation-id
Sep 26, 2025
Merged

support custom invocation id#220
mayinghan merged 5 commits intomainfrom
custom-invocation-id

Conversation

@mayinghan
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Collaborator

@dphuang2 dphuang2 left a comment

Choose a reason for hiding this comment

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

can you add a test?

from eval_protocol.pytest.default_no_op_rollout_processor import NoOpRolloutProcessor
import os

os.environ["EP_INVOCATION_ID"] = "test-invocation-123"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

can you do this instead: https://stackoverflow.com/a/77256931

I think you might break some tests using this method

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

good point, didnt know there is a legit way to set env var for pytest lol

@mayinghan mayinghan merged commit b42b3e1 into main Sep 26, 2025
7 checks passed
@mayinghan mayinghan deleted the custom-invocation-id branch September 26, 2025 18:52
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.

3 participants