fix: update Insights supervisor backoff - #377
Merged
Merged
Conversation
phaneendra-reddy-g
approved these changes
Aug 31, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates the Insights role’s Supervisor dependency configuration to override the backoff pip package version, addressing a Supervisor startup failure on Ubuntu 22.04 / newer Python where the older backoff==1.4.3 triggers AttributeError: type object '_asyncio.Task' has no attribute 'current_task'.
Changes:
- Adds an Insights-scoped
supervisor_pip_pkgsoverride in the role dependency declaration. - Keeps
boto=={{COMMON_BOTO_VERSION}}aligned with the Supervisor defaults. - Updates
backofffrom1.4.3to1.11.1for Insights only.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the Insights supervisor dependency override to use a newer
backoffversion.The current Insights stage deployment is failing when
supervisor.servicestarts. The failure happens inpre_supervisor_checks.pybefore supervisor can start the Insights gunicorn process.Error seen in the new stage instance:
AttributeError: type object '_asyncio.Task' has no attribute 'current_task'This comes from the old
backoff==1.4.3package running under the newer Python version on the Ubuntu 22.04 image.Change
Adds an Insights-only override for
supervisor_pip_pkgs:boto=={{COMMON_BOTO_VERSION}}backoffto1.11.1This is intentionally scoped to the Insights role so the shared supervisor defaults used by other services are not changed.