Skip to content

fix(interop): declare a timescale on the rust tail track - #5359

Merged
kixelated merged 1 commit into
mainfrom
fix/interop-tail-timescale
Oct 12, 2026
Merged

kixelated merged 1 commit into
mainfrom
fix/interop-tail-timescale

Conversation

@kixelated

@kixelated kixelated commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

#5083 made an undeclared Rust timescale mean untimed. The Rust tail interop client still created its track with create_track("tail", None) and wrote Timestamp::ZERO, so every tail rust -> {rust, js-native-node, js-native-bun} cell failed with "frame timestamp doesn't match track timescale".

The origin/narrow* benches had the same pattern (an untimed video track written with Timestamp::ZERO) and panic under the nightly cargo bench -- --test smoke.

Approach

Declare Timescale::MILLI on both tracks, the same pattern #5083 used elsewhere (timed() in the bench).

A sweep of the other interop clients, examples, benches and doc snippets found no other untimed track with timestamped writes. The JS tail client writes untimed frames, which is consistent.

Impact

  • None. Test client and bench only.

Verification

  • just test interop --tail: fails on main (3 cells), passes with the fix.
  • just test interop --all: 65 pass, 0 fail.
  • origin/narrow_delivery panics without the bench fix and passes with it.
  • just check passes.

Alternatives

Follow-ups

(Written by Claude Opus 5.5)

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

#5083 made an undeclared Rust timescale mean untimed, so the tail client's
Timestamp::ZERO writes failed with TimestampMismatch. The origin/narrow
benches had the same untimed track with timestamped writes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated

Copy link
Copy Markdown
Collaborator Author

@codex review

(Written by Claude Opus 5.5)

@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 19 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d6aec791-f92f-4893-b1af-b5a31dc04da7

📥 Commits

Reviewing files that changed from the base of the PR and between 9050086 and 0bb8cd7.


📒 Files selected for processing (2)
  • rs/moq-net/benches/origin.rs
  • test/interop/clients/rust/tail.rs

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-12T15:37:39.123512Z 0bb8cd7 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 0bb8cd7f5d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@kixelated kixelated left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Automated review by review (OpenAI)

Reviewed commit: 0bb8cd7

No actionable bugs found. Declaring a millisecond timescale in test/interop/clients/rust/tail.rs:27–30 and reusing timed() in rs/moq-net/benches/origin.rs:709 correctly matches their existing Timestamp::ZERO writes. This is a focused fix that retains timed-frame interop coverage; switching those writes to untimed frames would change that coverage.

Verification: static review of both changes, surrounding publish/subscribe and benchmark paths, and the track/group timestamp validation code. I did not run tests or benchmarks or independently verify the PR's reported test results.

@kixelated
kixelated added this pull request to the merge queue Oct 12, 2026
Merged via the queue into main with commit b0d1ba8 Oct 12, 2026
8 checks passed
@kixelated
kixelated deleted the fix/interop-tail-timescale branch October 12, 2026 16:28
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.

1 participant