Skip to content

quality: prettier shim falls back to a stale javascript/tiers path (22 matrix tests red) #10512

Closed

Description

@TrapsterDK

Split from #10497.

Where

  • javascript/private/quality/bin/prettier.mjs:115: the fallback ../../../tiers/prettier/standard.json resolves to javascript/tiers/prettier/standard.json since the shim moved out of quality/tools/javascript/bin (layout: js quality tools and entry points move to javascript/private/quality (part of #10200) #10275). Prettier fails with JSON Error ... "undefined" is not valid JSON.
  • Red: matrix_{api_spec,avro,cloudformation,cloudformation_template,helm,markdown}prettier{pass,fail}, matrix_{graphql,html,json5}format{pass,fail}, matrix_svelte_prettier_{format_pass,format_fail,parse_fail}, matrix_tiers_json_format_pass.

Fix

  • Point the fallback at quality/tiers/prettier/standard.json via a runfiles lookup (not a relative URL) and add //quality/tiers/prettier:standard.json to the prettier binary's data in javascript/private/quality/bin/BUILD.bazel.
  • Better: bind the prettier tier base in the matrix rule (as quality: 161 //quality/testdata matrix tests fail on main #10497 does for runner tier-base tools) and drop the shim fallback; keep one of the two.
  • bazel test the listed targets; no golden should change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd

Activity

  1. added
    P2
    model:sonnet
    on Nov 10, 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

    P2model:sonnet

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions