Commit 81a95eb
committed
fix(bay): eagerly capture release ORM attributes before session expiry
Load release.id and release.stage.value into local variables before
calling exec_browser_batch, which triggers ensure_running and may
rollback/commit the shared DB session, expiring all attached ORM
objects and causing MissingGreenlet errors on later access.1 parent d2cc8bc commit 81a95eb
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
597 | 597 | | |
598 | 598 | | |
599 | 599 | | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
600 | 606 | | |
601 | 607 | | |
602 | 608 | | |
| |||
652 | 658 | | |
653 | 659 | | |
654 | 660 | | |
655 | | - | |
656 | | - | |
| 661 | + | |
| 662 | + | |
657 | 663 | | |
658 | 664 | | |
659 | 665 | | |
| |||
675 | 681 | | |
676 | 682 | | |
677 | 683 | | |
678 | | - | |
| 684 | + | |
679 | 685 | | |
680 | 686 | | |
681 | 687 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments