fix(ci): remove redundant scan + add tree-sitter to quality-gate (stop 40min hang) - #273
Merged
Merged
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Mengapa
CI HEAD (#270 merge) run Quality Gate STUCK 40+ menit di step "Initialize CodeLens" (semua 4 matrix job). Root cause dari fix #262 saya:
scan .redundan — fix(ci): fix broken CI since #195 consolidation (closes #235) #262 mengubah "Initialize CodeLens" dariinit(cepat) jadiscan ., padahal step "Scan codebase" berikutnya JUGAscan .. Dua full-scan.pip install pyyaml, jadi scan pakai regex-fallback parser yang lambat/pathological pada file besar repo (test fixtures 3000-baris) → near-hang.Perbaikan
tree-sitter>=0.21.0,<0.26(+ grammar) — scan pakai jalur tree-sitter cepat.codelens-results.sarif(yang di-upload step berikutnya; sebelumnya file itu tak pernah dibuat).Verifikasi
Full
scan ..dengan tree-sitter (0.25.2) lokal = 116s exit 0 (bukan hang). Regex-fallback double-scan itulah yang bikin hang 40 menit.audit --format sarif→ SARIF valid (dari #270).Catatan
Melengkapi #262/#266 — bagian terakhir memperbaiki CI yang rusak sejak #195.