Skip to content

chore(controller): close phase 0 — lint gate + YAML parser test#11

Merged
luisguzman-adfa merged 3 commits into
mainfrom
chore/phase0-closeout
Jun 18, 2026
Merged

chore(controller): close phase 0 — lint gate + YAML parser test#11
luisguzman-adfa merged 3 commits into
mainfrom
chore/phase0-closeout

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

Tie up the remaining Phase 0 guardrail items.

  • Lint is now a hard gate for :app: abortOnError=true plus a committed lint-baseline.xml (existing backlog grandfathered, NEW issues fail), and the CI lint step drops continue-on-error. Addresses M11.
  • Extract the local_vars.yml flag reader out of DeployFragment into a pure, unit-tested util/LocalVarsYamlParser (LocalVarsYamlParserTest); DeployFragment delegates to it. Covers the "YAML parser" test item and is the first step on tech-debt D14 (replace the naive split-on-':' with a real parser later).
  • CI: stop the redundant double-run (push now only on main/development, not every branch; PRs are covered by the pull_request trigger), add a concurrency group that cancels superseded in-flight runs, and enable the Gradle build cache + parallel modules (org.gradle.caching/parallel) so unchanged inputs (e.g. a docs-only PR) can skip the slow lint analysis.
  • Docs: TECH_DEBT_PLAN progress log updated. Records that LogManager.getFormattedSize is Android-coupled (formatting already covered by the tested ByteFormatter) and InstallationPlanner OS sizing moved into the rootfs domain, so neither needs a separate test; and that K2/K6 are superseded/cosmetic.

Tie up the remaining Phase 0 guardrail items.

- Lint is now a hard gate for :app: abortOnError=true plus a committed
  lint-baseline.xml (existing backlog grandfathered, NEW issues fail), and the
  CI lint step drops continue-on-error. Addresses M11.
- Extract the local_vars.yml flag reader out of DeployFragment into a pure,
  unit-tested util/LocalVarsYamlParser (LocalVarsYamlParserTest); DeployFragment
  delegates to it. Covers the "YAML parser" test item and is the first step on
  tech-debt D14 (replace the naive split-on-':' with a real parser later).
- CI: stop the redundant double-run (push now only on main/development, not every
  branch; PRs are covered by the pull_request trigger), add a concurrency group
  that cancels superseded in-flight runs, and enable the Gradle build cache +
  parallel modules (org.gradle.caching/parallel) so unchanged inputs (e.g. a
  docs-only PR) can skip the slow lint analysis.
- Docs: TECH_DEBT_PLAN progress log updated. Records that
  LogManager.getFormattedSize is Android-coupled (formatting already covered by
  the tested ByteFormatter) and InstallationPlanner OS sizing moved into the
  rootfs domain, so neither needs a separate test; and that K2/K6 are
  superseded/cosmetic.
…ingTranslation to warning

Adds fr/hi/pt/ru for install_* (offline UX) and rsync_error_invalid_credentials (S1); en+es-only strings were breaking the now-blocking lint. MissingTranslation downgraded to non-blocking warning so secondary-locale gaps don't fail CI going forward.
@luisguzman-adfa luisguzman-adfa merged commit 54c9788 into main Jun 18, 2026
1 check passed
@luisguzman-adfa luisguzman-adfa deleted the chore/phase0-closeout branch June 18, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant