0.6.0 fixes, bunch 8: tooling and tests #1230
No reviewers
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo!1230
Loading…
Reference in a new issue
No description provided.
Delete branch "b8-tooling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bunch 8 of the 0.6.0 fixes: tooling and tests. One signed commit per issue or item, then the changelog lines; merge fast-forward-only.
.env,node_modules, the datasets), and the shared stash and one-heavy-suite-at-a-time warnings. A section only, as decided.postulo.plugins.testing.cached_django_db_setup()keeps the migrated test database, keyed by every migration file, what they import and the versions involved, and restores it with SQLite's backup API; a second local run of one test file starts in about a second where migrating took 88 s or more. Off on CI (core CI migrates as before), on locally;POSTULO_TEST_DB_CACHEforces it either way or names the directory. Plugin repositories adopt it with their next repin.extractfinds the catalogue sets once and prunes its walks (extract --checkfrom 83-103 s to 29-39 s locally, output byte-identical), and writes only the catalogues whose text changed.compileparses each catalogue once and packs a.mofile's tables in one go (from 43-56 s to 27 s); all 2,352.mofiles andstatus.jsonare byte-identical to before.main's push run for bunch 7 (run 1904) failed on it under host load, and passed alone a minute later.Tested locally: lint, migration and catalogue checks (the new
extractwrote nothing: 0 written, 2,352 unchanged), and the full unit suite (16,337 passed, 167 skipped: fewer items now that the template lints are one test per template; 9 min 12 s, against about 14 before).#1033 stays open: items 4 and 5 (the image) and item 9 (the migration count) remain.
🤖 Generated with Claude Code