Typst: tytanic (`tt run`), the standard package test runner, is unknown; typstyle via its action + git diff is not a formatting gate

オープン 初心者向け
#263 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
ci-cd, tooling

調査の方向性

ecosystems/typst.py の28〜34行目にある Typst プロファイルから始めてください。そこでは認識されるコマンドとして typst compile と typst c のみが列挙されています。tests-run fact がこのリストをどのように使っているかも確認してください。認識されるテストコマンドとして tt run を追加し、tests/a/test.typ を使うテストと、ワークフローのステップ run: tt run を追加してください。そのリプロで tytanic を名指しして tests-run PASS と報告されれば完了です。typstyle-action の apply-then-diff ケースについては facts/formatting.py も確認してください。ただしこれは別の変更として扱ってください。

索引モデルが issue の本文から書いたものです。

説明

cetz, fletcher and touying run tt run (compiles every tests/**/test.typ against references) → tests-run FAIL/WARN "no CI runs typst compile"; ecosystems/typst.py knows only typst compile/typst c. touying's typstyle job formats with typstyle-rs/typstyle-action and fails on git diff --exit-code, the apply-then-diff pattern facts/formatting.py accepts, but the action is unknown → code-formatting FAIL.

Evidence from the corpus audit

cetz-package/cetz, Jollywatt/typst-fletcher, touying-typ/touying / tests-run
  • kind: UNSUPPORTED (FALSE_NEGATIVE for cetz and fletcher)
  • actual: cetz FAIL: Typst: tests found in 171 file(s), but no CI configuration runs typst compile main.typ; fletcher WARN: tests found in 82 file(s), but no CI configuration runs typst compile main.typ; touying PASS only because it also compiles two regression documents directly.
  • expected: PASS: all three run the Typst test runner tytanic (tt run), which compiles every tests/**/test.typ and compares against references; it is the standard Typst package test tool (also in fletcher's pixi.toml), and the profile (ecosystems/typst.py:28-34) knows only typst compile/typst c.
  • evidence: fletcher .github/workflows/ci.yaml:24: crate: tytanic, :28: run: tt run; touying .github/workflows/test.yml:28: run: tt run; cetz justfile:19: tt run {{filter}} (via just test, see next finding); fletcher pixi.toml:12: test = "tt run".
  • repro: tests/a/test.typ + workflow step run: tt run; expect tests-run PASS naming tytanic.
  • confidence: high

Found by the regression-corpus audit (235 real repositories, one or more per ecosystem profile; corpus and expected results in corpus/). Evidence is quoted from the audited checkouts at the commits pinned in corpus/projects.toml; <checkouts>/<owner>__<repo> is such a checkout.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

主要言語
Python
スター
4
フォーク
1
平均マージ
10時間 41分
マージ済み PR(30日)
79

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cpp-best-practices/project_validator のほかの issue

cpp-best-practices/project_validator の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。