Repository navigation
Commit c5fe066
docs(exit-pre-sidecar): correct a false catalog claim and document the falsifiers
The module docstring told readers the catalog's min_version was 5.0 and
wrong. It has been 5.1 since the example's introducing commit, so the
note was never true and sent anyone who read it to "fix" a correct
catalog row.
Re-verified the version claim against all three binaries:
hasattr(bpy.app.handlers, "exit_pre") is False on 4.5.11 LTS and True on
5.1.2 and 5.2.1 LTS, and exit_pre is the only exit- or quit-related name
in bpy.app.handlers on the versions that have it -- so there is no older
spelling to fall back to. The documented behaviour is correct.
README also now:
- states the contract and why it matters (atexit is the bug class this
catches), with the 4.5 and 5.2 bpy.app.handlers API links
- explains that exiting 77 on 4.5 is correct by design, and what stops a
skip from spreading: min_version 5.1, the runner failing a skip above
the floor, and summarize.py reddening an all-skip job
- enumerates the falsifiers in a table with what each breaks, its script
exit and how the harness fails, and names --write-in-main and
--atexit-instead as the two an existence-only check would pass, which
is why the catalog row carries sidecar_contains
Contract, assertions and exit codes unchanged. Verified before and after
on 4.5.11, 5.1.2 and 5.2.1: default SKIP/PASS/PASS, all five harness
falsifiers FAIL, --force-run exits 2 on 4.5, plain default exits 77.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: TMHSDigital <154358121+TMHSDigital@users.noreply.github.com>1 parent 7356ecb commit c5fe066
2 files changed
Lines changed: 70 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
12 | 11 | | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
19 | 71 | | |
20 | 72 | | |
21 | 73 | | |
| |||
28 | 80 | | |
29 | 81 | | |
30 | 82 | | |
| 83 | + | |
| 84 | + | |
31 | 85 | | |
32 | 86 | | |
33 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
0 commit comments