Skip to content

Qualor 0.13.0

Choose a tag to compare

@github-actions github-actions released this 29 Oct 18:57
· 916 commits to main since this release

Added

  • Rule scope: a rule applies to main code, test code or all code, and reports nothing in the other
    files. The sonarjs rules take theirs from SonarSource's rule metadata, for example the limit on
    nested functions (S2004) is main code only. A quality profile can change a rule's scope, and
    Rules and the profile page show it. A child profile inherits it. In a report, a rule's scope
    is main, test or all. A report without one means all, and the report schema version
    stays 1.
  • API: a rule has a scope. A profile rule has the effective scope and scopeOverride, this
    profile's own setting (null when it has none). PUT /quality-profiles/{id}/rules/{ruleKey} takes
    scope (main, test, all, or null to clear it), and active is optional when scope is
    given. The analysis warning FINDINGS_FILTERED_BY_SCOPE counts the findings dropped for their
    scope.

Changed

  • After the upgrade, the next analysis with the 0.13 scanner closes the issues that main-code rules
    raised in test files, and the issues that test-code rules raised in main files. Open issue counts
    can fall. A scanner before 0.13 sends no scope.
  • The scan log names each analyzer that ran with its duration and finding count.
  • Qualor's security rules analyse main code only, so scans are faster. They report nothing in test
    files, the files tests.include names. Open Qualor findings in test files close on the next
    analysis.
  • Telemetry is schema 3. Besides the schema-2 report, the server counts which features are in use,
    in counts, flags and fixed lists only. These are automatic fix suggestions, MCP clients, Slack and
    Teams notifications and digests, e-mail by kind, compliance exports, SonarQube imports, licence
    policies, and merge request analyses and CI systems. No names, addresses, hosts or time zones.
    QUALOR_TELEMETRY=false still turns it off. See the telemetry guide.
  • On a small context window, the rules files (AGENTS.md, CLAUDE.md, REVIEW.md) are cut to
    fit instead of skipping the AI review as too large for the window. A review that fitted before
    runs as before. Only when the window has no room for them do the rules files share half of its
    room: a short file stays whole, the long ones are cut evenly, and the summary says they were
    shortened. Only a change that does not fit the window is skipped. The room a model has to think
    before it answers shrinks with the window too, so on a window of 28 000 tokens no call is refused
    for it first.
  • An AI review has 45 minutes in all. The reviewers stop at 60 % of it, so the judge has time to
    answer, and a retry never waits past the end. A review that reaches the limit says so in its
    summary. One whose judge cannot answer in time fails with "AI review failed because it ran out
    of time.", and the next push reviews again. Set another time, 5 to 240 minutes, with
    QUALOR_AI_REVIEW_MAX_MINUTES.

Fixed

  • Semgrep and OpenGrep run the rule files they found when another entry in
    analyzers.semgrep.configs is skipped: qualor-default on a runner without the scanner image,
    or a named file that does not exist. Before, either skipped the engine and your other files never
    ran. A URL or a path outside the repository still stops the engine. A missing file is logged and
    reported as a SEMGREP_CONFIG_MISSING warning, and an AI review snapshot is not sent while a
    named file is missing.
  • On Windows, a scan that times out or is interrupted reads the process table and stops the
    processes below its analyzers before it stops the analyzers, as long as their parent is still
    running.
  • On an issue's page, the File link keeps the line number with the file name: a long path wraps
    at its slashes, and limits.ts:12 stays on one line.

The qualor binaries are built with Bun 1.3.13 and embed tree-sitter-swift 0.7.3 (MIT), a grammar that is not an npm package.