Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

.ets (ArkTS) files have no AST extractor — HarmonyOS sources silently absent from the graph

Aperta
#3,752 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
devtools

Direzione di ricerca

Start at the AST extraction pass and the existing TypeScript extractor, then check how .ets extensions are classified and dispatched. Use the tree-sitter TypeScript grammar coverage described in the issue, including ArkTS decorators and structs, and compare extraction on a HarmonyOS sample. Done means .ets files contribute AST nodes or the REPORT explicitly records unsupported extensions.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Same class as #1689 (.r), different language: .ets (ArkTS, HarmonyOS) is classified as code by detect but has no AST extractor.

Repro (graphify 0.x via uv, 2026-09-23):

  1. Point graphify at a repo containing .ets sources (e.g. a HarmonyOS host app: ArkTS UI + NAPI glue).
  2. Run the AST extraction pass.

Measured: 20 .ets files detected as code, all skipped:

warning: 20 file(s) are classified as code but graphify has no AST extractor for their language, so they contributed nothing to the graph: .ets (20). Please open an issue to request support for these (#1689).

The final graph (5,285 nodes over a ~537-file curated corpus) has zero nodes from the HarmonyOS host — a whole platform missing from an architecture analysis, with only a warning line to show for it.

Ask: an ArkTS extractor. ArkTS is a TypeScript derivative (HarmonyOS); the TS tree-sitter grammar covers most of it — .ets may be as simple as mapping onto the existing TS extractor, with a fallback for ArkTS-specific decorators/structs (struct Foo {\@State ...\}). If full support is far off, consider emitting the missing-extension list in the REPORT (not only stderr) so 'graph is complete' claims stay honest.

Lingua principale
Python
Stelle
124k
Fork
11.9k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Graphify-Labs/graphify

Tutte le issue di Graphify-Labs/graphify

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.