Skip to content

fix: remove no-op deadline methods from streamAdapter (PILOT-79)#2

Merged
TeoSlayer merged 2 commits into
mainfrom
openclaw/pilot-79-20260528-030250
May 28, 2026
Merged

fix: remove no-op deadline methods from streamAdapter (PILOT-79)#2
TeoSlayer merged 2 commits into
mainfrom
openclaw/pilot-79-20260528-030250

Conversation

@matthew-pilot
Copy link
Copy Markdown
Collaborator

What

Removes the three no-op deadline shims from streamAdapter:

  • SetDeadline
  • SetReadDeadline
  • SetWriteDeadline

Updates the ceiling test to reflect the interface change.

Why

These methods returned nil without updating any underlying state. Plugin authors calling them believed deadlines were being set — nothing happened.

The sibling PR in TeoSlayer/pilotprotocol removes these methods from the coreapi.Stream interface. The interface change gives callers a compile-time error instead of a silent runtime no-op.

Dependencies

⚠️ Merge TeoSlayer/pilotprotocol PR first — this PR relies on the updated coreapi.Stream interface.

Related

matthew-pilot and others added 2 commits May 28, 2026 03:03
Remove SetDeadline, SetReadDeadline, SetWriteDeadline from streamAdapter.
These were no-ops that silently returned nil, misleading plugin authors.

Depends on the sibling PR in TeoSlayer/pilotprotocol which removes
the same methods from the coreapi.Stream interface — merge that PR
first, then this one.
@TeoSlayer TeoSlayer merged commit 78e5356 into main May 28, 2026
1 of 2 checks passed
@TeoSlayer TeoSlayer deleted the openclaw/pilot-79-20260528-030250 branch May 28, 2026 17:06
@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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