Skip to content

feat(archives): report measured progress for extract and compress rows - #284

Open
tcz0g wants to merge 2 commits into
noctalia-dev:mainfrom
tcz0g:feat/archive-progress
Open

tcz0g wants to merge 2 commits into
noctalia-dev:mainfrom
tcz0g:feat/archive-progress

Conversation

@tcz0g

@tcz0g tcz0g commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Archive Extract and Compress jobs now show determinate progress in the File Operations popover

Motivation

Archive jobs were the last class of File Operations rows without measured progress.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Refactoring
  • Build / packaging
  • Documentation only

Related Issue

Testing

  • `meson test -C build-debug: OK
  • clang-tidy
  • just format / just format-code-check, just lint-prose, just i18n-check (2429 keys, no new ones needed)
  • just role-alpha-check: green.

New Test:

  • testMeasuredTotals: zip round-trip totals (1500 B / 5 entries), selection narrowing, hard-link alias crediting (links.tar: 4 entries / 11 B with one shared body), raw .gz byte-unknown/entry-known, encrypted 7z totals withheld.
  • meteredArchiveActivity: live 128 MiB tar extract row carries an in-range fraction, percent text, an "x of y" telemetry pair and the phase word in the header.

Manual Testing

Screenshots / Videos

screenshot_20261201_165812-region screenshot_20261201_165850-region

Checklist

  • This PR is ready for review, or it is marked as Draft.
  • This change fits SCOPE.md, or its scope was agreed in an issue or on Discord first.
  • I read and followed the relevant guidance in CONTRIBUTING.md.
  • I ran just format, or this PR has no C++ changes.
  • I ran just lint and the relevant build or test commands, or explained why they were not run.
  • I ran just role-alpha-check, or this PR does not change UI colors.
  • I tested the change in a running Luciole where automated checks are insufficient.
  • I self-reviewed the changes.
  • I checked for new warnings or errors.
  • I updated docs/, or this PR does not change user-facing behavior or settings.
  • I used canonical names for settings, paths, and identifiers.

Additional Notes

@talia-ci talia-ci Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Talia preliminary review

Check Result
Merge score 🟡 3/5 — Minor changes needed before merging
Findings 🟡 1 medium
Review depth 3/5 — how thoroughly the changed code could be checked by reading it
Coverage 10 of 10 changed files reviewed

What Talia checked: Checked new extraction/compression total publication, ArchiveService resets, batch callers, JobActivity rendering and the added tests; remaining uncertainty is operations-view/batch internals and the narrow store-visibility window behind the finding.

Findings

# Severity Finding Location
1 🟡 P2 Test polls only totalBytes before asserting totalItems tests/archive_service_test.cpp:140

Each finding is explained in a review comment on its line.

Run details
  • Commit reviewed: c3a4029
  • Source lookups: 43 file reads, 34 searches
  • Prompt version: 859b7490ca3d

Preliminary automated review: Talia read the changed code and related source; nothing was built, run or tested, and AI can make mistakes. It is not a scope acceptance or a promise to merge; a human reviewer makes the final call. See our ethos.

Comment thread tests/archive_service_test.cpp Resolved
@tcz0g

tcz0g commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

would fix this in #271

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.

1 participant