Skip to content

fix: add Bot node ID type to fix CI online test#1

Merged
AlecDusheck merged 1 commit into
mainfrom
fix/bot-node-id-support
Mar 21, 2026
Merged

fix: add Bot node ID type to fix CI online test#1
AlecDusheck merged 1 commit into
mainfrom
fix/bot-node-id-support

Conversation

@AlecDusheck

@AlecDusheck AlecDusheck commented Mar 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add Bot (BOT_) to supported node ID prefixes and export encodeBotNodeId()
  • Fix online test viewer roundtrip to detect Bot vs User type, since GITHUB_TOKEN in CI authenticates as a Bot

Test plan

  • All 78 offline tests pass
  • All 11 online tests pass (including previously failing viewer roundtrip)

GITHUB_TOKEN in CI authenticates as a Bot, not a User, so the viewer
roundtrip test was failing. Add Bot to supported node ID types and
update the test to detect the viewer's actual type.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AlecDusheck AlecDusheck merged commit 1a134de into main Mar 21, 2026
2 checks passed
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