Skip to content

quality: matrix goldens drift (severity WARNING vs ERROR, missing findings) in 38 cases #10515

Closed

Description

@TrapsterDK

Split from #10497. Seen at 316e65e with bazel test //quality/testdata:runner_matrix --keep_going.

Where

  • Severity: ruff and pydoclint now report WARNING where goldens say ERROR (matrix_python_{lint,format}fail, matrix_python_stub{lint,format}_fail, matrix_jupyter_format_fail). quality/families/python_tools.bzl:26 maps pydoclint to severity(default = "warning") since the tools.bzl split (quality: split quality/tools.bzl into per-family tool rows #10083); check ruff's row too.
  • Missing findings: eslint (matrix_{javascript_eslint{,_cjs,mjs,import},astro,mdx,svelte,vue}eslint*fail), fortitude (matrix_fortran_lint{fail,multi,syntax_error}), cmakelint (matrix_cmake_lint{fail,multi}), ruff profiles (matrix_python_ruff_profile{standard,strict}, matrix_python_lint_ruff_first_party), sqlfluff (matrix_sql_lint_fail), trivy (matrix{bicep,terraform}trivy_lint_fail), pmd (matrix_java_pmd_ruleset), phpstan (matrix_php_typecheck_unused_public), psscriptanalyzer/ansible fix rounds (matrix_powershell{lint,format}profile_strict, matrix_ansible_lint{fix,profile_strict}), matrix_tiers_toml_format_pass, matrix_jupyter_syntax.
  • Message text only: matrix_graphql_lint_config_{missing_schema,unknown_key}fail, matrix_prettier_config{invalid,plugins}_fail, matrix_objc_format_config_unsupported, matrix_vue_eslint_unlisted_import_fail.

Fix

  • Severity: if the severity map in quality/families/*_tools.bzl is intended, regenerate those goldens with bazel test --test_env=UPDATE_EXPECT=1 and copy test.outputs/<name>.expected.update to quality/testdata/matrix/<name>.expected.txt.
  • Missing findings: bisect per tool (git log -- quality/families quality/tiers/<tool> quality/runner/src/real); a dirty fixture that reports nothing is a bug, not a golden update.
  • Message-only diffs: regenerate after checking the new text is the tool's.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Xut2hzLvRXZcoZvVp18RGd

Activity

  1. added
    P2
    model:sonnet
    on Nov 10, 2026
  2. TrapsterDK commented on Nov 10, 2026

    @TrapsterDK
    CollaboratorAuthor

    Fixed by #10570, #10577 and #10616. At 54e158b the severity, missing-finding and message cases listed here pass in bazel test //core/quality/testdata:runner_matrix (641 of 677 executed pass). Remaining failures are different causes, split into a new issue; dialyzer is #10517.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01Xut2hw7VSwpTcKWzXNfUDz

  3. TrapsterDK commented on Nov 10, 2026

    @TrapsterDK
    CollaboratorAuthor

    Remaining: #10570 (severity goldens), #10577 and #10616 are on main. They fixed the severity cases, matrix_tiers_toml_format_pass, the trivy, powershell and ansible cases, matrix_python_lint_ruff_first_party, matrix_prettier_config_invalid_fail and matrix_vue_eslint_unlisted_import_fail, and removed matrix_php_typecheck_unused_public. Not shown green by any of them (in core/quality/testdata/matrix/):

    • eslint: matrix_{javascript_eslint,javascript_eslint_cjs,javascript_eslint_mjs,javascript_eslint_import,astro,mdx,svelte,vue}_eslint*_fail.
    • fortitude: matrix_fortran_lint_{fail,multi,syntax_error}.
    • cmakelint: matrix_cmake_lint_{fail,multi}.
    • ruff profiles: matrix_python_ruff_profile_{standard,strict}.
    • matrix_sql_lint_fail, matrix_java_pmd_ruleset.
      Run bazel test //core/quality/testdata:runner_matrix --keep_going on main, post the red list here, and bisect each tool that reports nothing on a dirty fixture. Close if the list is empty.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01Xut2hw7VSwpTcKWzXNfUDz

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