Skip to content

Export app profiles in publish metadata#399

Merged
wolfy-j merged 1 commit into
mainfrom
fix/publish-app-profiles
Jun 27, 2026
Merged

Export app profiles in publish metadata#399
wolfy-j merged 1 commit into
mainfrom
fix/publish-app-profiles

Conversation

@wolfy-j

@wolfy-j wolfy-j commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add module manifest runtime profile publish policy (publish.profiles.enabled and publish.profiles.source)
  • export all root app profiles from .wippy.yaml or the configured profile source into .wapp runtime.profiles metadata during publish
  • reject public wippy.yaml metadata.runtime.profiles definitions so profile definitions have one canonical source
  • reject split profile vars between the profile source and wippy.yaml metadata, and keep profile selection as a run/test-time concern
  • ignore dependency pack profiles when loading multi-pack runtime defaults so profiles remain app-scoped

Semantics

Publishing does not choose or bake a profile. It uploads all app profiles from the configured profile source as artifact metadata. Consumers still select one later with wippy run --profile <name> / wippy test --profile <name>, layered below local .wippy.yaml and CLI overrides.

Tests

  • go test -count=1 ./boot/deps/config ./cmd/wippy/cmd
  • ./test.sh
  • go test -count=1 ./...

@wolfy-j wolfy-j requested a review from skhaz June 27, 2026 21:12
@wolfy-j wolfy-j force-pushed the fix/publish-app-profiles branch from c46d697 to 7ee8275 Compare June 27, 2026 21:18
@wolfy-j wolfy-j force-pushed the fix/publish-app-profiles branch from 7ee8275 to 26615f3 Compare June 27, 2026 21:30
@wolfy-j wolfy-j merged commit 6d65f1b into main Jun 27, 2026
4 checks passed
@wolfy-j wolfy-j deleted the fix/publish-app-profiles branch June 27, 2026 21:40
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.

2 participants