Skip to content

pr-base-commit: Expected Text node, received SPAN #9853

Closed

Description

@fregante

Description

TypeError: Expected Text node, received SPAN
    at isTextNodeContaining (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/helpers/dom-utils.js:87:9)
    at addInfo (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/features/pr-base-commit.js:37:6)

How to replicate the issue + URL

refined-github/sandbox#82

Extension version

26.7.12

Browser(s) used

chrome

AI PRs not welcome

Activity

  1. fregante commented on Jul 18, 2026

    @fregante
    MemberAuthor

    The feature works though:

    Image
  2. bakar-dev commented on Jul 18, 2026

    @bakar-dev
  3. fregante commented on Jul 19, 2026

    @fregante
    MemberAuthor

    I think this is what's happening: it finds a span because the message includes conflict information.

    Fix:

    1. detect the conflict status
    2. don't attempt to remove the span in this case
  4. added
    small
    on Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedbugsmall

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions