Skip to content

chore(controller): Phase 0 tech-debt guardrails — tests + CI gate#4

Merged
luisguzman-adfa merged 3 commits into
mainfrom
chore/phase0-guardrails
Jun 17, 2026
Merged

chore(controller): Phase 0 tech-debt guardrails — tests + CI gate#4
luisguzman-adfa merged 3 commits into
mainfrom
chore/phase0-guardrails

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

Extract framework-free SystemStatsUtil (parseMemLine, getDebianArch) from DashboardFragment and add the first JVM unit tests, plus a blocking unit-test step in CI. First step of the phased remediation plan in controller/docs/TECH_DEBT_PLAN.md.

  • Add SystemStatsUtil with parseMemLine/getDebianArch; DashboardFragment delegates (parseMemLine now trims input, fixing a latent crash on leading whitespace).
  • build.gradle: testOptions.unitTests.returnDefaultValues=true + org.json test dep.
  • Add SystemStatsUtilTest (14 cases) and SyncHandshakeHelperTest (round-trip/parse).
  • CI: add blocking testDebugUnitTest step; run lintDebug as non-blocking report.

Extract framework-free SystemStatsUtil (parseMemLine, getDebianArch) from
DashboardFragment and add the first JVM unit tests, plus a blocking unit-test
step in CI. First step of the phased remediation plan in controller/docs/TECH_DEBT_PLAN.md.

- Add SystemStatsUtil with parseMemLine/getDebianArch; DashboardFragment delegates
  (parseMemLine now trims input, fixing a latent crash on leading whitespace).
- build.gradle: testOptions.unitTests.returnDefaultValues=true + org.json test dep.
- Add SystemStatsUtilTest (14 cases) and SyncHandshakeHelperTest (round-trip/parse).
- CI: add blocking testDebugUnitTest step; run lintDebug as non-blocking report.
@luisguzman-adfa luisguzman-adfa added the enhancement New feature or request label Jun 17, 2026
@luisguzman-adfa luisguzman-adfa merged commit cdfdca3 into main Jun 17, 2026
2 of 3 checks passed
@luisguzman-adfa luisguzman-adfa deleted the chore/phase0-guardrails branch June 18, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant