Skip to content

chore: 4 dependabot PRs failing lint/pretty since 08-09/09-02/09-03, two newer siblings pass clean #129

Closed

Description

@alexbj75

Context

Live-verified 2026-09-25. Four dependabot PRs against webrtc-player are failing lint and pretty checks (TypeScript check itself is SUCCESS on all four), unaddressed since between 17 and 47 days:

PR Title Opened lint pretty
#102 bump brace-expansion 1.1.12 -> 1.1.18 2026-08-09 FAILURE FAILURE
#110 bump fast-uri 3.1.2 -> 3.1.7 2026-09-02 FAILURE FAILURE
#111 bump @xmldom/xmldom 0.8.13 -> 0.8.15 2026-09-03 FAILURE FAILURE
#112 bump browserslist 4.28.2 -> 4.28.8 2026-09-03 FAILURE FAILURE

By contrast, two newer same-class PRs (#123, #124, opened 2026-09-10) pass all three checks (lint, pretty, ts) clean. All six are dependency-only bumps with no source changes, so a config or lockfile drift between 09-03 and 09-10 is the likely cause, not the bumped packages themselves.

Actionability

Activity

  1. self-assigned this
    on Sep 29, 2026
  2. birme commented on Sep 29, 2026

    @birme
    Contributor

    Root cause diagnosed by today's daily-backlog-pr run (reproduced locally) — confirmed the drift hypothesis; no source/config fix on main is needed.

    The failure: all four stale PRs fail on the same single file, src/index.ts, for one prettier/prettier violation (line ~225): the single-line

    this.peer = new RTCPeerConnection({ iceServers: this.iceServers, ...this.rtcConfiguration });

    exceeds prettier's print width and must be broken across lines. lint fails because .eslintrc sets prettier/prettier: error; pretty fails on the same issue; ts (tsc --noEmit) passes because it's purely a formatting matter — which is exactly the lint+pretty-fail / ts-pass pattern reported.

    Why the split: that line was reformatted to the prettier-clean multi-line form by commit dbd536b (#113, 2026-09-07). The four failing PRs (#102/#110/#111/#112) all branch from 3f94e63 (2026-06-23), before dbd536b, so they still carry the unformatted line. The two passing PRs (#123/#124) branch from 471ace7 (2026-09-08), after it. Prettier/eslint config and the lint/pretty scripts did not change in that window — the drift is solely the reformatted source line.

    Verified fix: locally merging current origin/main into a failing branch (throwaway, never pushed) took both npm run lint and npm run pretty to exit 0.

    Action taken: posted @dependabot rebase on #102, #110, #111, #112. Dependabot will rebase each onto current main (pulling in dbd536b), after which lint/pretty/ts go green and they can be merged normally. Since dependabot's rebase + CI re-run is asynchronous, this run cannot merge them; unassigning and moving back to Ready so a follow-up run (or a maintainer) can merge the four once CI is green.

  3. assigned and unassigned on Sep 29, 2026
  4. birme commented on Sep 30, 2026

    @birme
    Contributor

    Resolved by the daily-backlog-pr automation. As predicted in the issue, the lint/pretty failures
    were main-side config/lockfile drift, not the bumped packages: dependabot has since rebased all
    four PRs onto current main and they now pass lint, pretty, and ts clean and merge cleanly.

    Merged:

    All four are package-lock.json-only bumps (no source or workflow-file changes). Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions