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

Remove support for the v1 launch pattern #1353

Merged
merged 6 commits into from
Apr 24, 2024

Conversation

berroar
Copy link
Contributor

@berroar berroar commented Apr 11, 2024

What is the context of this PR?

Removes support for the v1 launch pattern in Runner (detailed here: ONSdigital/ons-schema-definitions#89). This includes removal of v1 validation of the payload on launch and the old v1 submission formats. Our Metadata structure will now always follow the v2 format, and all tests should now references the v2 pattern (previously there were a mix of v1/v2 tests).

How to review

Check that the v2 launch and submission pattern is still working as expected, and that no references to the v1 launch pattern has been missed.

Check if there are any tests that have been missed that can now be removed.

Checklist

  • New static content marked up for translation
  • Newly defined schema content included in eq-translations repo

@berroar berroar force-pushed the remove-support-for-v1-launch-pattern branch from 543fde1 to d637bef Compare April 12, 2024 08:09
@berroar berroar marked this pull request as ready for review April 12, 2024 09:03
@berroar berroar changed the title Remove support for v1 launch pattern Remove support for the v1 launch pattern Apr 12, 2024
Copy link
Contributor

@liamtoozer liamtoozer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me! Can't spot any references left 👍

app/routes/session.py Outdated Show resolved Hide resolved
Copy link
Contributor

@liamtoozer liamtoozer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! 👍

app/routes/session.py Outdated Show resolved Hide resolved
Copy link
Contributor

@VirajP1002 VirajP1002 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! I tested functionally and successfully opened schemas, I couldn't find any mentions to the v1 launch pattern either 👍

@berroar berroar merged commit 037e039 into main Apr 24, 2024
16 checks passed
@berroar berroar deleted the remove-support-for-v1-launch-pattern branch April 24, 2024 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants