Skip to content

fix(gateway): resume should follow compression continuations#15418

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-e1208013
Apr 24, 2026
Merged

fix(gateway): resume should follow compression continuations#15418
teknium1 merged 2 commits into
mainfrom
hermes/hermes-e1208013

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Salvage of #15403 onto current main.

Summary

Gateway /resume <title> now follows compression continuation chains, matching CLI behavior (cli.py:4753). After /compress, the titled parent ends with an empty transcript and the live messages land on a child session; gateway was reopening the empty parent.

Changes

  • gateway/run.py: route resolved target through SessionDB.resolve_resume_session_id() with debug-log fallback
  • tests/gateway/test_resume_command.py: regression test — compressed parent + child continuation, assert /resume switches to child
  • scripts/release.py: AUTHOR_MAP entry for @simbam99

Validation

scripts/run_tests.sh tests/gateway/test_resume_command.py → 10/10 passing.

Credit: @simbam99 (original PR #15403, cherry-picked with authorship preserved).

@teknium1 teknium1 merged commit f14264c into main Apr 24, 2026
7 of 11 checks passed
@teknium1 teknium1 deleted the hermes/hermes-e1208013 branch April 24, 2026 23:42
@github-actions

Copy link
Copy Markdown
Contributor

⚠️ npm lockfile hash out of date

Checked against commit a9cfba4 (PR head at check time).

The hash = "sha256-..." line in these nix files no longer matches the committed package-lock.json:

Apply the fix

  • Apply lockfile fix — tick to push a commit with the correct hashes to this PR branch
  • Or run the Nix Lockfile Fix workflow manually (pass PR #15418)
  • Or locally: nix run .#fix-lockfiles -- --apply and commit the diff

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

Labels

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