Skip to content

Gateway : accept shared truthy aliases for busy-ack enable flag - #78544

Closed
aydnOktay wants to merge 2 commits into
NousResearch:mainfrom
aydnOktay:fix/gateway-busy-ack-truthy-env
Closed

aydnOktay wants to merge 2 commits into
NousResearch:mainfrom
aydnOktay:fix/gateway-busy-ack-truthy-env

Conversation

@aydnOktay

Copy link
Copy Markdown
Contributor

Summary

  • Parse HERMES_GATEWAY_BUSY_ACK_ENABLED with is_truthy_value instead of .lower() == "true". Values like 1 / on / yes (and whitespace-padded true) previously silently suppressed busy acks while users thought they were enabling them — aligning with the project's shared truthy contract and the sibling steer-ack aliases in the same method.
  • Defensive Telegram bare-adapter getattr for _polling_conflict_recovery_generation.

aydnOktay and others added 2 commits August 4, 2026 17:43
HERMES_GATEWAY_BUSY_ACK_ENABLED only matched the literal string true, so values like 1/on/yes (and padded true) silently suppressed busy acks. Use is_truthy_value to match the project's shared truthy contract and the sibling steer-ack aliases.

Co-authored-by: Cursor <cursoragent@cursor.com>
…adapters

Defensively read _polling_conflict_recovery_generation via getattr so bare/__new__ adapters cannot AttributeError during progress recording.

Co-authored-by: Cursor <cursoragent@cursor.com>
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery area/config Config system, migrations, profiles sweeper:risk-message-delivery Sweeper risk: may drop, duplicate, misroute, or suppress messages sweeper:risk-compatibility Sweeper risk: may break existing users, config, migrations, defaults, or upgrades labels Aug 4, 2026
@aydnOktay

Copy link
Copy Markdown
Contributor Author

Closing to concentrate review on a single linked product bug: #89979.

@aydnOktay aydnOktay closed this Aug 19, 2026
@aydnOktay

Copy link
Copy Markdown
Contributor Author

Closing to concentrate review on a single linked product bug: #89979.

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

Labels

area/config Config system, migrations, profiles comp/gateway Gateway runner, session dispatch, delivery P3 Low — cosmetic, nice to have sweeper:risk-compatibility Sweeper risk: may break existing users, config, migrations, defaults, or upgrades sweeper:risk-message-delivery Sweeper risk: may drop, duplicate, misroute, or suppress messages type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants