BEAM: Gleam is unknown (gleam.toml, .gleam, gleam test/format), erlang.mk is not a build system (rebar.config is its generated artifact), Earthly targets
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- github-actions, python
- 領域
- build-system, ci-cd
研究方向
The issue spans three separate detection gaps: Gleam files and gleam.toml, erlang.mk versus the generated rebar.config, and Earthly targets in CI. Start with the corpus expected results under corpus/ (projects.toml, and the gleam-lang/stdlib, ninenines/cowboy and elixir-ecto/ecto entries) and the detection code they exercise. Done means those three projects produce the expected build systems, test and format results, and no silent gaps, with the corpus results updated to match.
由索引模型根據 Issue 內容生成。
描述
gleam-lang/stdlib: 42 .gleam files unrecognised, judged as Erlang + JavaScript from its FFI shims; gleam test and gleam format --check in every job → tests-run and code-formatting FAIL. cowboy: build_systems: ["rebar3"] from a rebar.config erlang.mk generates for Hex; deps are pinned in the Makefile, outputs are ebin/, deps/, .erlang.mk/ (all ignored), compiled with -Werror by erlang.mk → three wrong WARNs. ecto's integration tests run through earthly +integration-test (a committed Earthfile running mix test), neither read nor unknown.
Evidence from the corpus audit
gleam-lang/stdlib / detection (and tests-run, code-formatting, static-analysis, platform-matrix)
- kind: UNSUPPORTED (DETECTION)
- actual: map: languages
Erlang, JavaScript, build_systems[], unrecognised.gleamx42; tests-run FAIL "BEAM: no
tests found ...; JavaScript/TypeScript: no tests found"; code-formatting FAIL "CI never runs erlfmt ... prettier" - expected: a Gleam (BEAM) project with build system
gleam(gleam.toml), tests-run PASS (gleam testin every
job), code-formatting PASS (gleam format --check), and no JavaScript/TypeScript judgement for the 5 FFI.mjs
files - evidence:
gleam.toml:1:name = "gleam_stdlib";.github/workflows/ci.yml:32:- run: gleam test --target erlang;
.github/workflows/ci.yml:33:- run: gleam format --check src test;ci.yml:51:gleam test --target javascript --runtime node;test/gleam_stdlib_test.gleamexists;grep -rli gleam project_validator docs README.mdreturns
nothing. The 42.gleamfiles are the whole product; the detected "Erlang" (5.erl) and "JavaScript" (5.mjs)
are FFI shims. - repro:
gleam.toml+src/a.gleam+test/a_test.gleam+ workflowrun: gleam testandrun: gleam format --check src test - confidence: high
ninenines/cowboy / detection (build system), dependency-management, vcs-ignore, warnings-as-errors
- kind: DETECTION (UNSUPPORTED: erlang.mk)
- actual: map
build_systems: ["rebar3"]; dependency-management WARN "declared in rebar.config (rebar3) but not
locked"; vcs-ignore WARN ".gitignore does not ignore the _build directory"; warnings-as-errors FAIL "warnings are
not treated as errors in CI configuration or rebar.config" - expected: build system erlang.mk (the
rebar.configis an artifact erlang.mk generates for Hex); deps are pinned
by tag in the Makefile;_build/is rebar3's tree, erlang.mk's outputs (ebin/,deps/,.erlang.mk/) are all
ignored; erlang.mk compiles with-Werrorby default. - evidence:
Makefile:60:include erlang.mk;Makefile:89-91:# Generate rebar.config on build./app:: rebar.config;
Makefile:18-20:DEPS = cowlib ranch/dep_cowlib = git https://github.com/ninenines/cowlib 2.22.0;
.gitignore:.erlang.mk,deps,ebin/*.beam;erlang.mk:1626:ERLC_OPTS ?= -Werror +debug_info +warn_export_vars +warn_shadow_vars \;grep -rli erlang.mk project_validator docsreturns nothing. erlang.mk is
the build tool of cowboy, ranch, gun, cowlib and most ninenines/RabbitMQ-adjacent Erlang. - repro:
MakefilewithPROJECT = x+include erlang.mk, a committederlang.mk, a generatedrebar.config - confidence: medium (the judgements are defensible for a rebar3 user; the detection is what is wrong)
elixir-ecto/ecto / tests-run (integration tests under Earthly)
- kind: UNSUPPORTED
- actual: tests-run PASS (from the unit-test job); the integration-test job's
earthly ... +integration-testis
neither read nor reported as unknown (ecto.txt has no ERROR at all) - expected: either read the committed
Earthfiletarget (it runsmix testandmix test.all), or an ERROR "the
command earthly ... is not read" in strict mode; today the job silently contributes nothing. - evidence:
.github/workflows/ci.yml:80:run: earthly -P --ci --build-arg ELIXIR_BASE=${{matrix.elixirbase}} +integration-test;Earthfile:32-39:integration-test:...RUN mix test;Earthfile:79:mix test.all;;
grep -rli earthly project_validator docsreturns nothing. - repro: workflow
run: earthly +testwith anEarthfiletargettest:/RUN mix test - confidence: medium (Earthly is niche outside the Elixir core projects; the silent part is the real point)
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
- 主要語言
- Python
- 星號
- 4
- 分支
- 1
- 平均合併
- 10 小時 41 分鐘
- 30 天內合併 PR
- 79
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
cpp-best-practices/project_validator 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 62/100
cpp-best-practices/project_validator#267 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
cpp-best-practices/project_validator#263 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
cpp-best-practices/project_validator#260 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
cpp-best-practices/project_validator#259 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
cpp-best-practices/project_validator#255 ·
維護者通常 1 天內回覆
查看 cpp-best-practices/project_validator 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 65/100
StevenBlack/hosts#3299 ·
-
`garak --report` overwrites the input report when its name has no ".report"可能已有人在做 @0z5a 今天認領。 未關閉needs-triage
難度 2/5 半天 新手友好度 72/100
維護者通常 2 天內回覆
-
plot_graph crashes when a mesh node has no m2m edge可能已有人在做 @tygvi 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
mllam/neural-lam#883 · 1 則留言 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
future-agi/future-agi#4092 · 1 則留言 ·
維護者通常 1 天內回覆
-
transcript analytics: a text whose only protected spans the prose pass redacts is withheld whole未關閉
難度 1/5 1 小時以內 新手友好度 82/100
WingedGuardian/GENesis-AGI#4641 ·
維護者通常 1 天內回覆