Skip to content

AKO-569 Compact oversized shared build publication payloads - #571

Open
ovvesley wants to merge 2 commits into
mainfrom
AKO-569
Open

ovvesley wants to merge 2 commits into
mainfrom
AKO-569

Conversation

@ovvesley

Copy link
Copy Markdown
Collaborator

Closes #569.

  • Use YAML anchors for identical executable origins and image inspections when a portable definition exceeds the publication limit. The decoded document retains every build context and all inspection metadata.
  • If an experiment bundle is oversized, retain one copy of shared build payloads in its JSON snapshots. The portable workflow preserves a complete executable definition for every activity.
  • Keep the existing size limit and behavior for packages that already fit.

go test ./internal/hubpublish passed, including a regression case with 514 activities. The equivalent compact YAML was imported by an isolated AkôFlow daemon with all 514 embedded archives preserved. A live Hub capture and URI rerun remain to be verified for the rainfall infiltration workflow.

@ovvesley

Copy link
Copy Markdown
Collaborator Author

Local capture replay with the real 514-activity schedule context and the in-progress execution at 466 completed activities: 4,380,717 bytes with required content, 8,033,236 with artifact index, and 6,816,150 with native timeline. Requesting both optional selections together remains over 8 MiB, and returns the expected size-gate error. The portable definition was 494,335 bytes across those selections. Completed-run capture and a Hub URI rerun are still pending.

@ovvesley

Copy link
Copy Markdown
Collaborator Author

Replayed Manager.capture using the completed 514-activity reference projection and real portable plan context. The package with the native timeline passed the 8 MiB size check at 7,972,216 bytes. Its 494,335-byte workflow imported through the daemon workflow import endpoint with all 514 embedded build recipes intact. Public Hub import and the clean run remain pending.

@ovvesley
ovvesley marked this pull request as ready for review November 28, 2026 05:37
@ovvesley

Copy link
Copy Markdown
Collaborator Author

Extended the oversized fallback for the real 1,033-activity IDW reference. Its base package was 9,027,106 bytes and had two exactly equal 1,033-element activity projections. After omitting only the duplicate attempt array, production Community Explorer accepted the private preview with the 1,043,781-byte portable definition. Distinct attempt history remains included. The native timeline was deselected for this preview; the measured PNG and result-bearing GIF are embedded in the draft README.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repeated image inspection pushes shared-recipe workflow exports over 8 MiB

1 participant