CI never compiles the integration project, so its four src/it trees have no rot guard
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- Under an hour
- Newbie friendliness
- 83/100
Research direction
Start with .circleci/config.yml and the integration project definition in build.sbt; the issue names both and gives the proposed compile command. Check how CI invokes sbt, then add a compile-only step for integration/Test/compile. Confirm the CI command succeeds without running integration tests or requiring the data files and Kafka broker.
Written by the indexing model from the issue text.
Description
The integration project gathers the four src/it/scala trees and is deliberately left out of root's aggregate, which build.sbt states plainly:
// They're not aggregated by root, so neither `sbt test` nor CI runs them: use `sbt integration/test`.
lazy val integration = (project in file("integration"))
That decision is reasonable — the tests want 69 MB data files and a Kafka broker, and keeping them out of sbt test keeps the normal loop fast. This issue is not asking for it to be reversed.
The gap is narrower: nothing in CI so much as compiles them, so there is no guard against the sources rotting. .circleci/config.yml runs sbt Test/compile, sbt test, sbt mimaReportBinaryIssues, sbt unidoc and sbt clean coverage test coverageAggregate — every one of those is scoped to root, which does not aggregate integration. The four directories are therefore never compiled by anything automated:
core/src/it/scala(support classes)cats/src/it/scala(5 suites)kafka-cats/src/it/scala(1 suite)kafka-zio/src/it/scala(1 suite)
Why this is worth a cheap guard
Found by an audit of test discovery across all twelve Phasmid libraries. Two siblings show exactly what an uncompiled it tree becomes:
- Comparer (rchillyard/Comparer#29) —
src/it/scalawired into nothing; its two suites stopped compiling (List[Long]vsArray[Long]) and nobody noticed for two years. - Number (rchillyard/Number#216) —
core/src/it/scalawired into nothing; its eight suites still importcore.{AbsoluteFuzz, FuzzyNumber, Number, …}from before the module split, so they fail on the first import line.
In both cases the sources were rotting in plain sight, because an unbuilt directory and a passing build look identical.
TableParser is not in that state today. Checked on origin/main (57037a8):
$ sbt integration/Test/compile
[info] compiling 8 Scala sources to .../integration/target/scala-3.9.0/test-classes ...
[success] Total time: 22 s
It compiles cleanly. The point is that nothing would tell you when it stops — and the module is coupled to five others by test->test, so an ordinary refactor in core or cats can break it without touching a file in integration.
Suggestion
A compile-only CI step costs seconds and needs no data files and no broker:
- run:
name: Integration test compile
command: cat /dev/null | sbt integration/Test/compile
That keeps the deliberate decision intact — the tests still do not run in CI — while making rot a build failure instead of a discovery years later. XmlDoc is the reference for the other end of the same tradeoff: kmlIt and kafkaIt are equally unaggregated, but .circleci/config.yml runs each explicitly.
- Dominant language
- Scala
- Stars
- 11
- Forks
- 4
- Avg merge
- 13h 28m
- Merged PRs (30d)
- 23
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rchillyard/TableParser
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
rchillyard/TableParser#203 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
rchillyard/TableParser#195 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
rchillyard/TableParser#194 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
rchillyard/TableParser#193 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
rchillyard/TableParser#186 ·
Maintainers usually reply within 1 day
All issues in rchillyard/TableParser
Similar issues
-
[Bug][NewCSR] vsstatus.SDT latches writes while DTE=0, exposing illegal (vsstatus.SDT=1 && vsstatus.SIE=1)Possibly taken @docluka77 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
OpenXiangShan/XiangShan#7134 ·
Maintainers usually reply within 2 days
-
Module - Core
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
AI Generated CI/CD ⚒️ Flaky-tests 🐦 python 🐍
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
valkey-io/valkey-glide#8012 ·
Maintainers usually reply within 2 days
-
Agent Workspace Python guidance: the agent can choose an interpreter without magda-python-runtime planPossibly taken @chandrasahith claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
magda-io/magda#4007 · 2 comments ·
Maintainers usually reply within 1 day
-
[BUG] Iceberg v3 read test fails during schema setup with a zero decimal defaultPossibly taken @res-life claimed this 1 day ago. Openbot_watch bug
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
NVIDIA/cudf-spark#17288 · 1 assignee ·
Maintainers usually reply within 2 days