Skip to content

fix(docker): preload messaging gateway deps via --extra messaging (salvage #26394)#27558

Merged
teknium1 merged 2 commits into
mainfrom
hermes/salvage-tier2
May 17, 2026
Merged

fix(docker): preload messaging gateway deps via --extra messaging (salvage #26394)#27558
teknium1 merged 2 commits into
mainfrom
hermes/salvage-tier2

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

Salvage of #26394 — published Docker image's uv sync only installs the [all] extra, leaving messaging adapter deps (python-telegram-bot, discord.py, slack-bolt, etc.) to be lazy-installed at first gateway boot. That works only if the .venv is writable AND first-boot lazy install succeeds. Faster, more reliable to bake the deps in.

Changes

  • Dockerfile — extend the uv sync line to --extra all --extra messaging. Adjust the trailing comment about lazy_deps to clarify it now handles only optional/future deps, not the messaging baseline.
  • tests/tools/test_dockerfile_pid1_reaping.py — regression test asserting --extra messaging appears in the no-install-project sync step.

Validation

  • scripts/run_tests.sh tests/tools/test_dockerfile_pid1_reaping.py -q → 7/7 pass.
  • [messaging] extra confirmed present in pyproject.toml.

Original PR: #26394 — credit preserved via rebase-merge.

@teknium1 teknium1 merged commit a2cc305 into main May 17, 2026
16 of 17 checks passed
@teknium1 teknium1 deleted the hermes/salvage-tier2 branch May 17, 2026 18:51
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: hermes/salvage-tier2 vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 8705 on HEAD, 8705 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 4587 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists area/docker Docker image, Compose, packaging comp/gateway Gateway runner, session dispatch, delivery labels May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docker Docker image, Compose, packaging comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants