Skip to content

ci: check shared installer coordination on PRs - #486

Closed
karthikbekalp wants to merge 1 commit into
aws-deadline:mainlinefrom
karthikbekalp:ci/installer-coordination-check
Closed

karthikbekalp wants to merge 1 commit into
aws-deadline:mainlinefrom
karthikbekalp:ci/installer-coordination-check

Conversation

@karthikbekalp

Copy link
Copy Markdown
Contributor

What was the problem/requirement? (What/Why)

Installer definition changes need explicit confirmation that any corresponding shared Deadline Cloud submitter installer follow-up is handled.

What was the solution? (How)

Call the central static checker from trusted PR events and PR conversation comment events. For XML definition changes under installer/ or install_builder/, it creates or updates one bot comment and accepts /installer-followup done, /installer-followup in-review, or /installer-followup not-needed from the PR author or a maintainer. Unrelated PRs pass without a question.

What is the impact of this change?

The dedicated Installer coordination status fails until a valid confirmation is present. Replies, edits, and deletions update that status on the PR's current head commit. The workflow checks out only trusted central tooling and never executes PR code. The question and its status use fixed public wording without requesting or echoing non-public details, review identifiers, or tracking links.

Depends on aws-deadline/.github#108. Merge the shared workflow first. After this caller runs, configure the Installer coordination commit status as required for mainline to enforce confirmation before merge.

How was this change tested?

Actionlint and zizmor validation for this caller. The shared checker passes all 88 Python 3.13 unit tests, including 30 new tests covering detection, authorised commands, comment reuse, reply edits/deletions, fork-head status updates, and API/posting failures.

Was this change documented?

The shared setup guide documents the commands, event handling, permissions, and required-status setup. The bot comment provides the author-facing instructions; no PR-template checkbox is needed.

Is this a breaking change?

No public package or installer interface changes. The new status can be configured as a required contributor check.

Signed-off-by: Karthik BekalPattathana <133984042+karthikbekalp@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-on-maintainers Waiting on the maintainers to review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant