Skip to content

test: DO NOT MERGE — validate dry-run git-ref repin (actions#124)#62

Closed
gethinwebster wants to merge 5 commits into
mainfrom
dev-gethinw-dryrun-selftest-validation
Closed

test: DO NOT MERGE — validate dry-run git-ref repin (actions#124)#62
gethinwebster wants to merge 5 commits into
mainfrom
dev-gethinw-dryrun-selftest-validation

Conversation

@gethinwebster

Copy link
Copy Markdown
Member

⚠️ DO NOT MERGE — validation PR for cloudscape-design/actions#124

Proves that actions#124 (pin the changed package's github:#<ref> deps to the PR commit in the dry-run) actually closes the coverage gap that let build-tools#55 through.

What this PR does

  • Adds a deliberately-broken required peer react-dom: ">=18.0.0". Consumers pin react-dom@^16.14, so this can only ERESOLVE if a consumer resolves build-tools from this PR.
  • Points the dry-run at the actions self-test branch (dry-run.yml@dev-gethinw-dryrun-git-ref-pin-selftest), which carries #124's fix with all nested action refs repointed so the whole chain runs the fix.

Expected result (proof)

  • Consumer dry-run jobs (Build components, collection-hooks, etc.) go RED with ERESOLVE … peer react-dom@">=18.0.0" from @cloudscape-design/build-tools … github:cloudscape-design/build-tools#<this-PR-sha> — the PR sha in the source confirms the repin fired.
  • Against actions@main today the same PR would stay GREEN (consumers resolve build-tools from live #main, which has no such peer) — that's the blind spot #124 fixes.

Delete this branch and the actions self-test branch after validation.

Adds a deliberately-broken required peer (react-dom>=18) that only breaks
consumers if they resolve build-tools from THIS PR, and points the dry-run at
the actions self-test branch. Expected: consumer dry-run jobs go RED with an
ERESOLVE citing this PR's build-tools commit — proving the repin fired.
Against actions@main today this would stay GREEN (consumers resolve #main).
…ild-tools self-build passes and consumers hit the repin
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