Skip to content

Upload: warn when final save has no output - #1690

Merged
neuromechanist merged 1 commit into
feature/issue-1671-epic-bru-upload-fixesfrom
feature/issue-1455-save-inactivity-warning
Oct 9, 2026
Merged

neuromechanist merged 1 commit into
feature/issue-1671-epic-bru-upload-fixesfrom
feature/issue-1455-save-inactivity-warning

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

What changes

Extend the existing warning-only inactivity diagnostic to the upload's final git add -A save. After 120 seconds without stdout or stderr, the spinner prints a warning and resumes while the save continues; the warning does not kill the process or change its result.

The upload -j option remains S3-copy concurrency. This adds no local -J4 default or --annex-jobs option, and makes no claim that final-save performance on NFS is fixed.

Validation

  • Real runDataSteps integration using the repository EDF fixture, real Git/git-annex, and a local directory remote; the actual Ora output stream is checked for the warning.
  • Mutation checks: removing the callback forwarding to git add -A and removing spinner persistence each make the integration test fail.
  • bun run typecheck, bun run lint, and git diff --check pass.
  • Focused upload, save, and inactivity suites pass (75 tests across four files).

Remaining acceptance

The local test verifies warning delivery through the save entry point, not the NFS performance outcome. The controlled NFS argv-vs-batch × J1/J4/J8 matrix and real network-backed final-save acceptance remain open under #1455.

Refs #1455

@neuromechanist

Copy link
Copy Markdown
Contributor Author

Independent review

Three independent lenses reviewed the final-save warning change:

Both mutation checks were run separately: removing warning forwarding to git add -A failed the integration test, and removing persistSpinnerWarning also failed it. Restoring each change returned the test to green.

The NFS performance matrix and network-backed final-save acceptance remain open under #1455.

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR1690

Version: 0.10.16-PR1690.4b155f5
Commit: 4b155f5


🤖 Updated on each push.

This branch was previously deployed

1 inactive deployment
npm — 4b155f55 Deployed Oct 9, 2026 by neuromechanist via publish #3298
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