Commit c974f4c
authored
normalize both infra map in dev/prod mode (#3056)
to be the same as plan command
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Normalize both reconciled and target infrastructure maps before
diffing, and refactor InfrastructureMap::normalize to mutate tables in
place.
>
> - **Planning**:
> - Normalize `reconciled_map` and `target_infra_map` before diffing to
align behavior with remote plan and ensure consistent comparisons.
> - **Infrastructure Map**:
> - Refactor `InfrastructureMap::normalize` to mutate tables in-place
via `values_mut()`.
> - Applies ORDER BY fallback when empty and sets Array columns to
`required=true` without rebuilding the map.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
c27302b. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 9748d76 commit c974f4c
File tree
2 files changed
+18
-20
lines changed- apps/framework-cli/src/framework/core
2 files changed
+18
-20
lines changedLines changed: 14 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2526 | 2526 | | |
2527 | 2527 | | |
2528 | 2528 | | |
2529 | | - | |
2530 | | - | |
2531 | | - | |
2532 | | - | |
2533 | | - | |
2534 | | - | |
2535 | | - | |
2536 | | - | |
2537 | | - | |
2538 | | - | |
| 2529 | + | |
| 2530 | + | |
| 2531 | + | |
| 2532 | + | |
| 2533 | + | |
| 2534 | + | |
| 2535 | + | |
2539 | 2536 | | |
2540 | | - | |
2541 | | - | |
2542 | | - | |
2543 | | - | |
2544 | | - | |
2545 | | - | |
| 2537 | + | |
| 2538 | + | |
| 2539 | + | |
| 2540 | + | |
| 2541 | + | |
2546 | 2542 | | |
2547 | | - | |
2548 | | - | |
2549 | | - | |
2550 | | - | |
| 2543 | + | |
| 2544 | + | |
2551 | 2545 | | |
2552 | 2546 | | |
2553 | 2547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
412 | 416 | | |
413 | 417 | | |
414 | 418 | | |
| |||
0 commit comments