chore(test): JavaScript and TSX have no semantic lifecycle or query cases

オープン
#267 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
3/5
見積もり時間
半日
初心者へのやさしさ
62/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
領域
testing-qa

調査の方向性

Start with testdata/semantic/README.md, which sets the rule that acceptance cases are written from the source and target spec before reading CodeGraph output. Compare the existing development/ and heldout/ cases for Go, Java, Python and TypeScript with the four JavaScript and TSX cases listed in the issue. Add a lifecycle case and a public-queries case under development/, plus an acceptance-queries case under heldout/, for each of JavaScript and TSX. Done when the semantic gate runs and those new cases are picked up for both languages.

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

説明

area:ci chore priority:low
What kind of chore?

Test infrastructure

What needs doing?

Add lifecycle and public query cases for JavaScript and TSX to testdata/semantic/.

Go, Java, Python and TypeScript each have a lifecycle case and a public-queries case under development/, and an acceptance-queries case under heldout/. JavaScript and TSX have two cases each, and those cases cover only the declarations and resolution dimensions:

  • development/javascript/callable-declarations
  • heldout/javascript/module-functions
  • development/tsx/components
  • heldout/tsx/nested-components

Write new acceptance cases from the source and the target specification before you look at CodeGraph output, as testdata/semantic/README.md requires.

Why now?

#264 listed this as a known limit. Without these cases, the semantic gate does not detect a lifecycle or query regression that affects only JavaScript or TSX. The other four languages have this coverage.

Does this touch anything load-bearing?
  • The release pipeline (release.yml, .goreleaser.yaml, signing)
  • The upgrade identity (internal/upgrade/verify.go)
  • The perf baseline (tools/bench/baseline.json)
  • The graph schema / meta-key layout
  • None of these
Before submitting
  • I searched existing issues and this is not a duplicate
主要言語
Go
スター
0
フォーク
0
平均マージ
7時間 42分
マージ済み PR(30日)
111

環境構築

はじめの一歩

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

seanb4t/codegraph-go のほかの issue

seanb4t/codegraph-go の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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