Kong / Kong/insomnia

When generating a collection through spec, requests are generated repeatedly

Open
#8,122 0 comments 1 reaction 0 assignees View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

The same request is generated only once, or the latest one is marked.

### Actual Behavior

As shown in the figure, the same request is generated multiple times.

image

### Reproduction Steps

1. Create a document
2. Generate a collection from the document
3. Go to the collection page to view the request

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

_No response_

### Insomnia Version

Version: Insomnia 10.1.0 Build date: 10/16/2024

### What operating system are you using?

macOS

### Operating System Version

15.0.1 (24A348)

### Installation method

download from insomnia.rest

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Research direction

No source file or test is named in the issue. First reproduce the document-to-collection flow in Insomnia 10.1.0 on macOS, then trace the collection-generation entry point and add coverage for repeated generation. Done means the same request appears only once, or the newest request is clearly marked.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.