test: verify Copier template lifecycle - #24
Merged
Conversation
- Generate a project from the v1.0.0 template revision - Update the generated Git repository to the current template revision - Build and verify source and wheel distributions after the update
mjun0812
commented
Sep 2, 2026
mjun0812
left a comment
OwnerAuthor
There was a problem hiding this comment.
Codex PR Review
Summary
This pull request adds CI coverage for updating a project generated from v1.0.0 to the current template and building its distributions. No blocking findings were confirmed. The Contract axis was skipped because no spec source was available.
Verdict
APPROVE
Findings
N/A
Reviewed by Codex at 42177d8
Uh oh!
There was an error while loading. Please reload this page.
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 freeto 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.
Overview and Background
Add a dedicated CI job that validates the generated project's full Copier lifecycle. The existing matrix verifies a fresh copy and its development checks, but it did not prove that a project produced by an older template revision can update to the current revision or that the resulting package builds.
Related Issues
None.
Implementation Approach
Generate the fixture from the immutable
v1.0.0tag, commit it as a Git repository as required by Copier updates, then update it using the currentHEAD. The job asserts both a generated diff and a changed recorded template revision before building the package. This uses the actual historical-to-current Copier path instead of duplicating the fresh-copy matrix.Changes
Template lifecycleCI job with complete Git history so the historical tag is available.Impact
CI gains one lifecycle job. Generated project contents, template behavior, compatibility, security, and deployment behavior are unchanged.
Validation Results
Passed.
Passed: Copier updated the project from
v1.0.0to the current revision, produced a non-empty project diff, and builtlifecycle_project-0.0.1.tar.gzpluslifecycle_project-0.0.1-py3-none-any.whl.