@radicaltools/cli 0.5.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -7
- package/dist/{chunk-J5ULJOOY.js → chunk-SBQRTX3Y.js} +1 -1
- package/dist/{dist-TKLLLHVM.js → dist-LSHMW73I.js} +2 -2
- package/dist/hub-catalogue/concern/concern-accessibility.radical +871 -0
- package/dist/hub-catalogue/concern/concern-ci-cd-pipeline.radical +975 -0
- package/dist/hub-catalogue/concern/concern-frontend-stack.radical +84 -311
- package/dist/hub-catalogue/concern/concern-mobile-performance.radical +710 -0
- package/dist/hub-catalogue/concern/concern-release-versioning.radical +294 -57
- package/dist/hub-catalogue/concern/concern-test-strategy.radical +1 -1
- package/dist/hub-catalogue/concern/concern-usability.radical +1266 -0
- package/dist/index.js +1246 -339
- package/dist/{pdfjs-SWTQBTNZ.js → pdfjs-WWNLOMK2.js} +1 -1
- package/dist/{undici-ZXQJUQQA.js → undici-53QU2XSN.js} +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"id": "concern-release-versioning",
|
|
4
4
|
"category": "concern",
|
|
5
5
|
"name": "Release and versioning",
|
|
6
|
-
"description": "How a release of the element is named, described, approved and supported: the version scheme, where the release notes come from, which release lines get security fixes,
|
|
6
|
+
"description": "How a release of the element is named, described, approved and supported: the version scheme, where the release notes come from, which release lines get security fixes, who decides that a release goes out, and where the running element says which release it is. The snippets assume a GitHub repository, GitHub releases and the GitHub CLI.",
|
|
7
7
|
"tags": [
|
|
8
8
|
"sdlc",
|
|
9
9
|
"releases",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"semver",
|
|
12
12
|
"calver",
|
|
13
13
|
"changelog",
|
|
14
|
-
"release notes"
|
|
14
|
+
"release notes",
|
|
15
|
+
"version endpoint"
|
|
15
16
|
],
|
|
16
17
|
"requiredMetamodel": "c4-ddd-governance-builtin",
|
|
17
18
|
"concern": {
|
|
@@ -68,6 +69,14 @@
|
|
|
68
69
|
{
|
|
69
70
|
"title": "GitHub Docs: Deployments and environments (required reviewers)",
|
|
70
71
|
"url": "https://docs.github.com/en/actions/reference/workflows-and-actions/deployments-and-environments"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"title": "RFC 6648, Deprecating the \"X-\" Prefix and Similar Constructs in Application Protocols",
|
|
75
|
+
"url": "https://www.rfc-editor.org/rfc/rfc6648"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"title": "Playwright: Assertions",
|
|
79
|
+
"url": "https://playwright.dev/docs/test-assertions"
|
|
71
80
|
}
|
|
72
81
|
],
|
|
73
82
|
"templateParams": [
|
|
@@ -157,6 +166,30 @@
|
|
|
157
166
|
}
|
|
158
167
|
]
|
|
159
168
|
},
|
|
169
|
+
{
|
|
170
|
+
"key": "SHOWN",
|
|
171
|
+
"title": "Version shown",
|
|
172
|
+
"label": "Where does the running element say which version it is?",
|
|
173
|
+
"hint": "GET /version answers for every element, so that the deploy job can confirm what runs; the question is who else needs to see it. A person reporting a problem reads the interface, an operator a response or a log line, and while several versions run at once (a canary, blue-green, several regions) only a response or a log line tells which one served a request.",
|
|
174
|
+
"defaultValue": "ui",
|
|
175
|
+
"options": [
|
|
176
|
+
{
|
|
177
|
+
"value": "ui",
|
|
178
|
+
"label": "in its interface (the footer or the About page) and at GET /version",
|
|
179
|
+
"description": "The footer of every page, or the About page, shows the version and the short commit, from the same values GET /version answers with, and a browser test after every deploy compares them with the build deployed. Pick it for anything with a user interface whose users or support need to say which version they see: a web app, an admin console, a desktop or mobile app."
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"value": "endpoint",
|
|
183
|
+
"label": "at GET /version only",
|
|
184
|
+
"description": "Only the endpoint (or /version.json for a static web app) answers. Pick it for an API, a worker or a service with no interface of its own, where the people who ask are operators with a terminal."
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"value": "everywhere",
|
|
188
|
+
"label": "in its interface, at GET /version, in a response header and in every log line",
|
|
189
|
+
"description": "The interface and the endpoint as with the first answer, plus the headers App-Version and App-Commit on every HTTP response and the fields version and commit on every log line. Pick it for an element with an interface that runs in several versions at once (a canary, blue-green, several regions), where a response or a log line has to say which version produced it."
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
},
|
|
160
193
|
{
|
|
161
194
|
"key": "RELEASE_HOURS",
|
|
162
195
|
"label": "Within how many hours must a merged change be in a release? (automatic releases only)",
|
|
@@ -191,7 +224,7 @@
|
|
|
191
224
|
"y": 0,
|
|
192
225
|
"kind": "brief",
|
|
193
226
|
"source": "Hub concern pack: Release and versioning",
|
|
194
|
-
"description": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
227
|
+
"description": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
195
228
|
},
|
|
196
229
|
{
|
|
197
230
|
"id": "req-version-visible",
|
|
@@ -203,12 +236,58 @@
|
|
|
203
236
|
"action": "answer GET /version (a /version.json file for a web app) with the version it was released as (its commit SHA where builds carry no version number) and the full SHA of the commit it was built from, so that the deploy job can confirm both within 90 seconds of every deploy",
|
|
204
237
|
"rationale": "An incident starts with \"which build is running?\"; a build that reports its own identity answers it in one request and ties what runs to the source it came from (Google SRE book, Release Engineering: every package labelled with its build ID)."
|
|
205
238
|
},
|
|
239
|
+
{
|
|
240
|
+
"id": "req-version-shown",
|
|
241
|
+
"type": "requirement",
|
|
242
|
+
"label": "Interface names the running build",
|
|
243
|
+
"x": 260,
|
|
244
|
+
"y": 130,
|
|
245
|
+
"ears_type": "ubiquitous",
|
|
246
|
+
"action": "show in the footer of every page, or on its About page, the version it was released as and the first 7 characters of its commit, in an element marked data-testid=\"app-version\" whose data-version and data-commit attributes hold both in full, filled from the same build values that GET /version answers with",
|
|
247
|
+
"rationale": "The people who report a problem see the interface, not the endpoint; a version they can read and quote ties their report to the build that served it, and one source for the interface and the endpoint keeps the two from disagreeing (Google SRE book, Release Engineering: every package labelled with its build ID).",
|
|
248
|
+
"hubWhen": {
|
|
249
|
+
"SHOWN": [
|
|
250
|
+
"ui",
|
|
251
|
+
"everywhere"
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"id": "req-version-header",
|
|
257
|
+
"type": "requirement",
|
|
258
|
+
"label": "Every response names its build",
|
|
259
|
+
"x": 260,
|
|
260
|
+
"y": 260,
|
|
261
|
+
"ears_type": "ubiquitous",
|
|
262
|
+
"action": "answer every HTTP request, error responses included, with the headers App-Version and App-Commit holding the version it was released as and the full SHA of its commit",
|
|
263
|
+
"rationale": "While several versions serve traffic at once, a response that names its version tells which one served it, without access to the servers; a header without the X- prefix follows RFC 6648 (Google SRE book, Release Engineering).",
|
|
264
|
+
"hubWhen": {
|
|
265
|
+
"SHOWN": [
|
|
266
|
+
"everywhere"
|
|
267
|
+
]
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"id": "req-version-logs",
|
|
272
|
+
"type": "requirement",
|
|
273
|
+
"label": "Every log line names its build",
|
|
274
|
+
"x": 260,
|
|
275
|
+
"y": 390,
|
|
276
|
+
"ears_type": "ubiquitous",
|
|
277
|
+
"action": "write the version it was released as and the full SHA of its commit as the fields version and commit of every log line it writes",
|
|
278
|
+
"rationale": "A log line that names its build separates the old version's errors from the new one's during a rollout and after a rollback, without matching timestamps against deploys (Google SRE book, Release Engineering).",
|
|
279
|
+
"hubWhen": {
|
|
280
|
+
"SHOWN": [
|
|
281
|
+
"everywhere"
|
|
282
|
+
]
|
|
283
|
+
}
|
|
284
|
+
},
|
|
206
285
|
{
|
|
207
286
|
"id": "req-semver",
|
|
208
287
|
"type": "requirement",
|
|
209
288
|
"label": "Tags are semantic versions",
|
|
210
289
|
"x": 260,
|
|
211
|
-
"y":
|
|
290
|
+
"y": 520,
|
|
212
291
|
"ears_type": "ubiquitous",
|
|
213
292
|
"action": "tag every release v followed by a valid Semantic Versioning 2.0.0 version (MAJOR.MINOR.PATCH with an optional pre-release suffix), and never publish two releases with the same version",
|
|
214
293
|
"rationale": "Tools compare versions only when they follow the grammar, and a version published twice means two different things (Semantic Versioning 2.0.0, items 2 and 3).",
|
|
@@ -223,7 +302,7 @@
|
|
|
223
302
|
"type": "requirement",
|
|
224
303
|
"label": "Number matches the changes",
|
|
225
304
|
"x": 260,
|
|
226
|
-
"y":
|
|
305
|
+
"y": 650,
|
|
227
306
|
"ears_type": "ubiquitous",
|
|
228
307
|
"action": "raise MAJOR for a release with a breaking change (MINOR while MAJOR is 0), MINOR for one with new functionality or a deprecation and nothing breaking, and PATCH for one with fixes only, each by exactly one step from the previous version",
|
|
229
308
|
"rationale": "The number is a promise to everyone who upgrades: a breaking change in a minor or patch release breaks them without warning, and a deprecation is announced by a minor release (Semantic Versioning 2.0.0, items 4, 6, 7 and 8).",
|
|
@@ -238,7 +317,7 @@
|
|
|
238
317
|
"type": "requirement",
|
|
239
318
|
"label": "Tags are calendar versions",
|
|
240
319
|
"x": 260,
|
|
241
|
-
"y":
|
|
320
|
+
"y": 780,
|
|
242
321
|
"ears_type": "ubiquitous",
|
|
243
322
|
"action": "tag every release vYYYY.M.MICRO, where YYYY.M is the UTC year and month in which the line's first release (MICRO 0) is published, the month without a leading zero, and MICRO counts the line's later releases without gaps; a release with new functionality, a deprecation or a breaking change starts a new line",
|
|
244
323
|
"rationale": "The date tells users how old a line is; a month without a leading zero keeps the number valid for semantic-versioning tools, and keeping fixes on their line keeps the date honest (Calendar Versioning).",
|
|
@@ -253,7 +332,7 @@
|
|
|
253
332
|
"type": "requirement",
|
|
254
333
|
"label": "Published releases never change",
|
|
255
334
|
"x": 260,
|
|
256
|
-
"y":
|
|
335
|
+
"y": 910,
|
|
257
336
|
"ears_type": "ubiquitous",
|
|
258
337
|
"action": "publish every release as an immutable GitHub release, so that its tag cannot be moved or deleted and its assets cannot be replaced, and ship any correction as a new version",
|
|
259
338
|
"rationale": "A release that can change after publication is no longer the one its users tested and installed (Semantic Versioning 2.0.0, item 3; GitHub Docs, Immutable releases).",
|
|
@@ -269,7 +348,7 @@
|
|
|
269
348
|
"type": "requirement",
|
|
270
349
|
"label": "Builds named by their commit",
|
|
271
350
|
"x": 260,
|
|
272
|
-
"y":
|
|
351
|
+
"y": 1040,
|
|
273
352
|
"ears_type": "ubiquitous",
|
|
274
353
|
"action": "tag every image with the full SHA of the commit it was built from, reference it in the deployment by that tag or by digest and never by a mutable tag such as latest, record every production deploy as a GitHub deployment of a commit on main, and create no version tags",
|
|
275
354
|
"rationale": "Without version numbers the commit is the version; a mutable tag makes it impossible to say afterwards what ran (Google SRE book, Release Engineering: builds tied to identifiers).",
|
|
@@ -284,7 +363,7 @@
|
|
|
284
363
|
"type": "requirement",
|
|
285
364
|
"label": "Notes list every change",
|
|
286
365
|
"x": 260,
|
|
287
|
-
"y":
|
|
366
|
+
"y": 1170,
|
|
288
367
|
"ears_type": "event-driven",
|
|
289
368
|
"trigger": "a release is published",
|
|
290
369
|
"action": "list in its notes every feat, fix and perf commit merged since the previous release, each with its pull request number or its short commit SHA",
|
|
@@ -304,7 +383,7 @@
|
|
|
304
383
|
"type": "requirement",
|
|
305
384
|
"label": "Changelog line with every change",
|
|
306
385
|
"x": 260,
|
|
307
|
-
"y":
|
|
386
|
+
"y": 1300,
|
|
308
387
|
"ears_type": "unwanted-behaviour",
|
|
309
388
|
"unwanted_condition": "a pull request changes code under src/ without adding an entry under Unreleased in CHANGELOG.md and without the skip-changelog label",
|
|
310
389
|
"action": "refuse the merge, and accept under Unreleased only the headings Added, Changed, Deprecated, Removed, Fixed and Security, and as release headings only ## [version] - YYYY-MM-DD",
|
|
@@ -324,7 +403,7 @@
|
|
|
324
403
|
"type": "requirement",
|
|
325
404
|
"label": "One release label per pull request",
|
|
326
405
|
"x": 260,
|
|
327
|
-
"y":
|
|
406
|
+
"y": 1430,
|
|
328
407
|
"ears_type": "unwanted-behaviour",
|
|
329
408
|
"unwanted_condition": "a pull request carries none, or more than one, of the labels breaking-change, feature, deprecation, fix and internal",
|
|
330
409
|
"action": "refuse the merge until it carries exactly one, so that the generated notes put every merged pull request in one category",
|
|
@@ -344,7 +423,7 @@
|
|
|
344
423
|
"type": "requirement",
|
|
345
424
|
"label": "Only the newest line is supported",
|
|
346
425
|
"x": 260,
|
|
347
|
-
"y":
|
|
426
|
+
"y": 1560,
|
|
348
427
|
"ears_type": "ubiquitous",
|
|
349
428
|
"action": "release fixes only on the newest release line, publish nothing on an older line after a newer line's first release, and list only the newest line as supported in SECURITY.md",
|
|
350
429
|
"rationale": "Users must know which releases still get fixes; one supported line is a promise the team can keep, and a fix is always a new version on it (GitHub Docs, Adding a security policy; Semantic Versioning 2.0.0, item 3).",
|
|
@@ -363,7 +442,7 @@
|
|
|
363
442
|
"type": "requirement",
|
|
364
443
|
"label": "Newest lines supported, each with its branch",
|
|
365
444
|
"x": 260,
|
|
366
|
-
"y":
|
|
445
|
+
"y": 1690,
|
|
367
446
|
"ears_type": "ubiquitous",
|
|
368
447
|
"action": "list exactly the newest {{LTS_LINES}} release lines as supported in SECURITY.md, keep a maintenance branch release/<line>.x for each of them but the newest, and publish nothing on a line after it has left support",
|
|
369
448
|
"rationale": "Customers who cannot upgrade at once must know which lines get fixes; a line is kept on a branch cut from its release, which takes fixes and nothing else (Google SRE book, Release Engineering: release branches; GitHub Docs, Adding a security policy).",
|
|
@@ -382,7 +461,7 @@
|
|
|
382
461
|
"type": "requirement",
|
|
383
462
|
"label": "Security fixes reach every supported line",
|
|
384
463
|
"x": 260,
|
|
385
|
-
"y":
|
|
464
|
+
"y": 1820,
|
|
386
465
|
"ears_type": "event-driven",
|
|
387
466
|
"trigger": "a pull request labelled security is merged to main",
|
|
388
467
|
"action": "cherry-pick its fix with git cherry-pick -x onto the maintenance branch of every supported line that lacks it, and release it there within {{BACKPORT_DAYS}} days of the merge",
|
|
@@ -402,7 +481,7 @@
|
|
|
402
481
|
"type": "requirement",
|
|
403
482
|
"label": "Release owner approves each release",
|
|
404
483
|
"x": 260,
|
|
405
|
-
"y":
|
|
484
|
+
"y": 1950,
|
|
406
485
|
"ears_type": "ubiquitous",
|
|
407
486
|
"action": "publish a release only from the release workflow's job in the GitHub environment release, after a member of the team {{RELEASE_OWNER}} who did not start the run approves it, and never by hand",
|
|
408
487
|
"rationale": "Who may release is a policy the release system enforces, not one people remember (Google SRE book, Release Engineering: enforcement of policies and procedures; GitHub Docs, Deployments and environments: required reviewers).",
|
|
@@ -421,7 +500,7 @@
|
|
|
421
500
|
"type": "requirement",
|
|
422
501
|
"label": "Every merge released",
|
|
423
502
|
"x": 260,
|
|
424
|
-
"y":
|
|
503
|
+
"y": 2080,
|
|
425
504
|
"ears_type": "event-driven",
|
|
426
505
|
"trigger": "a change to code under src/ is merged to main",
|
|
427
506
|
"action": "publish it in a release within {{RELEASE_HOURS}} hours, with nobody approving",
|
|
@@ -446,12 +525,58 @@
|
|
|
446
525
|
"when": "the deploy job calls GET /version",
|
|
447
526
|
"then": "within 90 seconds the answer names the version and commit the job deployed, and the job fails if it does not"
|
|
448
527
|
},
|
|
528
|
+
{
|
|
529
|
+
"id": "sc-version-shown",
|
|
530
|
+
"type": "scenario",
|
|
531
|
+
"label": "Interface names the deployed build",
|
|
532
|
+
"x": 520,
|
|
533
|
+
"y": 130,
|
|
534
|
+
"given": "a release deployed to staging",
|
|
535
|
+
"when": "the deploy job opens the application in a browser after the deploy",
|
|
536
|
+
"then": "the page shows the release's version and short commit, the element's data-version and data-commit equal what the job deployed and what GET /version answers, and the deploy job fails if any of them differs",
|
|
537
|
+
"hubWhen": {
|
|
538
|
+
"SHOWN": [
|
|
539
|
+
"ui",
|
|
540
|
+
"everywhere"
|
|
541
|
+
]
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"id": "sc-version-header",
|
|
546
|
+
"type": "scenario",
|
|
547
|
+
"label": "Responses carry the build",
|
|
548
|
+
"x": 520,
|
|
549
|
+
"y": 260,
|
|
550
|
+
"given": "the built image started with its version and commit",
|
|
551
|
+
"when": "the check requests /version, the home page and a path that does not exist",
|
|
552
|
+
"then": "all three responses, the error included, carry App-Version and App-Commit with the build's values",
|
|
553
|
+
"hubWhen": {
|
|
554
|
+
"SHOWN": [
|
|
555
|
+
"everywhere"
|
|
556
|
+
]
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"id": "sc-version-logs",
|
|
561
|
+
"type": "scenario",
|
|
562
|
+
"label": "Log lines carry the build",
|
|
563
|
+
"x": 520,
|
|
564
|
+
"y": 390,
|
|
565
|
+
"given": "the built image started with its version and commit",
|
|
566
|
+
"when": "it serves a few requests and the check reads its standard output",
|
|
567
|
+
"then": "every line is JSON with version and commit equal to the build's values, and the check fails on the first line that is not",
|
|
568
|
+
"hubWhen": {
|
|
569
|
+
"SHOWN": [
|
|
570
|
+
"everywhere"
|
|
571
|
+
]
|
|
572
|
+
}
|
|
573
|
+
},
|
|
449
574
|
{
|
|
450
575
|
"id": "sc-semver",
|
|
451
576
|
"type": "scenario",
|
|
452
577
|
"label": "Malformed tag refused",
|
|
453
578
|
"x": 520,
|
|
454
|
-
"y":
|
|
579
|
+
"y": 520,
|
|
455
580
|
"given": "the releases of the repository",
|
|
456
581
|
"when": "the release check lists their tags",
|
|
457
582
|
"then": "every tag is v and a valid semantic version and no version appears twice; a tag such as v1.02.0 or release-5 fails the check",
|
|
@@ -466,7 +591,7 @@
|
|
|
466
591
|
"type": "scenario",
|
|
467
592
|
"label": "Breaking change raises major",
|
|
468
593
|
"x": 520,
|
|
469
|
-
"y":
|
|
594
|
+
"y": 650,
|
|
470
595
|
"given": "version 2.3.1 and a new release whose notes list a breaking change",
|
|
471
596
|
"when": "the release check compares the new number with its notes",
|
|
472
597
|
"then": "v3.0.0 passes, while v2.4.0, v2.3.2 or v4.0.0 fails the check",
|
|
@@ -481,7 +606,7 @@
|
|
|
481
606
|
"type": "scenario",
|
|
482
607
|
"label": "Line dated by its first release",
|
|
483
608
|
"x": 520,
|
|
484
|
-
"y":
|
|
609
|
+
"y": 780,
|
|
485
610
|
"given": "a line started on 2026-10-29 and a fix to it published on 2026-11-03",
|
|
486
611
|
"when": "the release check runs",
|
|
487
612
|
"then": "v2026.10.0 and v2026.10.1 pass, while v2026.010.0, a v2026.10.2 with no v2026.10.1, and a v2026.10.1 whose notes list a feature fail",
|
|
@@ -496,7 +621,7 @@
|
|
|
496
621
|
"type": "scenario",
|
|
497
622
|
"label": "Releases are immutable",
|
|
498
623
|
"x": 520,
|
|
499
|
-
"y":
|
|
624
|
+
"y": 910,
|
|
500
625
|
"given": "immutable releases turned on for the repository",
|
|
501
626
|
"when": "the release check lists the releases published since",
|
|
502
627
|
"then": "every one is marked immutable, and GitHub refuses to move the tag of any of them",
|
|
@@ -512,7 +637,7 @@
|
|
|
512
637
|
"type": "scenario",
|
|
513
638
|
"label": "Every deploy names its commit",
|
|
514
639
|
"x": 520,
|
|
515
|
-
"y":
|
|
640
|
+
"y": 1040,
|
|
516
641
|
"given": "the deployment manifests and the production deployments",
|
|
517
642
|
"when": "the build-id check runs",
|
|
518
643
|
"then": "every image reference ends in a 40-character SHA or a sha256 digest, every production deployment points at a commit on main, and the repository has no version tags",
|
|
@@ -527,7 +652,7 @@
|
|
|
527
652
|
"type": "scenario",
|
|
528
653
|
"label": "Missing change found",
|
|
529
654
|
"x": 520,
|
|
530
|
-
"y":
|
|
655
|
+
"y": 1170,
|
|
531
656
|
"given": "three feat and fix commits merged since the previous release",
|
|
532
657
|
"when": "the release is published and the notes check runs",
|
|
533
658
|
"then": "the notes name all three by pull request number or SHA, and the check fails when one is missing",
|
|
@@ -546,7 +671,7 @@
|
|
|
546
671
|
"type": "scenario",
|
|
547
672
|
"label": "Change without a line refused",
|
|
548
673
|
"x": 520,
|
|
549
|
-
"y":
|
|
674
|
+
"y": 1300,
|
|
550
675
|
"given": "a pull request that changes src/ and leaves CHANGELOG.md alone",
|
|
551
676
|
"when": "the changelog check runs",
|
|
552
677
|
"then": "it fails until an entry is added under ## [Unreleased] in one of the six categories, or the pull request is labelled skip-changelog",
|
|
@@ -565,7 +690,7 @@
|
|
|
565
690
|
"type": "scenario",
|
|
566
691
|
"label": "Unlabelled pull request refused",
|
|
567
692
|
"x": 520,
|
|
568
|
-
"y":
|
|
693
|
+
"y": 1430,
|
|
569
694
|
"given": "a pull request with no release label, and then with both fix and feature",
|
|
570
695
|
"when": "the label check runs",
|
|
571
696
|
"then": "it fails both times, and passes once only fix remains",
|
|
@@ -584,7 +709,7 @@
|
|
|
584
709
|
"type": "scenario",
|
|
585
710
|
"label": "Old line gets no release",
|
|
586
711
|
"x": 520,
|
|
587
|
-
"y":
|
|
712
|
+
"y": 1560,
|
|
588
713
|
"given": "line 3 started after line 2",
|
|
589
714
|
"when": "the support check reads SECURITY.md and the releases",
|
|
590
715
|
"then": "only 3.x is listed as supported, and a 2.4.1 published after 3.0.0 fails the check",
|
|
@@ -603,7 +728,7 @@
|
|
|
603
728
|
"type": "scenario",
|
|
604
729
|
"label": "Support table matches the lines",
|
|
605
730
|
"x": 520,
|
|
606
|
-
"y":
|
|
731
|
+
"y": 1690,
|
|
607
732
|
"given": "{{LTS_LINES}} + 1 release lines",
|
|
608
733
|
"when": "the support check runs",
|
|
609
734
|
"then": "SECURITY.md lists the newest {{LTS_LINES}} as supported, each older supported line has its release/<line>.x branch, and a release on the oldest line after it left support fails the check",
|
|
@@ -622,7 +747,7 @@
|
|
|
622
747
|
"type": "scenario",
|
|
623
748
|
"label": "Fix released on the older line",
|
|
624
749
|
"x": 520,
|
|
625
|
-
"y":
|
|
750
|
+
"y": 1820,
|
|
626
751
|
"given": "a security fix merged to main and two supported lines",
|
|
627
752
|
"when": "{{BACKPORT_DAYS}} days have passed and the backport check runs",
|
|
628
753
|
"then": "the older line has a commit cherry-picked from the fix in a released tag, and the check fails for a line that has none",
|
|
@@ -641,7 +766,7 @@
|
|
|
641
766
|
"type": "scenario",
|
|
642
767
|
"label": "Release waits for its owner",
|
|
643
768
|
"x": 520,
|
|
644
|
-
"y":
|
|
769
|
+
"y": 1950,
|
|
645
770
|
"given": "a release pull request merged by a developer",
|
|
646
771
|
"when": "the release job reaches the environment release",
|
|
647
772
|
"then": "it waits until a member of {{RELEASE_OWNER}} other than the developer approves, and a release created by hand fails the approval check",
|
|
@@ -660,7 +785,7 @@
|
|
|
660
785
|
"type": "scenario",
|
|
661
786
|
"label": "Merge reaches a release",
|
|
662
787
|
"x": 520,
|
|
663
|
-
"y":
|
|
788
|
+
"y": 2080,
|
|
664
789
|
"given": "a fix merged to main",
|
|
665
790
|
"when": "{{RELEASE_HOURS}} hours have passed",
|
|
666
791
|
"then": "a release containing it is published, and the release check fails while the merge still waits",
|
|
@@ -684,7 +809,7 @@
|
|
|
684
809
|
"status": "accepted",
|
|
685
810
|
"date": "",
|
|
686
811
|
"context": "This element is released again and again, and each release is read by people who were not in the room: operators deciding whether to deploy it, customers deciding whether to upgrade, support asking which version a user runs. The forces: a version number is a promise, and one that says \"patch\" over a breaking change costs more trust than no number at all; numbers typed by hand drift, while numbers computed from the history are only as right as the history; notes generated from commits are complete but read like commits, notes written by hand read well but get forgotten; every older line kept in support multiplies the work of each security fix, while supporting only the latest line makes every user keep up; a person approving each release catches what no check describes but makes every release wait for that person; and a release whose tag can move after publication is not one anybody can rely on. Neighbouring packs own the rest: the commit message format and the branching model are decided in the Code review and branching pack, release cadence, rollout and rollback in the Deployment pack, how an API names and retires its versions in the API evolution pack, signing, provenance and SBOMs of what is released in the Software supply chain pack, and how dependencies are pinned in the Dependency hygiene pack.",
|
|
687
|
-
"decision": "Every release of the element is numbered by Semantic Versioning 2.0.0 and tagged vMAJOR.MINOR.PATCH on the commit it was built from. A breaking change to what users rely on (its API, configuration, data formats, command line or image contract) raises MAJOR, new functionality or a deprecation raises MINOR, a fix raises PATCH; while MAJOR is 0 a breaking change raises MINOR, and 1.0.0 is declared when the element is stable. The number is computed from the same categories the release notes are grouped by (commit types, changelog categories or pull request labels), never typed by hand, and a check compares the number with the notes on every release. Every release is a GitHub release, with immutable releases turned on for the repository, so a published tag never moves and a correction is always a new version. The running element answers GET /version with its version and commit. Release notes: {{CHANGELOG}}. Support: {{SUPPORT}}. Release approval: {{APPROVAL}}. With the release owner's approval, the job that publishes a release runs in the GitHub environment release, which waits for a review by a member of the team {{RELEASE_OWNER}} other than the person who started the run; with automatic releases, the release workflow runs on every push to main and publishes within {{RELEASE_HOURS}} hours of the merge, waiting for nobody. Either way only the release workflow publishes releases, never a person by hand. A breaking change to an API the element serves is also a MAJOR release here; how that API names its own versions is decided in the API evolution pack.",
|
|
812
|
+
"decision": "Every release of the element is numbered by Semantic Versioning 2.0.0 and tagged vMAJOR.MINOR.PATCH on the commit it was built from. A breaking change to what users rely on (its API, configuration, data formats, command line or image contract) raises MAJOR, new functionality or a deprecation raises MINOR, a fix raises PATCH; while MAJOR is 0 a breaking change raises MINOR, and 1.0.0 is declared when the element is stable. The number is computed from the same categories the release notes are grouped by (commit types, changelog categories or pull request labels), never typed by hand, and a check compares the number with the notes on every release. Every release is a GitHub release, with immutable releases turned on for the repository, so a published tag never moves and a correction is always a new version. The running element answers GET /version with its version and commit. Where the running version is shown: {{SHOWN}}. GET /version answers in every case. Where the interface shows it, the footer of every page (or the About page) holds an element marked data-testid=\"app-version\" whose text gives the version and the first 7 characters of the commit and whose data-version and data-commit attributes hold both in full, filled from the same build values as GET /version, and a browser test after every deploy compares them with the build the deploy job deployed. Where responses and logs carry it too, every HTTP response has the headers App-Version and App-Commit (without the X- prefix RFC 6648 retired), and every log line the fields version and commit, set once in the logger's base fields at start; the rest of the line is shaped as the Error handling and logging conventions pack decides. Release notes: {{CHANGELOG}}. Support: {{SUPPORT}}. Release approval: {{APPROVAL}}. With the release owner's approval, the job that publishes a release runs in the GitHub environment release, which waits for a review by a member of the team {{RELEASE_OWNER}} other than the person who started the run; with automatic releases, the release workflow runs on every push to main and publishes within {{RELEASE_HOURS}} hours of the merge, waiting for nobody. Either way only the release workflow publishes releases, never a person by hand. A breaking change to an API the element serves is also a MAJOR release here; how that API names its own versions is decided in the API evolution pack.",
|
|
688
813
|
"consequences": "• Users and their tools (Renovate, Dependabot, version ranges) can tell from the number alone whether an upgrade may break them.\n• Someone decides what counts as breaking: the categories put that decision on each change, with its author, and a wrong category makes a wrong number.\n• Breaking changes become visible and expensive, which pushes towards additive changes and deprecations first.\n• Immutable releases forbid fixing a release in place: a bad release is followed by a new one, never replaced, and assets have to be attached to a draft before it is published.\n• A service that nobody pins gains little from the number beyond the order of its releases.",
|
|
689
814
|
"alternatives": "1. Calendar versions: they say how old a release is, not whether it breaks anything.\n2. A commit SHA per build: nothing to number, but nothing for an installer or a dependency bot to compare.\n3. Numbers chosen by hand at release time: where most teams start, and how a breaking change ends up in a patch release.",
|
|
690
815
|
"hubWhen": {
|
|
@@ -703,7 +828,7 @@
|
|
|
703
828
|
"status": "accepted",
|
|
704
829
|
"date": "",
|
|
705
830
|
"context": "This element is released again and again, and each release is read by people who were not in the room: operators deciding whether to deploy it, customers deciding whether to upgrade, support asking which version a user runs. The forces: a version number is a promise, and one that says \"patch\" over a breaking change costs more trust than no number at all; numbers typed by hand drift, while numbers computed from the history are only as right as the history; notes generated from commits are complete but read like commits, notes written by hand read well but get forgotten; every older line kept in support multiplies the work of each security fix, while supporting only the latest line makes every user keep up; a person approving each release catches what no check describes but makes every release wait for that person; and a release whose tag can move after publication is not one anybody can rely on. Neighbouring packs own the rest: the commit message format and the branching model are decided in the Code review and branching pack, release cadence, rollout and rollback in the Deployment pack, how an API names and retires its versions in the API evolution pack, signing, provenance and SBOMs of what is released in the Software supply chain pack, and how dependencies are pinned in the Dependency hygiene pack.",
|
|
706
|
-
"decision": "Every release of the element is numbered by calendar versioning as vYYYY.M.MICRO (CalVer) and tagged on the commit it was built from. YYYY.M is the UTC year and month in which the release line's first release is published, with no leading zero on the month, so the number stays valid for semantic-versioning tools; MICRO is 0 for that first release and counts the line's later releases. A release with new functionality, a deprecation or a breaking change starts a new line; a release with fixes only is the next MICRO of the newest line. The release workflow computes the tag from the date and the existing tags, since release-please and semantic-release compute semantic versions only. The notes carry a breaking-changes section whenever a release breaks something, because the number does not say so. Every release is a GitHub release, with immutable releases turned on for the repository, so a published tag never moves and a correction is always a new version. The running element answers GET /version with its version and commit. Release notes: {{CHANGELOG}}. Support: {{SUPPORT}}. Release approval: {{APPROVAL}}. With the release owner's approval, the job that publishes a release runs in the GitHub environment release, which waits for a review by a member of the team {{RELEASE_OWNER}} other than the person who started the run; with automatic releases, the release workflow runs on every push to main and publishes within {{RELEASE_HOURS}} hours of the merge, waiting for nobody. Either way only the release workflow publishes releases, never a person by hand.",
|
|
831
|
+
"decision": "Every release of the element is numbered by calendar versioning as vYYYY.M.MICRO (CalVer) and tagged on the commit it was built from. YYYY.M is the UTC year and month in which the release line's first release is published, with no leading zero on the month, so the number stays valid for semantic-versioning tools; MICRO is 0 for that first release and counts the line's later releases. A release with new functionality, a deprecation or a breaking change starts a new line; a release with fixes only is the next MICRO of the newest line. The release workflow computes the tag from the date and the existing tags, since release-please and semantic-release compute semantic versions only. The notes carry a breaking-changes section whenever a release breaks something, because the number does not say so. Every release is a GitHub release, with immutable releases turned on for the repository, so a published tag never moves and a correction is always a new version. The running element answers GET /version with its version and commit. Where the running version is shown: {{SHOWN}}. GET /version answers in every case. Where the interface shows it, the footer of every page (or the About page) holds an element marked data-testid=\"app-version\" whose text gives the version and the first 7 characters of the commit and whose data-version and data-commit attributes hold both in full, filled from the same build values as GET /version, and a browser test after every deploy compares them with the build the deploy job deployed. Where responses and logs carry it too, every HTTP response has the headers App-Version and App-Commit (without the X- prefix RFC 6648 retired), and every log line the fields version and commit, set once in the logger's base fields at start; the rest of the line is shaped as the Error handling and logging conventions pack decides. Release notes: {{CHANGELOG}}. Support: {{SUPPORT}}. Release approval: {{APPROVAL}}. With the release owner's approval, the job that publishes a release runs in the GitHub environment release, which waits for a review by a member of the team {{RELEASE_OWNER}} other than the person who started the run; with automatic releases, the release workflow runs on every push to main and publishes within {{RELEASE_HOURS}} hours of the merge, waiting for nobody. Either way only the release workflow publishes releases, never a person by hand.",
|
|
707
832
|
"consequences": "• Users and support see at a glance how old a release is and how far behind a customer runs.\n• The number says nothing about compatibility: breaking changes are read in the notes, and dependency bots treat every new line as an upgrade of unknown risk.\n• A fix to a line keeps the line's date (2026.10.3 may ship in December), which surprises people who read the number as a release date.\n• No standard release tool computes the number: the release workflow does, and a check holds it to the rule.\n• Immutable releases forbid fixing a release in place; a bad release is followed by a new one.",
|
|
708
833
|
"alternatives": "1. Semantic versions: they say whether an upgrade breaks, not how old a release is.\n2. A zero-padded month (YYYY.0M): sorts as text, but is not a valid semantic version, which strict tools such as Cargo and Go refuse (CalVer).\n3. The full date as the version (2026.10.29): no room for two releases a day or for a fix to a line.",
|
|
709
834
|
"hubWhen": {
|
|
@@ -722,7 +847,7 @@
|
|
|
722
847
|
"status": "accepted",
|
|
723
848
|
"date": "",
|
|
724
849
|
"context": "This element is released again and again, and each release is read by people who were not in the room: operators deciding whether to deploy it, customers deciding whether to upgrade, support asking which version a user runs. The forces: a version number is a promise, and one that says \"patch\" over a breaking change costs more trust than no number at all; numbers typed by hand drift, while numbers computed from the history are only as right as the history; notes generated from commits are complete but read like commits, notes written by hand read well but get forgotten; every older line kept in support multiplies the work of each security fix, while supporting only the latest line makes every user keep up; a person approving each release catches what no check describes but makes every release wait for that person; and a release whose tag can move after publication is not one anybody can rely on. Neighbouring packs own the rest: the commit message format and the branching model are decided in the Code review and branching pack, release cadence, rollout and rollback in the Deployment pack, how an API names and retires its versions in the API evolution pack, signing, provenance and SBOMs of what is released in the Software supply chain pack, and how dependencies are pinned in the Dependency hygiene pack. Here the team deploys the element itself, continuously, and nobody outside installs or pins it.",
|
|
725
|
-
"decision": "The element has no version numbers and no releases: every build is named by the full SHA of the commit it was built from. The image is tagged with that SHA, the deployment references it by that tag or by digest and never by a mutable tag such as latest, and every production deploy is recorded as a GitHub deployment of its SHA, so what changed between two deploys is GitHub's compare view of their SHAs. The running element answers GET /version with that SHA as its version and its commit. No release tool, changelog file or version tag is kept, and nothing older than the latest build is supported. When anyone outside the team starts to install or pin the element, or to be told about its releases, this decision is superseded by semantic or calendar versions.",
|
|
850
|
+
"decision": "The element has no version numbers and no releases: every build is named by the full SHA of the commit it was built from. The image is tagged with that SHA, the deployment references it by that tag or by digest and never by a mutable tag such as latest, and every production deploy is recorded as a GitHub deployment of its SHA, so what changed between two deploys is GitHub's compare view of their SHAs. The running element answers GET /version with that SHA as its version and its commit. Where the running version is shown: {{SHOWN}}. GET /version answers in every case. Where the interface shows it, the footer of every page (or the About page) holds an element marked data-testid=\"app-version\" whose text gives the version and the first 7 characters of the commit and whose data-version and data-commit attributes hold both in full, filled from the same build values as GET /version, and a browser test after every deploy compares them with the build the deploy job deployed. Where responses and logs carry it too, every HTTP response has the headers App-Version and App-Commit (without the X- prefix RFC 6648 retired), and every log line the fields version and commit, set once in the logger's base fields at start; the rest of the line is shaped as the Error handling and logging conventions pack decides. No release tool, changelog file or version tag is kept, and nothing older than the latest build is supported. When anyone outside the team starts to install or pin the element, or to be told about its releases, this decision is superseded by semantic or calendar versions.",
|
|
726
851
|
"consequences": "• Nothing to number, write or approve: the build id costs nothing and is never wrong.\n• What changed in a deploy is a list of pull requests in a compare view, readable by the team and nobody else.\n• Users and support cannot name a release in words; they quote a SHA or a date.\n• Only the latest build runs, so there is no older release to support or to fix.",
|
|
727
852
|
"alternatives": "1. Semantic versions with automatic releases: a number for every merge at the cost of a release tool, worth it once someone outside depends on the element.\n2. Calendar versions: a readable date per release, for products released on a calendar.\n3. The pipeline's run number as the version: readable, but tied to one CI system and to nothing in the source.",
|
|
728
853
|
"hubWhen": {
|
|
@@ -859,12 +984,49 @@
|
|
|
859
984
|
"invocation": "automated",
|
|
860
985
|
"description": "The last step of every deploy job polls the element's version endpoint and fails the deploy unless it answers with the version the job deployed (the tag, or the commit SHA where builds carry no version number) and the commit SHA of the workflow run. The element fills both from build arguments baked into the image (or into /version.json for a web app), never from its environment at run time.\n\nThreshold: Within 90 seconds of every deploy, GET /version answers with the deployed version and commit; otherwise the deploy job fails\n\nTool: curl and jq in the deploy job (GitHub Actions)\n\n```bash\n# the last step of every deploy job; APP_URL is the environment's address, EXPECTED_VERSION the tag deployed\n# (or the commit SHA, where builds carry no version number)\nset -euo pipefail\nfor attempt in 1 2 3 4 5 6; do # 6 tries, 90 seconds at most\n body=$(curl -fsS --max-time 5 \"$APP_URL/version\" || true) # /version.json for a web app\n if echo \"$body\" | jq -e --arg version \"$EXPECTED_VERSION\" --arg commit \"$GITHUB_SHA\" \\\n '.version == $version and .commit == $commit' >/dev/null 2>&1; then\n echo \"running $EXPECTED_VERSION at $GITHUB_SHA\"; exit 0\n fi\n sleep 10\ndone\necho \"expected $EXPECTED_VERSION at $GITHUB_SHA, the element answers: ${body:-nothing}\"; exit 1\n```"
|
|
861
986
|
},
|
|
987
|
+
{
|
|
988
|
+
"id": "ff-version-shown",
|
|
989
|
+
"type": "fitness-fn",
|
|
990
|
+
"label": "Interface shows the deployed build",
|
|
991
|
+
"x": 1040,
|
|
992
|
+
"y": 130,
|
|
993
|
+
"characteristic": "maintainability",
|
|
994
|
+
"scope": "holistic",
|
|
995
|
+
"cadence": "triggered",
|
|
996
|
+
"trigger": "deploy",
|
|
997
|
+
"invocation": "automated",
|
|
998
|
+
"description": "After the endpoint check, the deploy job runs one Playwright test against the environment it deployed, with no retries. The test reads GET /version, opens the page that shows the version (VERSION_PAGE: / for the footer, /about for an About page) and compares what the interface shows with what the job deployed (EXPECTED_VERSION: the tag, or the commit SHA where builds carry no version number; EXPECTED_COMMIT: GITHUB_SHA) and with the endpoint's answer, so that a page served by a cached or older build fails the deploy.\n\nThreshold: After every deploy the element marked app-version is visible, shows the deployed version and the first 7 characters of the deployed commit, and its data-version and data-commit equal the deployed build's and GET /version's; otherwise the deploy job fails\n\nTool: Playwright Test (@playwright/test 1.5x) in the deploy job\n\n```ts\n// e2e/version-shown.spec.ts, run by the deploy job after every deploy:\n// APP_URL=<the environment's address> EXPECTED_VERSION=<the tag, or the commit SHA> EXPECTED_COMMIT=$GITHUB_SHA \\\n// npx playwright test e2e/version-shown.spec.ts --retries=0\nimport { test, expect } from '@playwright/test'\n\nconst APP_URL = process.env.APP_URL ?? ''\nconst EXPECTED_VERSION = process.env.EXPECTED_VERSION ?? ''\nconst EXPECTED_COMMIT = process.env.EXPECTED_COMMIT ?? process.env.GITHUB_SHA ?? ''\nconst VERSION_PAGE = process.env.VERSION_PAGE ?? '/' // /about where the About page shows the version\n\ntest('the interface shows the deployed version and commit, as GET /version does', async ({ page, request }) => {\n expect(APP_URL && EXPECTED_VERSION && EXPECTED_COMMIT, 'set APP_URL, EXPECTED_VERSION and EXPECTED_COMMIT').toBeTruthy()\n const answer = await request.get(new URL('/version', APP_URL).href) // /version.json for a web app served as files\n expect(answer.ok(), `GET /version answered ${answer.status()}`).toBe(true)\n expect(await answer.json()).toMatchObject({ version: EXPECTED_VERSION, commit: EXPECTED_COMMIT })\n\n await page.goto(new URL(VERSION_PAGE, APP_URL).href)\n const shown = page.getByTestId('app-version')\n await expect(shown).toBeVisible()\n await expect(shown).toHaveAttribute('data-version', EXPECTED_VERSION)\n await expect(shown).toHaveAttribute('data-commit', EXPECTED_COMMIT)\n await expect(shown).toContainText(EXPECTED_COMMIT.slice(0, 7))\n if (EXPECTED_VERSION !== EXPECTED_COMMIT) await expect(shown).toContainText(EXPECTED_VERSION)\n})\n```",
|
|
999
|
+
"hubWhen": {
|
|
1000
|
+
"SHOWN": [
|
|
1001
|
+
"ui",
|
|
1002
|
+
"everywhere"
|
|
1003
|
+
]
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"id": "ff-version-everywhere",
|
|
1008
|
+
"type": "fitness-fn",
|
|
1009
|
+
"label": "Responses and log lines name the build",
|
|
1010
|
+
"x": 1040,
|
|
1011
|
+
"y": 260,
|
|
1012
|
+
"characteristic": "maintainability",
|
|
1013
|
+
"scope": "atomic",
|
|
1014
|
+
"cadence": "triggered",
|
|
1015
|
+
"trigger": "pull-request",
|
|
1016
|
+
"invocation": "automated",
|
|
1017
|
+
"description": "On every pull request a job builds the image with a test version and the commit as build arguments, starts it, requests the endpoint, the home page and a path that does not exist, and reads the headers of each answer; then it reads the container's standard output and fails on any line that is not JSON with the two fields. The image starts the element directly (no npm start in front of it), so nothing else writes to its output. With fixed-layout text lines, as the Error handling and logging conventions pack may decide, grep each line for version= and commit= instead of reading it as JSON.\n\nThreshold: 0 responses among GET /version, / and a path that does not exist without App-Version and App-Commit equal to the build values; 0 log lines without version and commit equal to them; at least 1 log line written\n\nTool: docker, curl and jq in a GitHub Actions step on pull_request\n\n```bash\n# on every pull request; the element listens on port 8080, takes VERSION and COMMIT as build arguments and logs to standard output\nset -euo pipefail\nVERSION=v0.0.0-check\nCOMMIT=$GITHUB_SHA\ndocker build --build-arg VERSION=\"$VERSION\" --build-arg COMMIT=\"$COMMIT\" -t version-check .\ncid=$(docker run -d -p 8080:8080 version-check)\ntrap 'docker rm -f \"$cid\" >/dev/null' EXIT\nfor attempt in $(seq 1 30); do curl -fsS -o /dev/null http://localhost:8080/version && break; sleep 1; done\nfor path in /version / /no-such-page; do\n headers=$(curl -sS -D - -o /dev/null \"http://localhost:8080$path\" | tr -d '\\r')\n grep -Fqix \"app-version: $VERSION\" <<<\"$headers\" && grep -Fqix \"app-commit: $COMMIT\" <<<\"$headers\" \\\n || { echo \"GET $path does not name its build in App-Version and App-Commit\"; exit 1; }\ndone\nlines=$(docker logs \"$cid\" 2>&1)\n[ -n \"$lines\" ] || { echo \"the element wrote no log line\"; exit 1; }\nbad=$(jq -Rr --arg v \"$VERSION\" --arg c \"$COMMIT\" '(try fromjson catch null) as $line\n | select(($line | type) != \"object\" or $line.version != $v or $line.commit != $c)' <<<\"$lines\")\n[ -z \"$bad\" ] || { echo \"log lines without version $VERSION and commit $COMMIT:\"; head -n 3 <<<\"$bad\"; exit 1; }\n```",
|
|
1018
|
+
"hubWhen": {
|
|
1019
|
+
"SHOWN": [
|
|
1020
|
+
"everywhere"
|
|
1021
|
+
]
|
|
1022
|
+
}
|
|
1023
|
+
},
|
|
862
1024
|
{
|
|
863
1025
|
"id": "ff-semver-release",
|
|
864
1026
|
"type": "fitness-fn",
|
|
865
1027
|
"label": "Semantic versions follow their notes",
|
|
866
1028
|
"x": 1040,
|
|
867
|
-
"y":
|
|
1029
|
+
"y": 390,
|
|
868
1030
|
"characteristic": "compatibility",
|
|
869
1031
|
"scope": "atomic",
|
|
870
1032
|
"cadence": "triggered",
|
|
@@ -882,7 +1044,7 @@
|
|
|
882
1044
|
"type": "fitness-fn",
|
|
883
1045
|
"label": "Calendar versions follow the rule",
|
|
884
1046
|
"x": 1040,
|
|
885
|
-
"y":
|
|
1047
|
+
"y": 520,
|
|
886
1048
|
"characteristic": "maintainability",
|
|
887
1049
|
"scope": "atomic",
|
|
888
1050
|
"cadence": "triggered",
|
|
@@ -900,7 +1062,7 @@
|
|
|
900
1062
|
"type": "fitness-fn",
|
|
901
1063
|
"label": "Builds deployed by their commit",
|
|
902
1064
|
"x": 1040,
|
|
903
|
-
"y":
|
|
1065
|
+
"y": 650,
|
|
904
1066
|
"characteristic": "maintainability",
|
|
905
1067
|
"scope": "atomic",
|
|
906
1068
|
"cadence": "triggered",
|
|
@@ -918,7 +1080,7 @@
|
|
|
918
1080
|
"type": "fitness-fn",
|
|
919
1081
|
"label": "Notes list every typed commit",
|
|
920
1082
|
"x": 1040,
|
|
921
|
-
"y":
|
|
1083
|
+
"y": 780,
|
|
922
1084
|
"characteristic": "maintainability",
|
|
923
1085
|
"scope": "atomic",
|
|
924
1086
|
"cadence": "triggered",
|
|
@@ -940,7 +1102,7 @@
|
|
|
940
1102
|
"type": "fitness-fn",
|
|
941
1103
|
"label": "Changelog line with each change",
|
|
942
1104
|
"x": 1040,
|
|
943
|
-
"y":
|
|
1105
|
+
"y": 910,
|
|
944
1106
|
"characteristic": "maintainability",
|
|
945
1107
|
"scope": "atomic",
|
|
946
1108
|
"cadence": "triggered",
|
|
@@ -962,7 +1124,7 @@
|
|
|
962
1124
|
"type": "fitness-fn",
|
|
963
1125
|
"label": "Exactly one release label",
|
|
964
1126
|
"x": 1040,
|
|
965
|
-
"y":
|
|
1127
|
+
"y": 1040,
|
|
966
1128
|
"characteristic": "maintainability",
|
|
967
1129
|
"scope": "atomic",
|
|
968
1130
|
"cadence": "triggered",
|
|
@@ -984,7 +1146,7 @@
|
|
|
984
1146
|
"type": "fitness-fn",
|
|
985
1147
|
"label": "Only the newest line supported",
|
|
986
1148
|
"x": 1040,
|
|
987
|
-
"y":
|
|
1149
|
+
"y": 1170,
|
|
988
1150
|
"characteristic": "maintainability",
|
|
989
1151
|
"scope": "atomic",
|
|
990
1152
|
"cadence": "triggered",
|
|
@@ -1006,7 +1168,7 @@
|
|
|
1006
1168
|
"type": "fitness-fn",
|
|
1007
1169
|
"label": "Supported lines match the policy",
|
|
1008
1170
|
"x": 1040,
|
|
1009
|
-
"y":
|
|
1171
|
+
"y": 1300,
|
|
1010
1172
|
"characteristic": "maintainability",
|
|
1011
1173
|
"scope": "atomic",
|
|
1012
1174
|
"cadence": "triggered",
|
|
@@ -1028,7 +1190,7 @@
|
|
|
1028
1190
|
"type": "fitness-fn",
|
|
1029
1191
|
"label": "Security fixes back-ported in time",
|
|
1030
1192
|
"x": 1040,
|
|
1031
|
-
"y":
|
|
1193
|
+
"y": 1430,
|
|
1032
1194
|
"characteristic": "security",
|
|
1033
1195
|
"scope": "atomic",
|
|
1034
1196
|
"cadence": "triggered",
|
|
@@ -1050,7 +1212,7 @@
|
|
|
1050
1212
|
"type": "fitness-fn",
|
|
1051
1213
|
"label": "Releases wait for the release owner",
|
|
1052
1214
|
"x": 1040,
|
|
1053
|
-
"y":
|
|
1215
|
+
"y": 1560,
|
|
1054
1216
|
"characteristic": "maintainability",
|
|
1055
1217
|
"scope": "atomic",
|
|
1056
1218
|
"cadence": "triggered",
|
|
@@ -1072,7 +1234,7 @@
|
|
|
1072
1234
|
"type": "fitness-fn",
|
|
1073
1235
|
"label": "No merge waits for its release",
|
|
1074
1236
|
"x": 1040,
|
|
1075
|
-
"y":
|
|
1237
|
+
"y": 1690,
|
|
1076
1238
|
"characteristic": "maintainability",
|
|
1077
1239
|
"scope": "atomic",
|
|
1078
1240
|
"cadence": "continual",
|
|
@@ -1095,98 +1257,119 @@
|
|
|
1095
1257
|
"sourceId": "req-version-visible",
|
|
1096
1258
|
"targetId": "need",
|
|
1097
1259
|
"relationType": "derives",
|
|
1098
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1260
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1261
|
+
},
|
|
1262
|
+
{
|
|
1263
|
+
"id": "req-version-shown--derives--need",
|
|
1264
|
+
"sourceId": "req-version-shown",
|
|
1265
|
+
"targetId": "need",
|
|
1266
|
+
"relationType": "derives",
|
|
1267
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
"id": "req-version-header--derives--need",
|
|
1271
|
+
"sourceId": "req-version-header",
|
|
1272
|
+
"targetId": "need",
|
|
1273
|
+
"relationType": "derives",
|
|
1274
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"id": "req-version-logs--derives--need",
|
|
1278
|
+
"sourceId": "req-version-logs",
|
|
1279
|
+
"targetId": "need",
|
|
1280
|
+
"relationType": "derives",
|
|
1281
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1099
1282
|
},
|
|
1100
1283
|
{
|
|
1101
1284
|
"id": "req-semver--derives--need",
|
|
1102
1285
|
"sourceId": "req-semver",
|
|
1103
1286
|
"targetId": "need",
|
|
1104
1287
|
"relationType": "derives",
|
|
1105
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1288
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1106
1289
|
},
|
|
1107
1290
|
{
|
|
1108
1291
|
"id": "req-semver-bump--derives--need",
|
|
1109
1292
|
"sourceId": "req-semver-bump",
|
|
1110
1293
|
"targetId": "need",
|
|
1111
1294
|
"relationType": "derives",
|
|
1112
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1295
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1113
1296
|
},
|
|
1114
1297
|
{
|
|
1115
1298
|
"id": "req-calver--derives--need",
|
|
1116
1299
|
"sourceId": "req-calver",
|
|
1117
1300
|
"targetId": "need",
|
|
1118
1301
|
"relationType": "derives",
|
|
1119
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1302
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1120
1303
|
},
|
|
1121
1304
|
{
|
|
1122
1305
|
"id": "req-immutable--derives--need",
|
|
1123
1306
|
"sourceId": "req-immutable",
|
|
1124
1307
|
"targetId": "need",
|
|
1125
1308
|
"relationType": "derives",
|
|
1126
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1309
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1127
1310
|
},
|
|
1128
1311
|
{
|
|
1129
1312
|
"id": "req-build-id--derives--need",
|
|
1130
1313
|
"sourceId": "req-build-id",
|
|
1131
1314
|
"targetId": "need",
|
|
1132
1315
|
"relationType": "derives",
|
|
1133
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1316
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1134
1317
|
},
|
|
1135
1318
|
{
|
|
1136
1319
|
"id": "req-notes-commits--derives--need",
|
|
1137
1320
|
"sourceId": "req-notes-commits",
|
|
1138
1321
|
"targetId": "need",
|
|
1139
1322
|
"relationType": "derives",
|
|
1140
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1323
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1141
1324
|
},
|
|
1142
1325
|
{
|
|
1143
1326
|
"id": "req-changelog-entry--derives--need",
|
|
1144
1327
|
"sourceId": "req-changelog-entry",
|
|
1145
1328
|
"targetId": "need",
|
|
1146
1329
|
"relationType": "derives",
|
|
1147
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1330
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1148
1331
|
},
|
|
1149
1332
|
{
|
|
1150
1333
|
"id": "req-pr-labels--derives--need",
|
|
1151
1334
|
"sourceId": "req-pr-labels",
|
|
1152
1335
|
"targetId": "need",
|
|
1153
1336
|
"relationType": "derives",
|
|
1154
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1337
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1155
1338
|
},
|
|
1156
1339
|
{
|
|
1157
1340
|
"id": "req-latest-only--derives--need",
|
|
1158
1341
|
"sourceId": "req-latest-only",
|
|
1159
1342
|
"targetId": "need",
|
|
1160
1343
|
"relationType": "derives",
|
|
1161
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1344
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1162
1345
|
},
|
|
1163
1346
|
{
|
|
1164
1347
|
"id": "req-lts-policy--derives--need",
|
|
1165
1348
|
"sourceId": "req-lts-policy",
|
|
1166
1349
|
"targetId": "need",
|
|
1167
1350
|
"relationType": "derives",
|
|
1168
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1351
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1169
1352
|
},
|
|
1170
1353
|
{
|
|
1171
1354
|
"id": "req-backport--derives--need",
|
|
1172
1355
|
"sourceId": "req-backport",
|
|
1173
1356
|
"targetId": "need",
|
|
1174
1357
|
"relationType": "derives",
|
|
1175
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1358
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1176
1359
|
},
|
|
1177
1360
|
{
|
|
1178
1361
|
"id": "req-owner-approves--derives--need",
|
|
1179
1362
|
"sourceId": "req-owner-approves",
|
|
1180
1363
|
"targetId": "need",
|
|
1181
1364
|
"relationType": "derives",
|
|
1182
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1365
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1183
1366
|
},
|
|
1184
1367
|
{
|
|
1185
1368
|
"id": "req-auto-release--derives--need",
|
|
1186
1369
|
"sourceId": "req-auto-release",
|
|
1187
1370
|
"targetId": "need",
|
|
1188
1371
|
"relationType": "derives",
|
|
1189
|
-
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/;
|
|
1372
|
+
"quote": "People and tools outside the team take this element's releases: they need to know which version they run, what changed in it, whether upgrading breaks them, and how long it will get fixes. Every release has to answer those questions the same way, from a process that runs without heroics and leaves a release as it was published. The snippets assume a GitHub repository (our-org/shop) whose releases are GitHub releases tagged v<version> with their notes in the body; shipped code under src/; CHANGELOG.md and SECURITY.md (with a Supported versions table of rows such as | 2.x | ✅ |, newest first) at the root; maintenance branches release/<line>.x; the deployment manifests under deploy/; a GET /version endpoint (a /version.json file for a web app) answering with the version and commit; and, where the interface shows the version, an element marked data-testid=\"app-version\" in the footer or on the About page."
|
|
1190
1373
|
},
|
|
1191
1374
|
{
|
|
1192
1375
|
"id": "sc-version-visible--verifies--req-version-visible",
|
|
@@ -1194,6 +1377,24 @@
|
|
|
1194
1377
|
"targetId": "req-version-visible",
|
|
1195
1378
|
"relationType": "verifies"
|
|
1196
1379
|
},
|
|
1380
|
+
{
|
|
1381
|
+
"id": "sc-version-shown--verifies--req-version-shown",
|
|
1382
|
+
"sourceId": "sc-version-shown",
|
|
1383
|
+
"targetId": "req-version-shown",
|
|
1384
|
+
"relationType": "verifies"
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"id": "sc-version-header--verifies--req-version-header",
|
|
1388
|
+
"sourceId": "sc-version-header",
|
|
1389
|
+
"targetId": "req-version-header",
|
|
1390
|
+
"relationType": "verifies"
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
"id": "sc-version-logs--verifies--req-version-logs",
|
|
1394
|
+
"sourceId": "sc-version-logs",
|
|
1395
|
+
"targetId": "req-version-logs",
|
|
1396
|
+
"relationType": "verifies"
|
|
1397
|
+
},
|
|
1197
1398
|
{
|
|
1198
1399
|
"id": "sc-semver--verifies--req-semver",
|
|
1199
1400
|
"sourceId": "sc-semver",
|
|
@@ -1290,6 +1491,42 @@
|
|
|
1290
1491
|
"targetId": "adr-build-id",
|
|
1291
1492
|
"relationType": "implements"
|
|
1292
1493
|
},
|
|
1494
|
+
{
|
|
1495
|
+
"id": "ff-version-shown--implements--adr-semver",
|
|
1496
|
+
"sourceId": "ff-version-shown",
|
|
1497
|
+
"targetId": "adr-semver",
|
|
1498
|
+
"relationType": "implements"
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"id": "ff-version-shown--implements--adr-calver",
|
|
1502
|
+
"sourceId": "ff-version-shown",
|
|
1503
|
+
"targetId": "adr-calver",
|
|
1504
|
+
"relationType": "implements"
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"id": "ff-version-shown--implements--adr-build-id",
|
|
1508
|
+
"sourceId": "ff-version-shown",
|
|
1509
|
+
"targetId": "adr-build-id",
|
|
1510
|
+
"relationType": "implements"
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"id": "ff-version-everywhere--implements--adr-semver",
|
|
1514
|
+
"sourceId": "ff-version-everywhere",
|
|
1515
|
+
"targetId": "adr-semver",
|
|
1516
|
+
"relationType": "implements"
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
"id": "ff-version-everywhere--implements--adr-calver",
|
|
1520
|
+
"sourceId": "ff-version-everywhere",
|
|
1521
|
+
"targetId": "adr-calver",
|
|
1522
|
+
"relationType": "implements"
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"id": "ff-version-everywhere--implements--adr-build-id",
|
|
1526
|
+
"sourceId": "ff-version-everywhere",
|
|
1527
|
+
"targetId": "adr-build-id",
|
|
1528
|
+
"relationType": "implements"
|
|
1529
|
+
},
|
|
1293
1530
|
{
|
|
1294
1531
|
"id": "ff-semver-release--implements--adr-semver",
|
|
1295
1532
|
"sourceId": "ff-semver-release",
|