Repository navigation
Submit form: carry on after the site is updated under it - #612
Merged
Merged
Conversation
A deploy gives every server action a new name. A submit form that was open before the deploy still posts the old names, and the server answers that it does not know them. The form showed "Failed to parse repository" or "Failed to publish plugin", and trying again failed the same way until the page was reloaded, which emptied the form. The form now recognises that answer. It saves what was entered, reloads the page and takes the draft back: - A scan that failed is run again by itself, since it only reads the repository. - After a failed publish, everything is back as it was and a note says to publish again. The form does not publish by itself. - If the page is still out of date right after a reload, it does not reload again. It says to reload the page, and the draft is kept for that reload. - If the browser will not store the draft, the page is not reloaded and the message says what was entered would be lost. The draft lives in the browser tab for five minutes at most and is read once. Its format carries a version, because the page that saves it and the page that reads it are different versions of the site. Co-authored-by: Cursor <cursoragent@cursor.com>
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
Every deploy gives the site's server actions new names. A submit form that was open before the deploy still posts the old names, and the server answers that it does not know them.
During a deploy today, two people had submissions fail this way. One tried nine times over eight minutes before reloading the page. The form showed "Failed to parse repository" or "Failed to publish plugin", trying again failed the same way, and reloading emptied the form.
The form now recognises that answer. It saves what was entered, reloads the page and takes the draft back.
Two cases where it does not reload:
Things to know
Testing
bunx biome ci .andbun run typecheckinapps/cursorpass.