Skip to content

feat(platform-apphost): Add local AppHost core#1233

Merged
leumor merged 4 commits intodevelopfrom
feature/platform-apphost-spotless
Apr 6, 2026
Merged

feat(platform-apphost): Add local AppHost core#1233
leumor merged 4 commits intodevelopfrom
feature/platform-apphost-spotless

Conversation

@leumor
Copy link
Copy Markdown
Collaborator

@leumor leumor commented Apr 6, 2026

Summary

  • add a new :platform-apphost leaf with the transport-neutral AppHost v1 API, manifest model/parser, install layout, and LocalProcessAppHost runtime for local out-of-process apps
  • wire the new leaf into the multi-project build, including ownership metadata, selective-prune handling, aggregate Sonar/JaCoCo/test-execution reporting, and related README/skill guidance
  • add focused leaf-local coverage for runtime lifecycle behavior, manifest parsing, path/layout validation, and record-level constructor validation
  • enrich the new public AppHost package Javadocs to document lifecycle expectations, filesystem ownership, and package responsibilities

How to test

  • ./gradlew :platform-apphost:test
  • ./gradlew compileJava compileTestJava
  • ./gradlew verifySelectiveLeafOwnershipMetadata buildJar
  • ./gradlew prepareTestExecutionReport
  • ./gradlew jacocoTestReport
  • ./gradlew :platform-apphost:javadoc
  • ./gradlew cleanTest test

leumor added 4 commits April 6, 2026 06:04
Create the :platform-apphost leaf with a transport-neutral AppHost v1 core for local installed apps, including manifest parsing, install layout, local process lifecycle, launch tokens, and focused leaf-local tests.

Wire the new leaf into the multi-project build, move the focused AppHost tests under :platform-apphost, and update Spotless/Sonar/JaCoCo ownership plumbing so non-clean builds and aggregated reporting stay correct.
Tighten AppHost runtime and test helper structure to satisfy the latest static-analysis follow-ups without changing behavior.

- simplify LocalProcessAppHost support helpers
- clean up AppHost parser and boundary tests
- keep Sonar-related test wiring aligned
Add focused coverage for the smaller AppHost validation records and path helpers.

- extend InstalledAppPathsTest with directory creation and invalid path cases
- add RunningAppSnapshot constructor validation coverage
- add AppManifest constructor validation coverage
Expand the branch-added AppHost API, manifest, and runtime docs to better describe lifecycle expectations, filesystem ownership, and package responsibilities.

Keep the change comment-only and verify the leaf Javadoc task still passes after the wording updates.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 6, 2026

@leumor leumor merged commit 691cb28 into develop Apr 6, 2026
8 checks passed
@leumor leumor deleted the feature/platform-apphost-spotless branch April 6, 2026 12:34
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