Commit 8f8b671
fix(deploy): make cockpit rebuild detection explicit
Summary:
- Capture dashboard file changes with git diff --name-only before deciding whether to rebuild cockpit.
- Force a cockpit rebuild when the diff cannot be computed instead of silently skipping it.
- Log changed dashboard paths during deploy for auditability.
Rationale:
- The previous deploy skipped cockpit rebuild after a dashboard-only PR, leaving the standalone bundle stale until a manual rebuild.
- Explicit change detection gives deploy logs enough evidence to verify the rebuild decision.
Validation:
- bash -n scripts/deploy.sh
- git diff --check
- git diff --name-only 7b28072..db14ddc -- dashboard/ lists the expected dashboard files
- Cross-model review: no issues after fallback fix
Co-authored-by: Codex <codex@openai.com>1 parent db14ddc commit 8f8b671
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
67 | 74 | | |
68 | 75 | | |
69 | 76 | | |
| |||
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
99 | | - | |
| 106 | + | |
100 | 107 | | |
101 | 108 | | |
102 | 109 | | |
| 110 | + | |
103 | 111 | | |
104 | 112 | | |
105 | 113 | | |
| |||
0 commit comments