fix: regenerate lockfile by default on extras-integration (FXC-4769)#3202
Merged
daquinteroflex merged 1 commit intodevelopfrom Jan 26, 2026
Merged
fix: regenerate lockfile by default on extras-integration (FXC-4769)#3202daquinteroflex merged 1 commit intodevelopfrom
daquinteroflex merged 1 commit intodevelopfrom
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
Contributor
Diff CoverageDiff: origin/develop...HEAD, staged and unstaged changesNo lines with coverage information in this diff. |
Collaborator
Author
|
So this is intentional. The issue is that lock-filing is not really applicable with tidy3d-extras until we have a proper daily versioning flow, which we want to enable but right now there is no bandwidth. So this is a temporary change to verify the integration tests always run with the latest tidy3d-extras without needing to manually regenerate the lockfile. |
marcorudolphflex
approved these changes
Jan 26, 2026
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.
Note
Ensures dependencies are freshly resolved during CI for extras integration tests.
regenerate-lockfilestep (poetry update --lock) after CodeArtifact auth and before project install in bothintegration-tests-basicandintegration-tests-fulljobsWritten by Cursor Bugbot for commit dc32360. This will update automatically on new commits. Configure here.
Greptile Overview
Greptile Summary
Adds
poetry update --lockstep to bothintegration-tests-basicandintegration-tests-fulljobs to regenerate the lockfile before installing dependencies, ensuring tests run against freshly resolved dependencies from CodeArtifact.Key concerns:
poetry update --lockon every CI run means tests execute against different dependency versions than the committedpoetry.lock, which defeats the purpose of lockfiles and can mask version-specific issuesAlternative approaches to consider:
poetry lock --checkto validate the existing lockfile is up-to-dateConfidence Score: 2/5
.github/workflows/tidy3d-extras-python-client-tests-integration.yml- the lockfile regeneration strategy should be reconsideredImportant Files Changed
regenerate-lockfilestep usingpoetry update --lockto both integration test jobs; this regenerates dependencies on every CI run which may mask dependency issues and increase build timesSequence Diagram
sequenceDiagram participant GHA as GitHub Actions participant AWS as AWS CodeArtifact participant Poetry as Poetry participant Tests as Integration Tests GHA->>GHA: Checkout code GHA->>GHA: Setup Python & Poetry GHA->>AWS: Configure AWS credentials GHA->>AWS: Get CodeArtifact auth token AWS-->>GHA: Return auth token GHA->>Poetry: Configure CodeArtifact credentials Note over Poetry: NEW STEP GHA->>Poetry: poetry update --lock Poetry->>AWS: Fetch latest dependency versions AWS-->>Poetry: Return dependency metadata Poetry->>Poetry: Regenerate poetry.lock Note over Poetry: Lock file now has fresh versions GHA->>Poetry: poetry install -E extras -E dev Poetry->>AWS: Download dependencies AWS-->>Poetry: Return packages Poetry->>GHA: Installation complete GHA->>Tests: Run integration tests Tests-->>GHA: Test results