Skip to content

feat: allow customization of report file name prefix with support for tokens - #742

Merged
Minituff merged 2 commits into
mainfrom
740-feature-request-allow-custom-names-for-backup-text-files
Sep 7, 2026
Merged

feat: allow customization of report file name prefix with support for tokens#742
Minituff merged 2 commits into
mainfrom
740-feature-request-allow-custom-names-for-backup-text-files

Conversation

@Minituff

@Minituff Minituff commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Report File Name

Customize the prefix used for the report file's name. The date is always appended (the report file is always named <prefix> - YYYY-MM-DD.txt), so this only changes the prefix — it will not disable daily-dated report files.

This is most useful when running multiple Nautical instances against the same DEST_LOCATION: by default, every instance writes to the same Backup Report - YYYY-MM-DD.txt, so whichever instance runs last silently overwrites the others' report. Giving each instance a distinct REPORT_FILE_NAME avoids this.

Default: Backup Report

Tokens: {label_prefix}, {LABEL_PREFIX}, {prefix}, and {PREFIX} are all
equivalent, and are replaced with the instance's LABEL_PREFIX
value — a convenient way to reuse an identifier you're already setting per instance.

Example 1

LABEL_PREFIX=nautical-backup.inst1
REPORT_FILE_NAME={PREFIX}

The {PREFIX} token is replaced with LABEL_PREFIX, so the report file will be named nautical-backup.inst1 - 2024-04-05.txt — useful for multiple instances sharing one DEST_LOCATION.

Example 2

REPORT_FILE_NAME=server-1-backup

A plain literal prefix. The report file will be named server-1-backup - 2024-04-05.txt.

@Minituff Minituff linked an issue Sep 7, 2026 that may be closed by this pull request
@codecov

codecov Bot commented Sep 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.39%. Comparing base (3a7f8c1) to head (44eaea2).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #742      +/-   ##
==========================================
+ Coverage   92.29%   92.39%   +0.10%     
==========================================
  Files           9        9              
  Lines        1129     1144      +15     
==========================================
+ Hits         1042     1057      +15     
  Misses         87       87              

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Minituff
Minituff merged commit 12a3715 into main Sep 7, 2026
3 checks passed
@Minituff
Minituff deleted the 740-feature-request-allow-custom-names-for-backup-text-files branch September 7, 2026 18:45
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.

Feature request: Allow custom names for backup text files

1 participant