Skip to content

Cannot undo a deleted endpoint with "Discard all changes" #8623

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

Open
2 of 4 tasks
gabsong opened this issue Apr 16, 2025 · 2 comments
Open
2 of 4 tasks

Cannot undo a deleted endpoint with "Discard all changes" #8623

gabsong opened this issue Apr 16, 2025 · 2 comments
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@gabsong
Copy link

gabsong commented Apr 16, 2025

Expected Behavior

I deleted an endpoint in an Insomnia collection.
I have not committed the change, so it's showing as an uncommitted change.

Clicking "Discard all changes" is not undoing this deletion.

I would expect that the deleted endpoint is restored. Similar to git restore filename

Actual Behavior

Nothing happens when "Discard all changes" is clicked
It's not possible to pull from master
It's not possible to go into "Commit changes" and undo the changes

Reproduction Steps

  1. Within a collection that is synced, delete an endpoint.
  2. Try reverting the change

Is there an existing issue for this?

Which sync method do you use?

  • Git sync.
  • Insomnia Cloud sync.
  • Local only

Additional Information

No response

Insomnia Version

11.0.2

What operating system are you using?

macOS

Operating System Version

macOS 15.3.1 (24D70)

Installation method

download from insomnia.rest

Last Known Working Insomnia version

No response

@gabsong gabsong added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Apr 16, 2025
@notjaywu
Copy link
Contributor

Can't reproduce it in 11.0.2 on my local. The deleted request appears again after clicking "Discard all changes". Did you see any error logs in the Console, you can go to View -> Toggle DevTool -> Console.

Image

@gatzjames
Copy link
Contributor

@gabsong are you using Git Sync to share your project or Insomnia Cloud Sync?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

No branches or pull requests

3 participants