feat(workflows): add artifact size budgets - #94
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
Adds a reusable, warning-aware artifact budget contract for JavaScript/web and non-JavaScript outputs without taking ownership of consumer builds.
egohygiene.relay.artifact-budget-report/v1;filesystemandsize-limit-jsonadapters;pass/warn/fail/missing-baseline/unsupportedstates;Authority and safety
contents: readonly and no repository/provider mutation;The consumer owns builds, Size Limit/plugins/lockfile, artifact production, threshold profile, and the advisory/blocking choice.
Tool research
The official Size Limit repository was live and not archived on 2026-09-17. Relay normalized the documented
--jsonboundary at source revisionb1d4c43c6a92ea8b610898d342c9086c66d43ac3instead of adopting a wrapper action. Size Limit remains JavaScript-specific; native binaries, static sites, archives, and exported container-image archives use raw filesystem measurement.Validation
bash -ngit diff --checkpassed79cb82264dbe8be5832025e52e72e2463260615d359dd7792234ef0728d18c3c18d2d0eb088248e2Ruby/Psych is unavailable locally; the repository's exact CI parser remains the final YAML validation gate.
Governance
Roadmap disposition:
evidence-reconciled-no-state-transition.No new ADR is required. This operationalizes the existing externalized-package, least-privilege, immutable-reference, repository-release-unit, and workflow-catalog decisions.
This PR intentionally does not publish
v1.6.0or movev1. Issue #17 should remain open for that later batched release gate.Advances #17