ci: fix CI workflow -- rename seam-core paths to seam#21
Merged
Conversation
PackBuild was incorrectly registered as a Kubernetes CRD. It is a Compiler input YAML format only. The type, CRD YAML, and all deepcopy functions for InfrastructurePackBuild, InfrastructurePackBuildList, InfrastructurePackBuildSpec, InfrastructurePackBuildStatus, InfrastructurePackHelmSource, InfrastructurePackKustomizeSource, and InfrastructurePackRawSource are removed. The conductor Compiler retains its private PackBuildInput type in cmd/compiler/. seam-core, conductor, and wrapper all build clean after removal.
Delete the five type files migrated to wrapper/api/seam/v1alpha1/: InfrastructureClusterPack, InfrastructurePackExecution, InfrastructurePackInstance, InfrastructurePackReceipt, PackOperationResult. Delete their corresponding infrastructure.ontai.dev CRD YAML files. Remove deepcopy implementations for all five. Update conditions.go and validate.go to remove references. Delete the packoperationresult unit test that was testing the now-removed type.
Removes taloscluster_types.go, its CRD manifest, and all deepcopy entries
for the migrated types. Updates DSNSGVKs and RootDeclarationGVKs to point
to seam.ontai.dev/TalosCluster. Updates all unit tests to the new GVK and
ILI naming convention (taloscluster-{name} instead of infrastructuretaloscluster-{name}).
…-root CRD filter MIGRATION-3.8 Part 1-3 combined: Part 1 -- API group change: seam.ontai.dev replaces infrastructure.ontai.dev for RunnerConfig, LineageRecord, DriftSignal, SeamMembership. New CRDs added under seam.ontai.dev; old infrastructure.ontai.dev CRDs tombstoned (empty spec, deprecated=true annotation). Part 2 -- Type rename cascade: InfrastructureRunnerConfig -> RunnerConfig, InfrastructureLineageIndex -> LineageRecord across all internal consumers: lineage_controller.go, descendant_reconciler.go, dsns_reconciler.go, outcome_reconciler.go, authorship_gate.go, domainref_validation.go, rootbinding_immutability.go, pkg/lineage/descendant.go, and all test files. Part 3 -- LineageController admission filter: IsRootDeclaration checks the infrastructure.ontai.dev/lineage-root label on the CRD object before creating a LineageRecord. Non-root GVKs walk ownerReferences up to 3 hops to find the nearest root; objects with no root within 3 hops requeue with a 5-minute delay. TalosCluster and PackDelivery CRDs carry the lineage-root label. New functions: CRDNameForGVK, IsRootDeclaration, ResolveRootOwner, handleDerivedObject in lineage_controller.go. LabelLineageRoot constant added to pkg/lineage/descendant.go. 12 new unit tests in test/unit/root_filter_test.go covering CRDNameForGVK, IsRootDeclaration, and ResolveRootOwner (1-hop, 2-hop, 3-hop exact, no-owner, exceeds-maxHops). 6 e2e stubs in test/e2e/lineage_root_filter_test.go skipped pending live cluster with MGMT_KUBECONFIG and MIGRATION-3.8 closed. All existing tests updated to add CRD objects to fake clients so IsRootDeclaration resolves correctly. All unit and integration tests pass.
Update go.mod module declaration from github.com/ontai-dev/seam-core to github.com/ontai-dev/seam. Update all internal import paths within the repository to use the new module path. No type or logic changes.
Replace InfrastructureLineageIndex -> LineageRecord and InfrastructureLineageController -> LineageController in all test comments, It() descriptions, and internal error strings. Functional label key strings (infrastructure.ontai.dev/lineage-root, governance.infrastructure.ontai.dev/lineage-index-ref, etc.) and CAPI GVK group references left unchanged -- production code still uses them. All 6 seam test packages pass.
Fresh documentation from current codebase. seam.ontai.dev replaces infrastructure.ontai.dev throughout. Type names updated: LineageRecord, RunnerConfig, DriftSignal, SeamMembership. New seam-schema.md replaces stale seam-core-schema.md (redirect stub left in place).
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
seam-corereferences toseamin the CI workflow (checkout name, path, working-directory, go-version-file)Test plan