Skip to content

feat(validation): add release-plan cross-field checks - #338

Merged
hdamker merged 4 commits into
camaraproject:mainfrom
hdamker:feat/release-plan-cross-field-validation-session1
Jun 17, 2026
Merged

feat(validation): add release-plan cross-field checks#338
hdamker merged 4 commits into
camaraproject:mainfrom
hdamker:feat/release-plan-cross-field-validation-session1

Conversation

@hdamker

@hdamker hdamker commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

What type of PR is this?

enhancement/feature
tests

What this PR does / why we need it:

Adds release-plan cross-field validation for #232:

  • Adds release_plan_check_only_safe rule metadata so selected release-plan rules still run in check-only mode without relying on release_plan_changed.
  • Adds P-033 release-state gating for release-plan changes by reusing derive-release-state output.
  • Adds P-034 duplicate api_name validation for release-plan.yaml.

P-033 only blocks release-plan changes when an active snapshot branch exists or the derived release state is snapshot-active or draft-ready. A planned Release Issue does not block release-plan changes; its issue number is used only as finding context.

Which issue(s) this PR fixes:

Related to #232

Special notes for reviewers:

Published-history, content-drift, and maintenance-release validation rules are intentionally left for later work.

Additional context

This PR needs to be merged before the second implementation session for #232 can start.

Changelog input

release-note
Adds release-plan cross-field validation for active release-state gating and duplicate `api_name` entries.

Additional documentation

This section can be blank.

docs

)

Add explicit release_plan_check_only_safe metadata so release-plan-safe Python rules survive check-only mode without being tied to release_plan_changed applicability. Reuse derive-release-state outputs for P-033 so release-plan edits are blocked only during active snapshot states, and add P-034 duplicate api_name validation.

This leaves published-history, content-drift, and maintenance-release validation for later sessions.
@hdamker
hdamker requested review from Kevsy and rartych as code owners June 15, 2026 19:25

@rartych rartych left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hdamker
hdamker merged commit 1126c85 into camaraproject:main Jun 17, 2026
8 checks passed
@hdamker
hdamker deleted the feat/release-plan-cross-field-validation-session1 branch June 17, 2026 11:39
@hdamker hdamker mentioned this pull request Jun 19, 2026
12 tasks
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.

3 participants