Repository navigation
chore: reset migration versions to 0 and drop old compatibility code - #9623
Open
rasswanth-s wants to merge 2 commits into
Open
rasswanth-s wants to merge 2 commits into
rasswanth-s wants to merge 2 commits into
Conversation
Every protocol (syft, syft-job, syft-dataset) and every versioned object goes back to version 0. Older versions, migrations, layouts, release artifacts and fixtures are removed, along with compatibility code for releases up to 0.10.1. Older clients are refused with a clear reason, and a login on an old SyftBox offers a fresh start. The migration framework, protocol negotiation and the release-fixture tooling stay, ready for the next version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The two test accounts are shared with every other run, including runs of other releases. A SyftBox that an unsupported release wrote now stops the login with an offer to start fresh, so the login tests remove both accounts' SyftBoxes first, as the sync tests already do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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
Resets the migration system to a clean start. Every protocol and versioned object in
syft,syft-jobandsyft-datasetis back at version0, and the code that kept older releases (up to 0.10.1) working is removed. Older clients are refused with a clear message.Changes
v0/, and dataset collections use thev0variant.protocol-0.json.MIN_SUPPORTED_SYFT_VERSIONis0.10.2.requests/back-fill, '@' job names,skip_job_namesand other deprecated options (full list inCHANGELOG.md).syft-migrationframework, protocol negotiation and the release-fixture tooling. Fixture generators now run at each package's release tag, anddocs/release.mdlists that step.Testing
syft-rdstest_dataset_only_mock_data_uploaded, also fails ondev.protocol-0.jsonfor each package and the drift checks pass. The release-fixture tests pass against fixtures generated from this code.build/folder in a source checkout still holds the old history files and breaks local job runs. Remove it withrm -rf build.Asana task