refactor: Split shared artifact construction into cohesive modules #324

Open
erikinkinen wants to merge 3 commits from feature/shared-object-builder-modules into feature/declared-dependency-feature-selection
Owner

Split the shared-object builder into canonical record, selected-manifest and registry serialization modules. The entry is now 756 lines, leaving room for native command consumers. Original function bodies, compiler arguments, source links and ordered registry bytes are preserved.

Every extracted helper remains an explicit input of both cache contracts. Registry records continue to describe observations without conferring execution authority.

  • Canonical immutable records and selected manifest transformations
  • Original registry wire bytes and source/cache input contracts
  • Existing compiler, cache and source-integrity controls

Depends on #323.

Split the shared-object builder into canonical record, selected-manifest and registry serialization modules. The entry is now 756 lines, leaving room for native command consumers. Original function bodies, compiler arguments, source links and ordered registry bytes are preserved. Every extracted helper remains an explicit input of both cache contracts. Registry records continue to describe observations without conferring execution authority. - [x] Canonical immutable records and selected manifest transformations - [x] Original registry wire bytes and source/cache input contracts - [x] Existing compiler, cache and source-integrity controls Depends on [#323](https://git.erikinkinen.fi/erix/integration/pulls/323).
erikinkinen added this to the Alpha 1 milestone 2026-11-05 19:48:04 +01:00
refactor: Split shared-object builder responsibilities
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 5s
CI / rust (push) Failing after 2m0s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
2021092532
Keep canonical package and artifact records, selected manifest transformations and ordered registry serialization in separate defining modules. Preserve existing compiler commands, signatures and wire bytes while leaving room for native command consumers in the entry.

Declare every extracted body in both compiler cache input contracts so source changes remain visible before artifact reuse. Registry observations remain data and confer no native execution authority.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
1264c000ff
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / rust (push) Failing after 5m30s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
bc4549fb29
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 10s
CI / rust (push) Failing after 5m30s
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/shared-object-builder-modules:feature/shared-object-builder-modules'
git switch 'feature/shared-object-builder-modules'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/declared-dependency-feature-selection'
git merge --no-ff 'feature/shared-object-builder-modules'
git switch 'feature/shared-object-builder-modules'
git rebase 'feature/declared-dependency-feature-selection'
git switch 'feature/declared-dependency-feature-selection'
git merge --ff-only 'feature/shared-object-builder-modules'
git switch 'feature/shared-object-builder-modules'
git rebase 'feature/declared-dependency-feature-selection'
git switch 'feature/declared-dependency-feature-selection'
git merge --no-ff 'feature/shared-object-builder-modules'
git switch 'feature/declared-dependency-feature-selection'
git merge --squash 'feature/shared-object-builder-modules'
git switch 'feature/declared-dependency-feature-selection'
git merge --ff-only 'feature/shared-object-builder-modules'
git switch 'feature/declared-dependency-feature-selection'
git merge 'feature/shared-object-builder-modules'
git push origin 'feature/declared-dependency-feature-selection'
Sign in to join this conversation.
No description provided.