Repository navigation
Run the governance workflow redeploy from the 2.0.8 migration - #36979
Conversation
The 2.0 line carries the triggering-version change, so the 2.0.8 migration redeploys every governance workflow with the same run-once step as 2.1.0, and the 2.0.8 migration stays identical on main and 2.0. 2.1.0 keeps the step for a database already on a 2.1.0 build, whose 2.0.8 data migration does not run again. The step's implementation moves to utils/v208, shared by both versions.
❌ 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 |
…-2-0-8 # Conflicts: # openmetadata-service/src/test/java/org/openmetadata/service/migration/v210/IngestionPipelineMigrationEntryPointTest.java
…-2-0-8 # Conflicts: # docs/decisions/2026-11-02-an-event-triggered-workflow-run-judges-the-change-its-event-made.md # openmetadata-service/src/main/java/org/openmetadata/service/migration/mysql/v209/Migration.java # openmetadata-service/src/test/java/org/openmetadata/service/migration/v210/IngestionPipelineMigrationEntryPointTest.java
…-2-0-8 # Conflicts: # openmetadata-service/src/main/java/org/openmetadata/service/migration/mysql/v208/Migration.java # openmetadata-service/src/main/java/org/openmetadata/service/migration/postgres/v208/Migration.java
Code Review ✅ Approved 1 closed / 1 findings🟡 Medium risk · Redeploying all governance workflows during 2.0.8 upgrades can change execution behavior; failed deployments leave affected workflows on their prior version. Moves the governance workflow redeploy step from the 2.1.0 migration to the 2.0.8 migration, running it after the negated-list step and leaving the 2.1.0 migrations without it. No issues found. ✅ 1 closedClosed: Edge Case: Databases already on 2.1.0 never get the governance workflow redeploy
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 |
…ct edits (#36987) * [2.0] Align task resolution and workflow definition updates with direct edits Port of #36855 and #36979: task resolution takes the checks of the equivalent PATCH, including description and tag task threads resolved through the feed API; workflow definition graph and filter edits need EditAll; an event-triggered run judges the change its event made; the 2.0.8 migration redeploys governance workflows once. * [2.0] Apply the assignee checks to team assignees and tag labels on feed task resolution * [2.0] Run the governance workflow redeploy from a 2.0.9 migration * [2.0] Run the governance workflow redeploy from the 2.0.8 migration
Describe your changes:
The run-once governance workflow redeploy step added to the 2.1.0 migration in #36855 moves to the 2.0.8 migration, the same step on
mainand2.0, after the 2.0.8 negated-list step. The 2.1.0 migrations no longer carry it.WorkflowRedeployMigrationmoves tomigration/utils/v208. It lists workflow definitions and deploys each one; a workflow that fails to deploy is logged at error and the rest still run, as in the 2.0.8 negated-list step.TaskResourceITcarries the approval filing and tag field tests the Align task resolution and workflow definition updates with direct edits #36855 decision record names; the approval filing test also files as a table owner without roles, who holdsEditAllthrough the owner rule.Type of change:
Tests:
WorkflowRedeployEntryPointTest(new, MySQL and Postgres: the v208 entry point rewrites, then redeploys),WorkflowRedeployMigrationTest, all v208 utility tests,IngestionPipelineMigrationEntryPointTest,MigrationWorkflowReprocessingTest— 127 run, 0 failures.TaskResourceIT: 295 run, 0 failures, 24 skipped.Playwright (UI) tests
🤖 Generated with Claude Code