Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@blp
Copy link
Member

@blp blp commented Jan 29, 2026

…ange.

We've seen timeouts in places where they shouldn't happen. This ought to help understand what's happening.

Checklist

  • Documentation updated
  • Changelog updated

Breaking Changes?

Mark if you think the answer is yes for any of these components:

Describe Incompatible Changes

…ange.

We've seen timeouts in places where they shouldn't happen.  This ought to
help understand what's happening.

Signed-off-by: Ben Pfaff <[email protected]>
@blp blp self-assigned this Jan 29, 2026
Copilot AI review requested due to automatic review settings January 29, 2026 23:21
@blp blp added CI/CD QA Testing and quality assurance python Pull requests that update python code labels Jan 29, 2026
Copy link
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 adds debug logging to help diagnose timeout issues in deployment status tests. When waiting for deployment status changes, the code now prints the current status and elapsed time whenever the status changes.

Changes:

  • Added timing information to track elapsed time during deployment status polling
  • Introduced debug print statements to log status changes with timestamps

last = obj.get("deployment_status")
status = obj.get("deployment_status")
if status != last:
print(f"After {time.time() - start:.1f} seconds: status is {status}")
Copy link

Copilot AI Jan 29, 2026

Choose a reason for hiding this comment

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

Using print() for debugging in tests is not ideal. Consider using a proper logging framework (e.g., Python's logging module) which can be configured to different levels and outputs. This would allow better control over when these messages appear and make them easier to filter or disable in production test runs.

Copilot uses AI. Check for mistakes.
@blp blp added this pull request to the merge queue Jan 29, 2026
Merged via the queue into main with commit be031fe Jan 30, 2026
6 of 7 checks passed
@blp blp deleted the python-test-status branch January 30, 2026 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD python Pull requests that update python code QA Testing and quality assurance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants