Skip to content

only update attachSerial for non-resumed attaches#503

Merged
SimonWoolf merged 2 commits into
mainfrom
attachserial-update
Jul 23, 2026
Merged

only update attachSerial for non-resumed attaches#503
SimonWoolf merged 2 commits into
mainfrom
attachserial-update

Conversation

@SimonWoolf

Copy link
Copy Markdown
Member

Previously the spec said to update attachSerial whenever you get an ATTACHED.

This doesn't make sense. attachSerial is used for untilAttach history, which is used to get history that is contiguous to the stream of realtime messages. If you get an attached with resumed=true because of a brief disconnection, that didn't reset your period of message continuity, so it shouldn't change the point up to which untilAttach gives you history!

@paddybyers

Copy link
Copy Markdown
Member

@ttypic does this need a UTS update?

@SimonWoolf
SimonWoolf force-pushed the attachserial-update branch from 16e300e to d99aa94 Compare July 22, 2026 17:39
@github-actions
github-actions Bot temporarily deployed to staging/pull/503 July 22, 2026 17:40 Inactive

@ttypic ttypic left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good! I created PR with UTS specs changes: #510 (need to work on the process for the next spec improvements)

@SimonWoolf
SimonWoolf force-pushed the attachserial-update branch from d99aa94 to 71df3f7 Compare July 23, 2026 18:03
@github-actions
github-actions Bot temporarily deployed to staging/pull/503 July 23, 2026 18:03 Inactive
Spec 6.0.1 replaced RTL15a with RTL15c: attachSerial is now only
updated from ATTACHED messages whose resumed attribute is false.

- Rename the two RTL15a tests in channel_properties.md to RTL15c and
  update their quoted requirements to the new wording
- Add a new test asserting attachSerial is NOT updated from an
  ATTACHED message with the RESUMED flag set (the new behaviour)
- Refresh the stale RTL10b quote in channel_history.md (now
  references RTL15c)
- Update the RTL15 row in completion-status.md

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@SimonWoolf
SimonWoolf removed the request for review from lawrence-forooghian July 23, 2026 18:04
@SimonWoolf
SimonWoolf merged commit 7ae7662 into main Jul 23, 2026
2 checks passed
@SimonWoolf
SimonWoolf deleted the attachserial-update branch July 23, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants