Skip to content

fix: update Insights supervisor backoff - #377

Merged
santhosh-apphelix-2u merged 1 commit into
masterfrom
insights-update-supervisor-backoff
Aug 31, 2026
Merged

fix: update Insights supervisor backoff#377
santhosh-apphelix-2u merged 1 commit into
masterfrom
insights-update-supervisor-backoff

Conversation

@santhosh-apphelix-2u

Copy link
Copy Markdown
Contributor

Updates the Insights supervisor dependency override to use a newer backoff version.

The current Insights stage deployment is failing when supervisor.service starts. The failure happens in pre_supervisor_checks.py before 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.3 package running under the newer Python version on the Ubuntu 22.04 image.

Change

Adds an Insights-only override for supervisor_pip_pkgs:

  • keeps boto=={{COMMON_BOTO_VERSION}}
  • updates backoff to 1.11.1

This is intentionally scoped to the Insights role so the shared supervisor defaults used by other services are not changed.

Copilot AI lite review requested due to automatic review settings August 31, 2026 07:52

Copilot AI left a comment

Copy link
Copy Markdown

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 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_pkgs override in the role dependency declaration.
  • Keeps boto=={{COMMON_BOTO_VERSION}} aligned with the Supervisor defaults.
  • Updates backoff from 1.4.3 to 1.11.1 for Insights only.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@santhosh-apphelix-2u
santhosh-apphelix-2u merged commit 485a6fa into master Aug 31, 2026
4 checks passed
@santhosh-apphelix-2u
santhosh-apphelix-2u deleted the insights-update-supervisor-backoff branch August 31, 2026 07:55
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