-
Notifications
You must be signed in to change notification settings - Fork 381
Fix(cicd_bot): Don't truncate backfill model list #4915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -298,7 +298,7 @@ def test_merge_pr_has_non_breaking_change( | |
| assert GithubCheckConclusion(prod_plan_preview_checks_runs[2]["conclusion"]).is_success | ||
|
|
||
| expected_prod_plan_directly_modified_summary = """**Directly Modified:** | ||
| * `sushi.waiter_revenue_by_day` (Non-breaking) | ||
| * `memory.sushi.waiter_revenue_by_day` (Non-breaking) | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a side effect of setting However, it does have the effect of making the output of this step more closely align with the |
||
|
|
||
| ```diff | ||
| --- | ||
|
|
@@ -318,10 +318,10 @@ def test_merge_pr_has_non_breaking_change( | |
| ON o.id = oi.order_id AND o.event_date = oi.event_date | ||
| ``` | ||
| Indirectly Modified Children: | ||
| - `sushi.top_waiters` (Indirect Non-breaking) | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking) | ||
| """ | ||
| expected_prod_plan_indirectly_modified_summary = """**Indirectly Modified:** | ||
| - `sushi.top_waiters` (Indirect Non-breaking) | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking) | ||
| """ | ||
|
|
||
| assert prod_plan_preview_checks_runs[2]["output"]["title"] == "Prod Plan Preview" | ||
|
|
@@ -509,7 +509,7 @@ def test_merge_pr_has_non_breaking_change_diff_start( | |
| assert prod_plan_preview_checks_runs[2]["output"]["title"] == "Prod Plan Preview" | ||
|
|
||
| expected_prod_plan_directly_modified_summary = """**Directly Modified:** | ||
| * `sushi.waiter_revenue_by_day` (Non-breaking) | ||
| * `memory.sushi.waiter_revenue_by_day` (Non-breaking) | ||
|
|
||
| ```diff | ||
| --- | ||
|
|
@@ -529,10 +529,10 @@ def test_merge_pr_has_non_breaking_change_diff_start( | |
| ON o.id = oi.order_id AND o.event_date = oi.event_date | ||
| ``` | ||
| Indirectly Modified Children: | ||
| - `sushi.top_waiters` (Indirect Non-breaking) | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking) | ||
| """ | ||
| expected_prod_plan_indirectly_modified_summary = """**Indirectly Modified:** | ||
| - `sushi.top_waiters` (Indirect Non-breaking) | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking) | ||
| """ | ||
|
|
||
| prod_plan_preview_summary = prod_plan_preview_checks_runs[2]["output"]["summary"] | ||
|
|
@@ -1032,7 +1032,7 @@ def test_no_merge_since_no_deploy_signal( | |
| assert GithubCheckConclusion(prod_plan_preview_checks_runs[2]["conclusion"]).is_success | ||
|
|
||
| expected_prod_plan_directly_modified_summary = """**Directly Modified:** | ||
| * `sushi.waiter_revenue_by_day` (Non-breaking) | ||
| * `memory.sushi.waiter_revenue_by_day` (Non-breaking) | ||
|
|
||
| ```diff | ||
| --- | ||
|
|
@@ -1052,10 +1052,10 @@ def test_no_merge_since_no_deploy_signal( | |
| ON o.id = oi.order_id AND o.event_date = oi.event_date | ||
| ``` | ||
| Indirectly Modified Children: | ||
| - `sushi.top_waiters` (Indirect Non-breaking)""" | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking)""" | ||
|
|
||
| expected_prod_plan_indirectly_modified_summary = """**Indirectly Modified:** | ||
| - `sushi.top_waiters` (Indirect Non-breaking) | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking) | ||
| """ | ||
|
|
||
| assert prod_plan_preview_checks_runs[2]["output"]["title"] == "Prod Plan Preview" | ||
|
|
@@ -1232,7 +1232,7 @@ def test_no_merge_since_no_deploy_signal_no_approvers_defined( | |
| assert GithubCheckStatus(prod_plan_preview_checks_runs[2]["status"]).is_completed | ||
| assert GithubCheckConclusion(prod_plan_preview_checks_runs[2]["conclusion"]).is_success | ||
| expected_prod_plan_directly_modified_summary = """**Directly Modified:** | ||
| * `sushi.waiter_revenue_by_day` (Non-breaking) | ||
| * `memory.sushi.waiter_revenue_by_day` (Non-breaking) | ||
|
|
||
| ```diff | ||
| --- | ||
|
|
@@ -1252,10 +1252,10 @@ def test_no_merge_since_no_deploy_signal_no_approvers_defined( | |
| ON o.id = oi.order_id AND o.event_date = oi.event_date | ||
| ``` | ||
| Indirectly Modified Children: | ||
| - `sushi.top_waiters` (Indirect Non-breaking) | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking) | ||
| """ | ||
| expected_prod_plan_indirectly_modified_summary = """**Indirectly Modified:** | ||
| - `sushi.top_waiters` (Indirect Non-breaking) | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking) | ||
| """ | ||
| assert prod_plan_preview_checks_runs[2]["output"]["title"] == "Prod Plan Preview" | ||
| prod_plan_preview_summary = prod_plan_preview_checks_runs[2]["output"]["summary"] | ||
|
|
@@ -1414,7 +1414,7 @@ def test_deploy_comment_pre_categorized( | |
| assert GithubCheckStatus(prod_plan_preview_checks_runs[2]["status"]).is_completed | ||
| assert GithubCheckConclusion(prod_plan_preview_checks_runs[2]["conclusion"]).is_success | ||
| expected_prod_plan_directly_modified_summary = """**Directly Modified:** | ||
| * `sushi.waiter_revenue_by_day` (Non-breaking) | ||
| * `memory.sushi.waiter_revenue_by_day` (Non-breaking) | ||
|
|
||
| ```diff | ||
| --- | ||
|
|
@@ -1434,10 +1434,10 @@ def test_deploy_comment_pre_categorized( | |
| ON o.id = oi.order_id AND o.event_date = oi.event_date | ||
| ``` | ||
| Indirectly Modified Children: | ||
| - `sushi.top_waiters` (Indirect Non-breaking) | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking) | ||
| """ | ||
| expected_prod_plan_indirectly_modified_summary = """**Indirectly Modified:** | ||
| - `sushi.top_waiters` (Indirect Non-breaking) | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking) | ||
| """ | ||
| assert prod_plan_preview_checks_runs[2]["output"]["title"] == "Prod Plan Preview" | ||
| prod_plan_preview_summary = prod_plan_preview_checks_runs[2]["output"]["summary"] | ||
|
|
@@ -1781,7 +1781,7 @@ def test_overlapping_changes_models( | |
| assert GithubCheckConclusion(prod_plan_preview_checks_runs[2]["conclusion"]).is_success | ||
|
|
||
| expected_prod_plan_directly_modified_summary = """**Directly Modified:** | ||
| * `sushi.customers` (Non-breaking) | ||
| * `memory.sushi.customers` (Non-breaking) | ||
|
|
||
| ```diff | ||
| --- | ||
|
|
@@ -1801,23 +1801,23 @@ def test_overlapping_changes_models( | |
| WITH current_marketing AS ( | ||
| ``` | ||
| Indirectly Modified Children: | ||
| - `sushi.active_customers` (Indirect Non-breaking) | ||
| - `sushi.count_customers_active` (Indirect Non-breaking) | ||
| - `sushi.count_customers_inactive` (Indirect Non-breaking) | ||
| - `sushi.waiter_as_customer_by_day` (Indirect Breaking) | ||
| - `memory.sushi.active_customers` (Indirect Non-breaking) | ||
| - `memory.sushi.count_customers_active` (Indirect Non-breaking) | ||
| - `memory.sushi.count_customers_inactive` (Indirect Non-breaking) | ||
| - `memory.sushi.waiter_as_customer_by_day` (Indirect Breaking) | ||
|
|
||
|
|
||
| * `sushi.waiter_names` (Breaking) | ||
| * `memory.sushi.waiter_names` (Breaking) | ||
|
|
||
|
|
||
| Indirectly Modified Children: | ||
| - `sushi.waiter_as_customer_by_day` (Indirect Breaking)""" | ||
| - `memory.sushi.waiter_as_customer_by_day` (Indirect Breaking)""" | ||
|
|
||
| expected_prod_plan_indirectly_modified_summary = """**Indirectly Modified:** | ||
| - `sushi.active_customers` (Indirect Non-breaking) | ||
| - `sushi.count_customers_active` (Indirect Non-breaking) | ||
| - `sushi.count_customers_inactive` (Indirect Non-breaking) | ||
| - `sushi.waiter_as_customer_by_day` (Indirect Breaking)""" | ||
| - `memory.sushi.active_customers` (Indirect Non-breaking) | ||
| - `memory.sushi.count_customers_active` (Indirect Non-breaking) | ||
| - `memory.sushi.count_customers_inactive` (Indirect Non-breaking) | ||
| - `memory.sushi.waiter_as_customer_by_day` (Indirect Breaking)""" | ||
|
|
||
| assert prod_plan_preview_checks_runs[2]["output"]["title"] == "Prod Plan Preview" | ||
| prod_plan_preview_summary = prod_plan_preview_checks_runs[2]["output"]["summary"] | ||
|
|
@@ -1993,7 +1993,7 @@ def test_pr_add_model( | |
| ) | ||
|
|
||
| expected_prod_plan_summary = """**Added Models:** | ||
| - `sushi.cicd_test_model` (Breaking)""" | ||
| - `memory.sushi.cicd_test_model` (Breaking)""" | ||
|
|
||
| assert "SQLMesh - Prod Plan Preview" in controller._check_run_mapping | ||
| prod_plan_preview_checks_runs = controller._check_run_mapping[ | ||
|
|
@@ -2144,7 +2144,7 @@ def test_pr_delete_model( | |
| ) | ||
|
|
||
| expected_prod_plan_summary = """**Removed Models:** | ||
| - `sushi.top_waiters` (Breaking)""" | ||
| - `memory.sushi.top_waiters` (Breaking)""" | ||
|
|
||
| assert "SQLMesh - Prod Plan Preview" in controller._check_run_mapping | ||
| prod_plan_preview_checks_runs = controller._check_run_mapping[ | ||
|
|
@@ -2330,7 +2330,7 @@ def test_has_required_approval_but_not_base_branch( | |
| assert GithubCheckStatus(prod_plan_preview_checks_runs[2]["status"]).is_completed | ||
| assert GithubCheckConclusion(prod_plan_preview_checks_runs[2]["conclusion"]).is_success | ||
| expected_prod_plan_directly_modified_summary = """**Directly Modified:** | ||
| * `sushi.waiter_revenue_by_day` (Non-breaking) | ||
| * `memory.sushi.waiter_revenue_by_day` (Non-breaking) | ||
|
|
||
| ```diff | ||
| --- | ||
|
|
@@ -2350,10 +2350,10 @@ def test_has_required_approval_but_not_base_branch( | |
| ON o.id = oi.order_id AND o.event_date = oi.event_date | ||
| ``` | ||
| Indirectly Modified Children: | ||
| - `sushi.top_waiters` (Indirect Non-breaking)""" | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking)""" | ||
|
|
||
| expected_prod_plan_indirectly_modified_summary = """**Indirectly Modified:** | ||
| - `sushi.top_waiters` (Indirect Non-breaking)""" | ||
| - `memory.sushi.top_waiters` (Indirect Non-breaking)""" | ||
|
|
||
| assert prod_plan_preview_checks_runs[2]["output"]["title"] == "Prod Plan Preview" | ||
| prod_plan_preview_summary = prod_plan_preview_checks_runs[2]["output"]["summary"] | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.