Commit a77df3f
committed
fix(webapp): address review feedback on env default region
- Scope RegionsPresenter env lookup to the resolved project (+ archivedAt: null)
so a mismatched env id can't surface a default from another project.
- Index RuntimeEnvironment.defaultWorkerGroupId via a separate CONCURRENTLY
migration to keep FK checks off a seq scan.1 parent 2e3f817 commit a77df3f
3 files changed
Lines changed: 5 additions & 1 deletion
File tree
- apps/webapp/app/presenters/v3
- internal-packages/database/prisma
- migrations/20260609142055_add_environment_default_worker_group_index
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
| 404 | + | |
404 | 405 | | |
405 | 406 | | |
406 | 407 | | |
| |||
0 commit comments