Skip to content

Fix get_operation_host #558

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

Merged
merged 1 commit into from
Mar 12, 2025
Merged

Fix get_operation_host #558

merged 1 commit into from
Mar 12, 2025

Conversation

therve
Copy link
Contributor

@therve therve commented Mar 12, 2025

What does this PR do?

I believe the logic is wrong, we need to check if there are overrides per operation, and otherwise rely on the global values. In particular server_operation_variables and server_operation_index are not meant to be used only in the case where there is a specific server operation.

Fixes #542

Additional Notes

Review checklist

Please check relevant items below:

  • This PR includes all newly recorded cassettes for any modified tests.

  • This PR does not rely on API client schema changes.

    • The CI should be fully passing.
  • Or, this PR relies on API schema changes and this is a Draft PR to include tests for that new functionality.

    • Note: CI shouldn't be run on this Draft PR, as its expected to fail without the corresponding schema changes.

I believe the logic is wrong, we need to check if there are overrides
per operation, and otherwise rely on the global values. In particular
server_operation_variables and server_operation_index are not meant to
be used only in the case where there is a specific server operation.

Fixes #542
@therve therve requested review from a team as code owners March 12, 2025 18:09
@skarimo skarimo merged commit 14cbedf into master Mar 12, 2025
12 of 13 checks passed
@skarimo skarimo deleted the therve/fix-get-operation-host branch March 12, 2025 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LogsAPI.submit_log doesn't respect DD_SITE or server_variables
2 participants