Commit 67e0c0c
fix(ci): stop Flask server before uv cache cleanup
The Playwright CI was failing on push events because the background
Flask server (started via uv run flask) was never explicitly stopped.
The setup-uv action post-job cache pruning step would then hang for
5 minutes waiting on UV cache locks held by the orphan process,
failing with exit code 2.
Changes:
- Separate server startup into its own step with PID capture
- Add an always() cleanup step that stops the server before
post-job steps run
- Keep the test step focused on running Playwright tests only
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent be12eda commit 67e0c0c
1 file changed
Lines changed: 15 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
| 85 | + | |
85 | 86 | | |
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | | - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
95 | 108 | | |
96 | 109 | | |
97 | 110 | | |
| |||
0 commit comments