Repository navigation
Blog: the migration check that couldn't see a one-line migration (draft, sc-9809) - #300
Draft
ndbroadbent wants to merge 1 commit into
Draft
ndbroadbent wants to merge 1 commit into
ndbroadbent wants to merge 1 commit into
Conversation
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.
A blog post for sc-9809: the migration check whose tests passed while it couldn't see a one-line migration.
draft: true, under Nathan's name.Don't merge until both:
sql_of()and the end-to-end tests, which are in CI: migrations can't collide or be renamed (sc-9611) #262, not on main yet.What it says, each claim checked against its source:
organizations.setup_dismissed_atwhile the old release still selected it. A new project's first build answered 500, and the rerun 90 s later worked. CI: migrations must work with the release still serving (the 4 Dec first-build 500: a dropped column during rollout) #191 has the logs.migration_safety.pywith 5 unit tests. Replaying Organization settings page; setup steps can be shown again once complete #172 failed; 17 other migration commits passed..rsfile on;hid each string's first statement and plaintx.query("…")strings. A planted one-line drop in another Laravel Rust app passed. Organization settings page; setup steps can be shown again once complete #172's own DROP was its string's third statement, so the check caught that one (the story's corrections). A replay of both repositories found nothing that slipped through.sql_of(), the\line-continuation join, the pinned unextracted case and the throwaway-repository test. One continuation test passed without the fix until the break moved betweenCOLUMNand the name.Anonymised: the other app is "another Laravel Rust app" (fleetlayer-cloud is private). No hostnames or customer data.
Checked: built with
VISUALCI_BLOG_DRAFTS=1, so it prerenders at /blog/migration-check-blind-spot/. In headless Chromium at 1440 light and dark and 390 light: no page errors and no horizontal scroll.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.