Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if lockfile is valid before composing bundle #3077

Merged

Conversation

vinistock
Copy link
Member

@vinistock vinistock commented Jan 17, 2025

Motivation

After #3066 moves forward, we can start getting smarter about our checks of when it's valid to restart. For example, we don't need to go all the way to composing the bundle, if we already know the lockfile's syntax is invalid.

Implementation

Started parsing the lockfile before composing the bundle, so that we can more quickly reject a restart request if there's an issue.

Automated Tests

Added a test.

@vinistock vinistock added server This pull request should be included in the server gem's release notes enhancement New feature or request labels Jan 17, 2025 — with Graphite App
Copy link
Member Author

vinistock commented Jan 17, 2025

@vinistock vinistock self-assigned this Jan 17, 2025
@vinistock vinistock marked this pull request as ready for review January 17, 2025 19:21
@vinistock vinistock requested a review from a team as a code owner January 17, 2025 19:21
Copy link
Member Author

vinistock commented Jan 23, 2025

Merge activity

  • Jan 23, 9:45 AM EST: A user started a stack merge that includes this pull request via Graphite.
  • Jan 23, 9:48 AM EST: Graphite rebased this pull request as part of a merge.
  • Jan 23, 10:14 AM EST: A user merged this pull request with Graphite.

@vinistock vinistock changed the base branch from 01-14-check_if_bundle_is_valid_before_restarting to graphite-base/3077 January 23, 2025 14:45
@vinistock vinistock changed the base branch from graphite-base/3077 to main January 23, 2025 14:46
@vinistock vinistock force-pushed the 01-17-check_if_lockfile_is_valid_before_composing_bundle branch from 98a89e8 to e901279 Compare January 23, 2025 14:47
@vinistock vinistock merged commit 20c3979 into main Jan 23, 2025
42 checks passed
@vinistock vinistock deleted the 01-17-check_if_lockfile_is_valid_before_composing_bundle branch January 23, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants