Skip to content

Conversation

@jglick
Copy link
Member

@jglick jglick commented Nov 13, 2025

Requires jenkinsci/branch-api-plugin#567 to avoid regressions in multibranch project event dleivery.

compare #19, #37, #41

The design of Jenkins configuration, particularly when configuration-as-code is involved, expects persisted fields to have predictable values. Generating a random value for a field in some nested object to identify it in the future is not reliable. (The most recent example was anomalous behavior in a CloudBees CI HA controller, but there have historically been other problems.) Better would be to actually delete the id field and find a different system for dispatching webhook events and other uses, but this looked like a much bigger change that would be difficult to make compatible from both a code and saved settings perspective.

@jglick jglick added breaking and removed bug labels Nov 13, 2025
@jglick jglick requested a review from dwnusbaum November 13, 2025 22:55
@jglick jglick marked this pull request as ready for review November 18, 2025 13:05
@jglick jglick requested a review from a team as a code owner November 18, 2025 13:05
@jglick
Copy link
Member Author

jglick commented Nov 18, 2025

I will plan to merge this tomorrow, to make sure I have time to get jenkinsci/branch-api-plugin#567 released as well, since I do not think it is safe for people to update to just this one.

@jglick jglick merged commit 54bc43b into jenkinsci:master Nov 19, 2025
18 checks passed
@jglick jglick deleted the SCMSource.id branch November 19, 2025 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants