Skip to content

fix(xqt): tolerate unknown timeline instructions - #2490

Merged
Tlaster merged 1 commit into
masterfrom
bugfix/xqt-unknown-timeline-instructions
Sep 7, 2026
Merged

fix(xqt): tolerate unknown timeline instructions#2490
Tlaster merged 1 commit into
masterfrom
bugfix/xqt-unknown-timeline-instructions

Conversation

@Tlaster

@Tlaster Tlaster commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

X/Twitter can return timeline instructions such as TimelineRemoveEntries that are absent from InstructionUnion. Previously, one unknown instruction made the entire notification response fail to decode.

Configure an XQT-specific polymorphic fallback that maps unrecognized instruction types to UnknownInstruction, allowing supported notifications and pagination cursors to continue loading. Known types retain their existing serializers; missing discriminators and malformed known instructions still fail. Unknown instructions are skipped; this does not implement their business actions.

Validation: ./gradlew :social:xqt:jvmTest --offline --console=plain — all 48 tests passed, including regression coverage for mixed known/unknown instructions, unknown-only responses, malformed known instructions, and missing type discriminators.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 7, 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-09-07T03:06:38.150624Z 5c79825 PR opened
ℹ️ 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.

@Tlaster
Tlaster merged commit cab6b0f into master Sep 7, 2026
9 checks passed
@Tlaster
Tlaster deleted the bugfix/xqt-unknown-timeline-instructions branch September 7, 2026 06:21
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