Skip to content

Conversation

@zliang-akamai
Copy link
Member

📝 Description

This may be helpful to reduce intermittent errors during integration tests.

✔️ How to Test

Run any test you like, for example:

python -m pytest test/integration/models/linode/test_linode.py -k test_get_linode -v

@zliang-akamai zliang-akamai marked this pull request as ready for review December 1, 2025 21:04
@zliang-akamai zliang-akamai requested a review from a team as a code owner December 1, 2025 21:04
@zliang-akamai zliang-akamai requested review from jriddle-linode and lgarber-akamai and removed request for a team December 1, 2025 21:04
@zliang-akamai zliang-akamai added the testing for updates to the testing suite in the changelog. label Dec 1, 2025
@zliang-akamai
Copy link
Member Author

Should be bypassed if the token doesn't have account API access. Converting to draft to work on it.

Copy link
Contributor

@lgarber-akamai lgarber-akamai left a comment

Choose a reason for hiding this comment

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

LGTM other than the comment above, great work!

Copy link
Collaborator

@jriddle-linode jriddle-linode left a comment

Choose a reason for hiding this comment

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

Works locally, looks good!

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 enhances the get_regions function to filter regions based on account-level availability constraints, helping to reduce intermittent errors during integration tests by ensuring selected regions have the necessary capabilities enabled for the account.

Key Changes:

  • Added account availability checking to filter regions based on account-specific capabilities
  • Added error handling with logging for cases where account availability retrieval fails

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing for updates to the testing suite in the changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants