Commit 1ca6a05
Michael Johns
ci(package-geobrix-artifacts): fail-fast preflights for LFS + lockfile
Two operator-facing preflight steps that surface actionable errors
instead of opaque failures, motivated by the two failed runs of this
workflow against v0.3.0:
1. LFS preflight. actions/checkout@v6 with `lfs: true` errors out with
a bare `Object does not exist on the server: [404]` when an LFS
pointer is committed but the bytes were never uploaded to GitHub
LFS storage. Split the LFS handling out of actions/checkout (now
`lfs: false`) and run `git lfs pull` in a follow-up step that prints
the exact `git lfs push origin <branch-or-tag> --all` recovery
command on failure. Common when a repo is the first to use LFS at
the org level and storage hasn't been primed.
2. Lockfile preflight. The hash-pinned wheel-build step
`pip install --require-hashes -r python/geobrix/requirements-build.txt`
previously errored with pip's generic `Could not open requirements
file` when the lockfile was missing. New step checks for the file
up front and prints the `uv pip compile --generate-hashes` command
to regenerate it.
Co-authored-by: Isaac1 parent 96b12dd commit 1ca6a05
1 file changed
Lines changed: 59 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
78 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
79 | 111 | | |
80 | 112 | | |
81 | 113 | | |
| |||
86 | 118 | | |
87 | 119 | | |
88 | 120 | | |
89 | | - | |
| 121 | + | |
90 | 122 | | |
91 | 123 | | |
92 | 124 | | |
93 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
94 | 150 | | |
95 | 151 | | |
96 | 152 | | |
| |||
0 commit comments