The GitHub Actions job "Required Checks" on texera.git/chore/monaco-lsp-v10 has 
failed.
Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).

Head commit for run:
f31be016ce62b327e46f4bc96cb802e8d5766854 / Xinyuan Lin <[email protected]>
chore(frontend): squeeze line count out of polyfill + worker comment

Aggressive line-count pass on the two heaviest PR-touched files.

* `jsdom-svg-polyfill.ts`:
  * Add a single `G = globalThis as Record<string, any>` accessor and
    use it everywhere instead of repeating
    `(globalThis as unknown as { Foo?: { prototype: ... } }).Foo`
    five times. Each cast site shrinks from ~3 lines to one identifier.
  * Add `installIfMissing(proto, fns)` helper that takes a prototype +
    map of `name -> impl` and only patches the missing slots. Replaces
    six hand-rolled `if (typeof proto.X !== "function") proto.X = ...`
    branches across the SVG / CSSStyleSheet / Document / CSS sections.
  * Compact `fakeMatrix` / `fakeTransform` to drive their no-op stubs
    from a `for-of` over the method-name list rather than a fan-out of
    11 + 6 individual assignments.
  * Use `??=` for the `CSS` namespace + `requestIdleCallback` /
    `cancelIdleCallback` initialisation; collapse the matchMediaStub
    object literal onto fewer lines.

* `code-editor.component.ts`: trim the 14-line `monacoWorkerFactory`
  comment to 7 lines — same content, less prose. The component file is
  the canonical home of the trampoline rationale; the worker files
  point back at it.

Net for this commit: 2 files, +87 / -134 (-47). Cumulative for the
PR's two cleanup commits: +163 / -278 (-115). No behaviour change.
yarn build:ci EXIT 0 with byte-identical worker chunks; check_binary_deps.py
OK: 113; yarn test stays at 63 / 269.

Report URL: https://github.com/apache/texera/actions/runs/25597740015

With regards,
GitHub Actions via GitBox

Reply via email to