Skip to content

Build every declared SDK profile automatically - #195

Open
devnoname120 wants to merge 2 commits into
vitasdk:fix/vdpm-reads-its-own-channelfrom
devnoname120:fix/announce-all-sdk-profiles
Open

devnoname120 wants to merge 2 commits into
vitasdk:fix/vdpm-reads-its-own-channelfrom
devnoname120:fix/announce-all-sdk-profiles

Conversation

@devnoname120

Copy link
Copy Markdown
Member

Summary

  • derive automatic SDK-core build fan-out from the canonical VITASDK_PROFILES declaration
  • send both the exact buildscripts revision and profile in every run_build dispatch
  • keep attempting the remaining profiles when one dispatch fails, then fail the announcement job
  • add regression coverage with a third future profile so another world cannot be silently omitted

Root cause

The automatic announcement predates the second SDK world and sends only buildscripts_ref. Autobuilds therefore resolves every announcement to DEFAULT_PROFILE=vita. The sole vita_softfp core was produced by a manual workflow dispatch on 2026-08-28; no later automatic run ever requested that profile.

This change makes the profile declaration itself the source of dispatch cardinality. Adding another profile to cmake/Profiles.cmake automatically adds another core-build request without editing the workflow.

Stack

This PR targets the head branch of #194. A newly rebuilt softfp core also needs #194's newer embedded vdpm, because the current one cannot read the schema-2 channel that identifies the softfp world. Merging this into #194 keeps the first automatic softfp rebuild coherent. If #194 reaches master first, this PR can be retargeted without changing its commit.

Verification

  • red/green reproduction: the new test fails against the previous single-dispatch workflow
  • all CMake script checks
  • all protocol tests
  • all locally applicable CI script tests
  • python3 -m py_compile scripts/announce-builds.py scripts/describe.py
  • git diff --check

The Windows bootstrap test was not runnable locally because this workspace has no pwsh; pull-request CI covers that environment.

The revision announcement named no profile, so autobuilds always selected its default vita world. Derive the profiles from the same declaration describe validates and dispatch one build for each, with a regression test that adds a future world.
A partial rerun retains artifacts from earlier attempts, including the grouped release tree itself. Restrict grouping to stage artifacts and cover the filter contract so a rerun cannot ingest duplicate packages.
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