Skip to content

feat(AdditionFailsafe): Extend failsafe mechanism to prevent creation of excessive amounts of bookmarks#1902

Merged
marcelklehr merged 2 commits intodevelopfrom
feat/addition-failsafe
Apr 6, 2025
Merged

feat(AdditionFailsafe): Extend failsafe mechanism to prevent creation of excessive amounts of bookmarks#1902
marcelklehr merged 2 commits intodevelopfrom
feat/addition-failsafe

Conversation

@marcelklehr
Copy link
Copy Markdown
Member

fixes #1900

… of excessive amounts of bookmarks

fixes #1900

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@marcelklehr marcelklehr requested a review from Copilot April 5, 2025 15:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • _locales/en/messages.json: Language not supported

Comment thread src/test/test.js Outdated
@marcelklehr marcelklehr mentioned this pull request Apr 5, 2025
1 task
@marcelklehr marcelklehr requested a review from Copilot April 5, 2025 16:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • _locales/en/messages.json: Language not supported

Comment thread src/test/test.js Outdated
@marcelklehr marcelklehr requested a review from Copilot April 5, 2025 17:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • _locales/en/messages.json: Language not supported
Comments suppressed due to low confidence (1)

src/test/test.js:2252

  • [nitpick] Consider using a more descriptive title for the bookmark in tests instead of the generic 'url' to improve readability.
title: 'url'

Comment thread src/test/test.js Outdated
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@marcelklehr marcelklehr force-pushed the feat/addition-failsafe branch from 0b50418 to c668101 Compare April 5, 2025 17:40
@marcelklehr marcelklehr requested a review from Copilot April 6, 2025 07:33
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • _locales/en/messages.json: Language not supported
Comments suppressed due to low confidence (2)

src/test/test.js:2252

  • [nitpick] Consider using a more descriptive or unique bookmark title for test-created bookmarks to aid in debugging, as using a generic title like 'url' might make failure tracing less clear.
title: 'url',

src/lib/strategies/Default.ts:370

  • [nitpick] Consider refactoring the ratio calculation into a separate variable to improve readability and reduce duplication in logging, ensuring consistency between deletion and addition failsafe checks.
Logger.log('Checking deletion failsafe: ' + countDeleted + '/' + countTotal + '=' + (countDeleted / countTotal))

@marcelklehr marcelklehr merged commit e27dc07 into develop Apr 6, 2025
54 of 61 checks passed
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Provide a Failsafe Option Disallowing the Addition of 50% or More Bookmarks

2 participants