GeezerVison is showing github.com — fork seams: announce a new seam line, then add it; list guards and op… · scuttletoby/t3code@c631798
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: .github/fork-seams.json +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | | - "//": "Upstream files with fork lines, and every line the fork may add to each (indentation and blank lines ignored). Checked by .github/scripts/fork-seam-check.cjs against the base branch's copy of this file; see docs/fork/updates.md.", | | 2 | + "//": "Upstream files with fork lines, and every line the fork may add to each (indentation and blank lines ignored). Checked by .github/scripts/fork-seam-check.cjs against the base branch's copy of this file; see docs/fork/updates.md. A new line is first announced in its entry (\"announced\": {\"since\": day, \"added\": [lines]}), then added by a later pull request that moves it to \"added\" (docs/fork/updates.md, Adding a seam line).", | 3 | 3 | "files": { | 4 | 4 | "packages/contracts/src/settings.ts": { | 5 | 5 | "why": "Fork settings live in forkSettings.ts; settings.ts takes them with one spread per struct. automaticUpdates stays inline: upstream's pending setting has the same name and place.", | | 211 | 211 | "apps/server/src/waits/", | 212 | 212 | "apps/server/src/workAdmission*", | 213 | 213 | "apps/web/src/clientPersistenceStorage.removedKeys.test.ts", | 214 | | - "apps/web/src/components/chat/MarkdownFileLink.logic.test.ts", | 215 | 214 | "apps/web/src/components/settings/WaitsAndSlotsSettings*", | 216 | 215 | "apps/web/src/components/settings/waitsAndSlotsSettings*", | 217 | 216 | "packages/contracts/src/editor.test.ts", | | 226 | 225 | "packages/shared/src/capacity*", | 227 | 226 | "packages/shared/src/waitFor*", | 228 | 227 | "scripts/lib/release-repository.ts", | 229 | | - "scripts/release-repository.test.ts" | | 228 | + "scripts/release-repository.test.ts", | | 229 | + "!scripts/scenarios/fork-title-regenerates-from-inherited-history.e2e.ts" | 230 | 230 | ], | 231 | | - "//lost": "Seam and pending files that lost upstream lines, counted from upstream (as fork-follow runs the check): \"lines\", the upstream lines not kept in order and indentation; \"gone\", those whose text is gone. Held exactly, like a ceiling; an unlisted file counts 0. Lower a count when a line comes back, and keep each one small: a line counted here may move unseen.", | | 231 | + "//lost": "Seam and pending files that lost upstream lines, counted from upstream (as fork-follow runs the check): \"lines\", the upstream lines not kept in order and indentation; \"gone\", those whose text is gone. Held exactly, like a ceiling; an unlisted file counts 0. Lower a count when a line comes back, and keep each one small: a count is not a set of lines, so a line counted here may move unseen, and in a pending file a pull request can put back one gone upstream line and delete another with both counts unchanged.", | 232 | 232 | "lost": { | 233 | 233 | "packages/shared/src/serverSettings.ts": { | 234 | 234 | "lines": 1, | |
Collapse file Copy file name to clipboardExpand all lines: .github/scripts/fork-follow.sh +2-1Lines changed: 2 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -195,7 +195,8 @@ seam_check() { # seam_check BASE WHAT [--after-rebase] | 195 | 195 | return 0 | 196 | 196 | fi | 197 | 197 | if ((status == 1)) && grep -qF "$seam_refusal" "$logs/seam-check.log"; then | 198 | | - fail "$2 does not fit the seam list (.github/fork-seams.json):" '```' "$(cat "$logs/seam-check.log")" '```' | | 198 | + fail "$2 does not fit the seam list (.github/fork-seams.json):" '```' "$(cat "$logs/seam-check.log")" '```' \ | | 199 | + "The series was left as it is." | 199 | 200 | fi | 200 | 201 | fail "The seam check crashed (exit $status), so it did not say whether the series stays within the seams:" \ | 201 | 202 | '```' "$(tail -n 20 "$logs/seam-check.log")" '```' "The series was left as it is." | |
Collapse file Copy file name to clipboardExpand all lines: .github/scripts/fork-follow.test.sh +1Lines changed: 1 addition & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -417,6 +417,7 @@ seams "fork seam" "inline fork line" | 417 | 417 | plan | 418 | 418 | check "plan: a fork line beyond the seams stops the plan, naming it" \ | 419 | 419 | eval 'has "The series does not fit the seam list" "$root/report.md" && has "inline fork line" "$root/report.md" && [[ -z "$(out action)" ]]' | | 420 | +check "plan: the seam refusal says the series was left as it is" has "The series was left as it is" "$root/report.md" | 420 | 421 |
| 421 | 422 | # Round 5: upstream workflow files the fork deletes (.github/fork-removed-workflows.txt) stay | 422 | 423 | # deleted on every follow, and a new upstream workflow that someone outside the fork can start | |
|