Repository navigation
Commit 20a38a8
committed
Phase B/2: workflow audit before the first push, not after
The excalidraw lesson, applied. This repo inherited the boilerplate's
workflows and had never run them; the first push would have run them
against another site.
(a) SCRIPTS. Every script the workflows invoke — network_smoke.py,
smoke_live.py, dev.sh — exists in this tree. Nothing missing.
(b) NAMES AND URLS. cd.yml carried
`SITE_URL: https://boilerplate.2plot.dev` hard-coded. Unguarded, the
inaugural push would have polled ANOTHER SITE's /healthz for fifteen
minutes waiting for a commit it will never serve, failed, then run both
live batteries against it and reported red — a fork failing CD on day one
over a host it does not own. ci.yml's Docker image was still tagged
`dash-docs-boilerplate:ci` ("a fork changes the matrix and the image
name", which this fork had not), and its header described this repo as
the template every satellite copies. Both fixed. The remaining mentions
of boilerplate.2plot.dev now correctly name it as a DIFFERENT site.
(c) THE LIVE HALF IS GUARDED. Everything touching a running host — the
build-match wait and the whole `verify` job — is gated on the repository
variable SITE_URL, with no hard-coded fallback: an empty value IS the
signal that no service exists. A default would silently re-point this
workflow at somebody else's host, which is the defect being fixed.
Pointing it at llms.2plot.dev today would be no better — that domain
still serves the OUTGOING site this migration replaces.
Unguarding takes no workflow edit, twice:
B3 staging — set the repo variable SITE_URL to https://<name>.onrender.com
B5 cutover — change that same variable to https://llms.2plot.dev
Marked B3 TODO in cd.yml's header and at both guarded sites. A dormant
run now prints a notice saying exactly what is skipped and how to bring
it up, so a green-but-inert CD is legible rather than mysterious.
The `environment.url` is omitted rather than evaluated to an empty
string: the first run in this repo's history should not hinge on how
GitHub treats a blank environment URL. B3 restores it with the variable.
Both workflows and dependabot.yml parse.
Phase B/3: the social card is verification-only, and it verifies.
OG_IMAGE_URL is exactly
https://cdn.2plot.ai/github_assets/llms.2plot.dev.png; the object is
live (HTTP 200, image/png, 56,587 bytes) and its real IHDR pixels are
1200x630, matching OG_IMAGE_WIDTH/HEIGHT. Nothing generated, nothing
uploaded.1 parent 194454d commit 20a38a8
2 files changed
Lines changed: 65 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
4 | 29 | | |
5 | 30 | | |
6 | 31 | | |
7 | 32 | | |
8 | | - | |
9 | | - | |
| 33 | + | |
| 34 | + | |
10 | 35 | | |
11 | 36 | | |
12 | 37 | | |
| |||
26 | 51 | | |
27 | 52 | | |
28 | 53 | | |
29 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
30 | 58 | | |
31 | 59 | | |
32 | 60 | | |
| |||
44 | 72 | | |
45 | 73 | | |
46 | 74 | | |
47 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
48 | 80 | | |
49 | 81 | | |
50 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
51 | 88 | | |
52 | 89 | | |
53 | 90 | | |
| |||
62 | 99 | | |
63 | 100 | | |
64 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
65 | 106 | | |
66 | 107 | | |
67 | 108 | | |
| |||
105 | 146 | | |
106 | 147 | | |
107 | 148 | | |
108 | | - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
109 | 155 | | |
110 | 156 | | |
111 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
218 | | - | |
| 219 | + | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| |||
224 | 225 | | |
225 | 226 | | |
226 | 227 | | |
227 | | - | |
| 228 | + | |
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| |||
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
259 | | - | |
| 260 | + | |
260 | 261 | | |
261 | 262 | | |
262 | 263 | | |
| |||
273 | 274 | | |
274 | 275 | | |
275 | 276 | | |
276 | | - | |
277 | | - | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
278 | 280 | | |
279 | 281 | | |
280 | 282 | | |
| |||
0 commit comments