Skip to content

build: depend on plain traust-core now that the grammars ship with it - #323

Merged
chubirka merged 1 commit into
developmentfrom
build/core-grammars-dependency
Oct 29, 2026
Merged

chubirka merged 1 commit into
developmentfrom
build/core-grammars-dependency

Conversation

@chubirka

Copy link
Copy Markdown
Member

Why

traust-core#293 makes the tree-sitter grammars regular core dependencies. The [js,java,rust,ruby] extras no longer exist, so every install has the Express, Java, Rust and Ruby route matrices.

What

Verification

  • make test: 2,641 passed, 69 skipped. The estate-data, alignment and skill-security gates are green.
  • Smoke test: traust admin doctor --quick from this tree prints ✓ JS/TS / Java / Rust / Ruby grammar loads.
  • uv.lock keeps revision 3.

Changed tests

Approved by the reviewer before the change.

Test Old → new Why
test_framework_checks.py::test_web_sections_name_their_deterministic_evidence "traust-core[js]" in text → "tree-sitter-javascript" in text the extra is gone; the doc names the grammar package
test_framework_checks.py::test_jvm_rust_and_ruby_sections_name_their_matrix_markers traust-core[{java,rust,ruby}] → tree-sitter-{java,rust,ruby} same
test_portfolio_observe.py (fixture + test_a_never_audited_repository_succeeds_without_the_forge) stubbed ProcessRunner.run (gh) → stubs core's ForgeApi.get, with responses in GitHub REST shape; assertions unchanged core #283 moved GitHub reads to HTTP, so the gh stub no longer intercepted them (and the "forge contacted" guard no longer guarded)
  • Reviewed each changed test

Merge after traust-core#293.

🤖 Generated with Claude Code

traust-core makes the tree-sitter grammars regular dependencies, so the
[js,java,rust,ruby] extras go. `traust admin doctor` checks each grammar
loads and names the coverage gap when one won't. The observe test stubs
core's forge API, since GitHub reads no longer go through gh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@openshift-ci

openshift-ci Bot commented Oct 29, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chubirka

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 29, 2026
@chubirka
chubirka merged commit ad8de0b into development Oct 29, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant