Repository navigation
build: make ordinary validation workspace-first - #2911
Merged
Merged
Conversation
Co-authored-by: Mecatl <[email protected]>
Use a shared Task workspace default while preserving caller overrides and explicit workspace/standalone modes. Clarify contributor guidance and remove costly, redundant test machinery. Co-authored-by: Mecatl <[email protected]>
Stub ko alongside the other Kind prerequisites so infrastructure tests do not depend on developer-installed tools. Remove assertions that pin the old Taskfile command spelling and standalone default rather than updating them to another implementation snapshot. Co-authored-by: Mecatl <[email protected]>
Focus development guidance on task selection, validation, and metadata repair. Move publication and recovery to a separate guide and update the release and reading-map pointers. Co-authored-by: Mecatl <[email protected]>
Replace per-module candidate validation and repair with native workspace synchronization. Enforce synchronization in PR validation and publication preflight, then synchronize final adoption metadata while preserving standalone release qualification. Co-authored-by: Mecatl <[email protected]>
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.
Summary
GOWORK, includingoff, overrides ordinary Task defaults; explicit workspace and standalone tasks still select their named mode.go work syncfor workspace-wide dependency alignment.task deps:syncupdates metadata;task test:workspace-syncruns sync and fails on uncommitted metadata.task tidyaliases sync; targeted standalone tidy remains available.Why change Kind's dependency mode?
Official application archives and official
mecak8simages compile sibling modules from the immutable release checkout throughgo.work. Kind previously built fresh root application/fixture code withGOWORK=off, linking published engine/adapters/providers rather than their checkout source. That could ignore the nested-module changes under review, or reject a coordinated unpublished API change that the actual release build would accept.Default Kind E2E uses the same source-selection model as the application we ship, unless the caller explicitly overrides
GOWORK. The explicit pinned variant reuses the same suite when published-dependency evidence is wanted; it is not a second mandatory ordinary PR run. Third-party dependencies and container base images remain pinned. Module publication continues its own standalone and public-consumer proofs; it does not run the full pinned Kind suite.Implementation notes
GOWORK=off. Module-local replacements still apply to standalone commands.go.work.sumremains ignored supplemental state; checksum verification stays enabled.API compatibility
Build and validation policy only. No remote-observable API, protocol major, feature identifier, public Go API, or stored-data contract changes. No client upgrade or migration is required.
Verification
Latest workspace-sync transition passed locally with Go 1.27.3:
task test:workspace-infrastructure: 8 metadata and 11 workspace tests.task test:module-publication-tools: 55 helper and 26 writer tests, plus the Go workflow contract exercising workflow-specific fixtures.task test:workspace-sync,task docs,task lint:actions, and whitespace checks.Real fixtures exercise dependency-version drift, committed-metadata enforcement, stale preflight rejection, and sync-only adoption changes. No dependency pins or checksums changed in this checkout.
The earlier workspace-default implementation passed the complete offline normal/race suites, Go lint,
task check:pr, and the offline demo. Those broad Go suites were not repeated for this build/tooling-only transition. Live deployment E2E and paid-provider tests were not run locally; existing CI owns deployment coverage.