sillsdev / sillsdev/languageforge-lexbox

Minor improvement to BulkCreateEntries

Open Beginner friendly
#2,305 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

📖 MiniLcm Good 1st issue
Dominant language
C#
Stars
9
Forks
8
Avg merge
2d 13h
Merged PRs (30d)
49

Description

Describe the feature
BulkCreateEntries currently calls logger.LogInformation("Added {Count} entries so far", entryCount) every 1000 entries, but doesn't log the total number of entries when it finishes. It's probably worth adding one more log entry at the very end of BulkCreateEntries (even after regenerating the entry search table): logger.LogInformation("Added {Count} entries", entryCount). That way the log will contain not just an every-1000-entries progress message, but also a note of precisely how many entries were added by the bulk operation. Which would be useful slightly more often than the current behavior, where a progress message is logged but the total number is not.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository for the BulkCreateEntries entry point and read how it currently logs progress and completes the bulk operation. Add the final total-count log after the operation finishes, including after entry search table regeneration, and verify that the log reports the precise number of entries added.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.