Skip to content

Release 142#907

Merged
watermint merged 19 commits intomainfrom
current
Jun 17, 2025
Merged

Release 142#907
watermint merged 19 commits intomainfrom
current

Conversation

@watermint
Copy link
Copy Markdown
Owner

No description provided.

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 15, 2025

Codecov Report

Attention: Patch coverage is 27.05882% with 62 lines in your changes missing coverage. Please review.

Project coverage is 39.18%. Comparing base (e3ece58) to head (7e4d8ef).
Report is 44 commits behind head on main.

Files with missing lines Patch % Lines
recipe/dev/build/readme.go 22.85% 22 Missing and 5 partials ⚠️
quality/recipe/qtr_endtoend/endtoend.go 0.00% 22 Missing ⚠️
essentials/api/api_auth_oauth/code.go 0.00% 7 Missing ⚠️
recipe/dev/build/info.go 50.00% 3 Missing and 1 partial ⚠️
essentials/kvs/kv_kvs_impl/turnstile.go 75.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #907      +/-   ##
==========================================
+ Coverage   34.65%   39.18%   +4.52%     
==========================================
  Files        1088     1093       +5     
  Lines       63091    63937     +846     
==========================================
+ Hits        21866    25052    +3186     
+ Misses      39574    37077    -2497     
- Partials     1651     1808     +157     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

watermint added 16 commits June 15, 2025 11:34
…ata structures, updating coverage analysis logic, and improving output formatting
…ata structures, updating coverage analysis logic, and improving output formatting
…ata structures, updating coverage analysis logic, and improving output formatting
…ata structures, updating coverage analysis logic, and improving output formatting
@watermint watermint requested a review from Copilot June 17, 2025 11:05
Copy link
Copy Markdown

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.

Pull Request Overview

This PR delivers the Release 142 changes, mainly expanding test coverage across Dropbox-related use cases and filesystem modules, adding documentation and recipes for test coverage commands, and tweaking CI and core logic.

  • Add extensive unit tests for uc_insight, uc_file_merge, dbx_fs_copier_batch, dbx_fs, and core logging
  • Introduce docs and recipe registrations for the dev test coverage commands
  • Fix the Apply recursion in CaptureAggregatorOpts and include feature/* branches in CI triggers

Reviewed Changes

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

Show a summary per file
File Description
domain/dropbox/usecase/uc_insight/data_errors_test.go New tests for ApiErrorFromError and ApiErrorReport
domain/dropbox/usecase/uc_file_merge/options_test.go Tests for MergeOpts builder functions
domain/dropbox/usecase/uc_file_merge/msg_test.go Tests for MMerge message initialization
domain/dropbox/filesystem/dbx_fs_copier_batch/data_type_test.go JSON marshal/unmarshal and constant checks for data types
domain/dropbox/filesystem/dbx_fs_copier_batch/coiper_test.go Tests for NewLocalToDropboxBatch and copier struct init
domain/dropbox/filesystem/dbx_fs/filesystem_test.go Tests for NewFileSystem, complexity logic, and constants
domain/dropbox/filesystem/dbx_fs/filesystem_cached_test.go Tests for cached filesystem message initialization
domain/dropbox/filesystem/dbx_fs/error_test.go Tests for dbxError and cacheError behaviors
domain/core/dc_log/capture.go Fix recursion in CaptureAggregatorOpts.Apply
docs/commands/dev-test-coverage-summary.md Add dev test coverage summary command docs
docs/commands/dev-test-coverage-pkg.md Add dev test coverage pkg command docs
docs/commands/dev-test-coverage-list.md Add dev test coverage list command docs
catalogue/recipe.go Register new recipedevtestcoverage recipes
.github/workflows/test.yml Expand CI to trigger on feature/* branches
docs/_posts/2025-06-16-release-142.md New post for Release 142
docs/_posts/2025-06-15-release-141.md Update release 141 metadata
Comments suppressed due to low confidence (5)

domain/dropbox/usecase/uc_file_merge/options_test.go:27

  • The function name ClearEmptyFolder and the field CleanEmptyFolder use different verbs. Consider renaming for consistency (e.g., CleanEmptyFolder both as function and field).
if !opts.CleanEmptyFolder {

domain/dropbox/filesystem/dbx_fs_copier_batch/coiper_test.go:1

  • The filename coiper_test.go appears to be a typo. Rename it to copier_test.go to match the package name.
package dbx_fs_copier_batch

docs/commands/dev-test-coverage-summary.md:100

  • Remove the extra period after "detail" so it reads "...for more detail. Default: false".
**-verbose**: Show current operations for more detail.. Default: false

docs/commands/dev-test-coverage-pkg.md:100

  • Remove the extra period after "detail" so it reads "...for more detail. Default: false".
**-verbose**: Show current operations for more detail.. Default: false

docs/commands/dev-test-coverage-list.md:106

  • Remove the extra period after "detail" so it reads "...for more detail. Default: false".
**-verbose**: Show current operations for more detail.. Default: false


for i, constant := range constants {
if constant == "" {
t.Errorf("Constant %d should not be empty", i)
Copy link

Copilot AI Jun 17, 2025

Choose a reason for hiding this comment

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

[nitpick] Include the constant's value or name in the error message for easier debugging, e.g., t.Errorf("Constant %q should not be empty", constant).

Suggested change
t.Errorf("Constant %d should not be empty", i)
t.Errorf("Constant at index %d (%q) should not be empty", i, constant)

Copilot uses AI. Check for mistakes.
@watermint watermint merged commit 9c55f5b into main Jun 17, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants