question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Duplicated issues

See original GitHub issue

I’m getting a lot of duplicated issues created, what are the criteria for checking if an issue exist?

I’m not editing the todos but of course the line numbers will change all the time and also filenames will change.

example


what? we have to sign in if user have signed in with vipps before!

devent/apps/devent-services/src/app/app.service.ts

Line 70 in 18e42f0

 // TODO: what? we have to sign in if user have signed in with vipps before! 

what? we have to sign in if user have signed in with vipps before!

devent/apps/devent-services/src/app/app.service.ts

Line 70 in 98b1716

 // TODO: what? we have to sign in if user have signed in with vipps before! 

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
alstrcommented, Jun 19, 2021

I’ve added an enhanced check for duplicate issues in the new release, v4.0.2. Hopefully that helps a bit. Long term I would like to improve how the action handles rebasing so it’s not having to rely on this. Prevention rather than cure.

1reaction
Aniwaxcommented, Jun 17, 2021

Hi @alstr , I created this repo https://github.com/Aniwax/test_repo_todo_toisse to try to reproduce the problem. I did the following step:

  1. Commit a REAME on main branch.
  2. Put some generic code on main branch and a TODO (1st) in this file. Also include the workflow file. [After this commit, this TODO is recognised],
  3. I started a new branch add_more_functionalities. Went into the generic_code.py file. Added 2 lines of code and a new TODO (2nd). [However, this TODO is not picked up to become issue.]
  4. I went back to the main branch, created another file and a new TODO (3rd). [This TODO became an Issue after push.]
  5. Rebase the add_more_functionalities according to main. Nothing happened on the TODO side.
  6. Merged add_more_functionalities to main through pull request, and only then the 2nd TODO became an Issue, after push.

You can check this in the repo history. However, this was not the behavior I had in my private code space. There, 2nd TODO would be picked up the first time, 3rd TODO would be duplicated after rebase, 2nd TODO would be duplicated after merge through pull request. However, this was the behavior in v2.0.5. I am not sure, if it still happens in the newest version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duplicate Content: Why does it happen and how to fix issues
Duplicate content is content that appears on the internet in more than one place. ... Duplicate content can present three main issues for...
Read more >
Duplicate Issue - ALM Works Help Center
An issue that already has a record in the issues database and is filed for the second time. The second record is marked...
Read more >
How to Solve Duplicate Content Issues: The Complete Guide
Duplicate content issues – whether offsite or onsite – can damage your SEO efforts. Let's look at the problems and solutions for duplicate...
Read more >
Marking issues or pull requests as a duplicate - GitHub Docs
To mark an issue or pull request as a duplicate, type "Duplicate of" followed by the issue or pull request number it duplicates...
Read more >
Data Duplication – A serious concern with an easy solution
Data duplication is not only a totally unnecessary waste of time but also has the potential to cause major problems and costly mistakes....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found