flavorpack 2026-03-21
Release 0.10.0 with comprehensive test and CI improvements
101 files · 6,614+ · 1,286-

Memray memory profiling test suite

35 files changed
  • test_api.py Updated tests for api
  • conftest.py Updated tests for conftest
  • test_bundle_execution.py Updated tests for bundle_execution
  • test_hypothesis_invariants.py Updated tests for hypothesis_invariants
  • test_launcher_execution.py Updated tests for launcher_execution
  • test_metadata_assembly.py Updated tests for metadata_assembly
  • test_metadata_validation.py Updated tests for metadata_validation
  • test_operation_chains.py Updated tests for operation_chains
  • test_paths_utils.py Updated tests for paths_utils
  • test_pe_directories.py Updated tests for pe_directories
  • test_pe_utils.py Updated tests for pe_utils
  • test_security.py Updated tests for security
  • test_security_failure_branches.py Updated tests for security_failure_branches
  • test_slots.py Updated tests for slots
  • test_spec.py Updated tests for spec
  • test_validation_extra.py Updated tests for validation_extra
  • test_workenv_commands.py Updated tests for workenv_commands
  • test_workenv_core.py Updated tests for workenv_core
  • test_workenv_directories.py Updated tests for workenv_directories
  • test_xor.py Updated tests for xor
  • test_binary_loader_extra.py Updated tests for binary_loader_extra
  • test_binary_loader_helpers.py Updated tests for binary_loader_helpers
  • __init__.py Updated tests for __init__
  • baselines.json Updated tests for baselines.json
  • conftest.py Updated tests for conftest
  • test_builder_memory.py Updated tests for builder_memory
  • test_operations_memory.py Updated tests for operations_memory
  • test_reader_memory.py Updated tests for reader_memory
  • test_slot_descriptor_memory.py Updated tests for slot_descriptor_memory
  • test_xor_memory.py Updated tests for xor_memory
  • test_wheel_builder.py Updated tests for wheel_builder
  • test_wheel_builder_critical.py Updated tests for wheel_builder_critical
  • test_keys.py Updated tests for keys
  • test_orchestrator_helpers_core.py Updated tests for orchestrator_helpers_core
  • test_locking.py Updated tests for locking
  • Added memray-based memory regression tests for five subsystem hot paths: builder, operations, reader, slot descriptor, and XOR. Each test exercises its path and asserts peak allocations stay within baselines.json thresholds. Marked with the memray pytest marker and excluded from the default test run. Standalone stress scripts drive higher-load scenarios for profiling. qualify internal
    1 file
    • baselines.json

Uv wheel collection fixes for offline and CI environments

6 files changed
  • 01-helper-prep.yml Updated CI workflow
  • 02-pretaster-pipeline.yml Updated CI workflow
  • 03-flavor-pipeline.yml Updated CI workflow
  • 04-taster-pipeline.yml Updated CI workflow
  • 05-code-quality.yml Updated CI workflow
  • 07-dependency-audit.yml Updated CI workflow
  • uv export –frozen now used instead of uv pip compile when a uv.lock exists, avoiding all PyPI/DNS calls for offline builds. –no-hashes strips hash annotations that cause uv to require exact cached versions (caused failures when GHA uv tool install caches a different version than uv.lock). remediate behavioral
  • Local file:// entries (root project as editable install) stripped from uv export output before wheel collection — these can’t be pip-downloaded and represent source packages built separately. remediate behavioral
  • Three-tier download fallback: (1) pip download, (2) uv pip download –offline (reads local cache), (3) uv pip install+cache with network. UV fallback log level raised to WARNING so failures surface in CI diagnostics. harden behavioral

Python distribution discovery robustness

  • Python distribution discovery hardened: uses uv default managed location as fallback when installation path not found; skips root ‘.’ tar entry to avoid EISDIR on arm64 Python distributions; dereferences symlinks/hardlinks when creating Python tarballs. remediate behavioral

Go/Rust dependency updates and fuzz/property tests

18 files changed
  • .act.secrets.example Updated .act.secrets.example
  • .actrc Updated .actrc
  • .gitignore Updated git ignore rules
  • VERSION Version bump
  • pyproject.toml Updated project configuration
  • main.go Updated Go main module
  • main.go Updated Go main module
  • go.mod Updated Go binary
  • go.sum Updated Go binary
  • fuzz_test.go Updated Go fuzz_test module
  • fuzz_test.go Updated Go fuzz_test module
  • Cargo.lock Updated Rust Cargo.lock module
  • Cargo.toml Updated Rust Cargo.toml module
  • extraction.rs Updated Rust extraction module
  • operations.rs Updated Rust operations module
  • version.rs Updated Rust version module
  • uv.lock Updated dependency lock file
  • wrknv.toml Updated wrknv.toml
  • Go updated to 1.26.1, Rust stabilized at 1.94.0 with full dep update. Added Go fuzz tests for PSP format 2025 and shellparse. Rust proptest property-based tests added for PSP operations. qualify internal
    1 file
    • operations.rs

Makefile, act CI config, and test tooling

8 files changed
  • Makefile Updated build targets
  • memray_analysis.py Updated memray_analysis.py script
  • memray_builder_stress.py Updated memray_builder_stress.py script
  • memray_operations_stress.py Updated memray_operations_stress.py script
  • memray_reader_stress.py Updated memray_reader_stress.py script
  • memray_slot_descriptor_stress.py Updated memray_slot_descriptor_stress.py script
  • memray_xor_stress.py Updated memray_xor_stress.py script
  • run_memray_stress.py Updated run_memray_stress.py script
  • Added Makefile with targets for build, test, memray stress, and CI simulation via act. wrknv.toml gains memray task group. .act.secrets.example documents required secrets for local CI testing. baseline internal
    1 file
    • Makefile

CI workflow fixes

2 files changed
  • create-pretaster-matrix.sh Updated CI script
  • run-tests.sh Updated CI script
  • Replaced retired macos-13 runner with macos-15-intel in pretaster and taster matrices. Added continue-on-error for windows_amd64 builds on known DNS failure in GHA runner environment. Updated scripts for new uv export –frozen strategy. remediate internal

Expanded test coverage

9 files changed
  • test-init-cleanup.json Updated tests for test-init-cleanup.json
  • test-permissions.json Updated tests for test-permissions.json
  • init_cleanup_check.sh Updated shell script
  • permission_test.sh Updated shell script
  • marker.txt Updated tests for marker.txt
  • test-pretaster.sh Updated shell script
  • exec_test.py Updated taster exec_test command
  • test_cross_language_operations.py Updated taster test for cross_language_operations
  • test_verify_json.py Updated taster test for verify_json
  • Significant test suite expansion: new hypothesis-based invariant tests, PE directory tests, security branch coverage, slot descriptor tests, XOR tests, extra binary loader tests. Pretaster configs and scripts extended to cover init/cleanup and permission scenarios. qualify internal

0.3.21 release

23 files changed
  • __init__.py Updated __init__ module
  • binary_loader.py Updated binary_loader module
  • orchestrator_helpers.py Updated orchestrator_helpers
  • dependency_resolver.py Updated dependency_resolver packager
  • dist_manager.py Updated dist_manager packager
  • environment_builder.py Updated environment_builder packager
  • packager.py Updated packager packager
  • pypapip_manager.py Updated pypapip_manager packager
  • slot_builder.py Updated slot_builder packager
  • uv_manager.py Updated uv_manager packager
  • wheel_builder.py Updated wheel_builder packager
  • builder.py Updated PSP builder
  • environment.py Updated PSP environment
  • executor.py Updated PSP executor
  • extraction.py Updated PSP extraction
  • launcher.py Updated PSP launcher
  • directories.py Updated PSP directories
  • sections.py Updated PSP sections
  • workenv.py Updated PSP workenv
  • writer.py Updated PSP writer
  • security.py Updated PSP security
  • log_guards.py Updated log_guards utility
  • xor.py Updated xor utility
  • Bumped VERSION to 0.3.21. Pinned provide-foundation>=0.3.21 in pyproject.toml. Registered memray pytest marker and excluded memray tests from default run. Applied ruff format pass across updated files. baseline internal