Repository navigation
Commit ea4dab6
ci: emit diagnostic ::warning:: annotations from sudo-install
The positive cache check landed but is still failing on the runner:
"no new files under \$HOME/.pkgx". To diagnose without log access I
need to surface the relevant state via the annotations API. Add four
warnings that capture, on every run:
- which pkgx the sudo session resolves (the path get_pkgx() returns)
- what new files appeared under /root/.pkgx (shebang's deno cache plus
any cache the inner pkgx made there)
- what new files appeared under \$HOME/.pkgx (the privilege-drop target)
- the first 500 bytes of pkgm.ts's stderr, captured with PKGM_DEBUG=1
so the "is not reachable as <user>" fallback diagnostic surfaces
To be reverted once the failure mode is identified.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1c8cda3 commit ea4dab6
1 file changed
Lines changed: 21 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
130 | 137 | | |
131 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
132 | 151 | | |
133 | 152 | | |
134 | 153 | | |
135 | 154 | | |
136 | 155 | | |
137 | 156 | | |
138 | 157 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | 158 | | |
145 | 159 | | |
146 | 160 | | |
| |||
0 commit comments