Commit 6a18037
committed
feat(core): introduce global cache metadata and upgrade bubble manifests to schema 2.0
- Add global cache identity fields to MetadataGatherer:
record_hash (byte-level identity), content_hash, wheel_abi_tag, and symlink_targets
- Introduce global_cache_key and resolved_bubble_deps for deterministic deduplication across bubbles
- Upgrade bubble manifests to schema 2.0:
- Embed global cache metadata into .omnipkg_manifest.json
- Add resolved_dependencies snapshot per bubble
- Implement migration logic for legacy manifests
- Stabilize FS watcher operation signaling:
- Add start/end operation protocol using .omnipkg_op.lock
- Suppress false external-change detection during active installs
- Improve daemon coordination to prevent duplicate event emission
- Fix dependency resolution and naming consistency:
- Resolve canonicalization mismatch (hyphen vs underscore)
- Improve metadata builder stability during verification flows
New files:
• tests/test_verify_bubble_deps.py (193 lines)
• tests/test_verify_bubble_deps2.py (127 lines)
Modified:
• src/omnipkg/core.py (+507/-127 lines)
• src/omnipkg/isolation/fs_watcher.py (+293/-16 lines)
• src/omnipkg/isolation/worker_daemon.py (+58/-23 lines)
• src/omnipkg/package_meta_builder.py (+432/-21 lines)
• .gitignore (+1/-0 lines)
[gitship-generated]1 parent f581ac0 commit 6a18037
7 files changed
Lines changed: 1609 additions & 185 deletions
File tree
- src/omnipkg
- isolation
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| 211 | + | |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3084 | 3084 | | |
3085 | 3085 | | |
3086 | 3086 | | |
| 3087 | + | |
| 3088 | + | |
| 3089 | + | |
| 3090 | + | |
3087 | 3091 | | |
3088 | 3092 | | |
3089 | 3093 | | |
| |||
3640 | 3644 | | |
3641 | 3645 | | |
3642 | 3646 | | |
3643 | | - | |
3644 | | - | |
3645 | 3647 | | |
3646 | | - | |
3647 | 3648 | | |
3648 | 3649 | | |
3649 | 3650 | | |
3650 | 3651 | | |
3651 | 3652 | | |
3652 | 3653 | | |
3653 | 3654 | | |
3654 | | - | |
| 3655 | + | |
| 3656 | + | |
3655 | 3657 | | |
3656 | 3658 | | |
3657 | 3659 | | |
3658 | 3660 | | |
3659 | 3661 | | |
3660 | | - | |
3661 | | - | |
3662 | | - | |
3663 | | - | |
3664 | | - | |
3665 | | - | |
3666 | 3662 | | |
3667 | 3663 | | |
3668 | 3664 | | |
3669 | | - | |
3670 | 3665 | | |
3671 | 3666 | | |
3672 | | - | |
3673 | | - | |
3674 | | - | |
3675 | | - | |
| 3667 | + | |
| 3668 | + | |
3676 | 3669 | | |
3677 | | - | |
| 3670 | + | |
3678 | 3671 | | |
3679 | 3672 | | |
3680 | 3673 | | |
3681 | | - | |
3682 | | - | |
3683 | | - | |
3684 | | - | |
3685 | | - | |
3686 | | - | |
3687 | | - | |
| 3674 | + | |
| 3675 | + | |
3688 | 3676 | | |
3689 | 3677 | | |
3690 | 3678 | | |
| |||
3705 | 3693 | | |
3706 | 3694 | | |
3707 | 3695 | | |
| 3696 | + | |
| 3697 | + | |
| 3698 | + | |
| 3699 | + | |
| 3700 | + | |
| 3701 | + | |
| 3702 | + | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
| 3707 | + | |
| 3708 | + | |
| 3709 | + | |
| 3710 | + | |
| 3711 | + | |
| 3712 | + | |
3708 | 3713 | | |
3709 | 3714 | | |
3710 | 3715 | | |
| |||
5675 | 5680 | | |
5676 | 5681 | | |
5677 | 5682 | | |
| 5683 | + | |
| 5684 | + | |
| 5685 | + | |
| 5686 | + | |
| 5687 | + | |
| 5688 | + | |
| 5689 | + | |
| 5690 | + | |
| 5691 | + | |
| 5692 | + | |
| 5693 | + | |
| 5694 | + | |
| 5695 | + | |
| 5696 | + | |
| 5697 | + | |
5678 | 5698 | | |
5679 | 5699 | | |
5680 | 5700 | | |
| |||
6767 | 6787 | | |
6768 | 6788 | | |
6769 | 6789 | | |
| 6790 | + | |
| 6791 | + | |
| 6792 | + | |
| 6793 | + | |
| 6794 | + | |
| 6795 | + | |
| 6796 | + | |
| 6797 | + | |
| 6798 | + | |
| 6799 | + | |
| 6800 | + | |
| 6801 | + | |
| 6802 | + | |
| 6803 | + | |
| 6804 | + | |
6770 | 6805 | | |
6771 | 6806 | | |
6772 | 6807 | | |
| |||
0 commit comments