Commit 27ca7d6
committed
fix(rebase): satisfy fork invariants on new upstream content (gc-5sacl)
Three test adaptations the rebase rework left incomplete on the new upstream layer:
- precommit_contract_test.go: upstream relocated docs/schema/ →
docs/reference/schema/; the pre-commit hook's `git add` now references the new
paths, but the fake-repo fixture still created the old ones, so the hook
aborted with "pathspec docs/reference/schema/openapi.json did not match any
files". Point the placeholders at the relocated paths.
- maintenance_scripts_test.go: the archive seed helpers exec `git commit`
inheriting the host git config; under `make test`'s env -i sandbox (no
SSH_AUTH_SOCK) an inherited commit.gpgsign + gpg.format=ssh fails with
"Couldn't get agent socket?". Route the seed commits through
testutil.IsolatedGitConfig (the fork's host-signing neutralizer), matching
the gastown_test.go helpers.
- examples/gastown/packs/gastown/testenv_import_test.go: remove the stale
testenv stub the gc-k7cex generator run left orphaned (a testenv import in a
directory with no real tests), which TestRequiresDedicatedTestenvImportFile
flags in the full suite. Re-generated via `go run scripts/add-testenv-import.go`
(1 stale removed, 115 dirs already canonical).1 parent b721d7d commit 27ca7d6
3 files changed
Lines changed: 12 additions & 9 deletions
File tree
- examples/gastown
- packs/gastown
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
6866 | 6867 | | |
6867 | 6868 | | |
6868 | 6869 | | |
| 6870 | + | |
| 6871 | + | |
| 6872 | + | |
| 6873 | + | |
6869 | 6874 | | |
6870 | 6875 | | |
6871 | 6876 | | |
| |||
7148 | 7153 | | |
7149 | 7154 | | |
7150 | 7155 | | |
| 7156 | + | |
7151 | 7157 | | |
7152 | 7158 | | |
7153 | 7159 | | |
| |||
7191 | 7197 | | |
7192 | 7198 | | |
7193 | 7199 | | |
| 7200 | + | |
7194 | 7201 | | |
7195 | 7202 | | |
7196 | 7203 | | |
| |||
7264 | 7271 | | |
7265 | 7272 | | |
7266 | 7273 | | |
| 7274 | + | |
7267 | 7275 | | |
7268 | 7276 | | |
7269 | 7277 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
| 252 | + | |
| 253 | + | |
254 | 254 | | |
255 | | - | |
256 | | - | |
| 255 | + | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
0 commit comments