Repository navigation
[2.1] Fixes #38297: Route suggestions on unowned assets through every owner to the admins (backport 2.1 #38307, #38475) - #38560
Conversation
…to the admins (#38307) * feat(governance): let an approval task fall back to service and domain owners * feat(governance): route unowned suggestion tasks through every owner to the admins * test(governance): suggestion tasks reach service owners, then admins * fix(governance): look past owners who are the requester in the owner cascade * fix(governance): drop an unworkable remedy from the v211 migration error * test(migrations): list the 2.1.1 Migration classes as exceptions instead of widening the rule (cherry picked from commit b19c2d2)
…tart (#38475) * fix(governance): deploy changed workflows on server start, not in migrations * fix(governance): build the same workflow BPMN in every JVM * docs(decisions): note the one extra deploy after a save that reorders map keys * fix(governance): skip an unreadable workflow instead of deploying none on start * fix(governance): name the workflow skipped as unreadable * fix(governance): log the skipped workflow by its name (cherry picked from commit 3cdf00c)
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🔴 High riskStartup now deploys changed BPMN for every readable stored workflow, which could alter task routing and execution across governance workflows. Backports the suggestion owner fallback to 2.1, routing suggestions on unowned assets through service owners, then domain owners, then admins excluding the requester via an opt-in VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Describe your changes:
Fixes #38297
Backport of #38307 and #38475 to
2.1. They ship together: #38475 changes the 2.1.1 migration that #38307 adds.cascadeOwnersassignee option. A 2.1.1 migration applies the same settings to the storedSuggestionTaskWorkflow.Both commits are cherry-picked with
-x. Every touched file was identical onmain(before each PR) and2.1, except two that2.1does not have:MigrationArchitectureTestand the ADR2026-11-11-a-data-migration-carries-its-own-logic. Their hunks are dropped, and a third commit removes the references to them from the two carried ADRs.Type of change:
Tests:
Run locally on this branch:
SetApprovalAssigneesImplTest(33),SuggestionTaskOwnerFallbackMigrationTest(5),WorkflowBpmnStableAcrossJvmsTest(1),WorkflowDefinitionRepositoryReadableTest(1): 40 passed.Not run locally:
WorkflowTaskAssigneesITandWorkflowStartupDeployIT. They run in the merge queue.