Repository navigation
feat: add resume capability for failed uploads - #50
Merged
Merged
Conversation
- Add local config storage in .nemar/config.json - Store dataset_id, github_url, s3_prefix after initial creation - Detect existing config and resume with fresh presigned URLs - Update last_upload_at timestamp on successful completion Closes #45
- Remove unused import hasLocalConfig - Consolidate duplicate readLocalConfig calls - Remove dead code (!dataset check) - Add validation when reading config from JSON - Check HTTP statusCode instead of string matching - Add error logging for silent failures - Remove unused getLocalDatasetId function
📦 Package PreviewYour package is ready to test! bun install -g nemar-cli@PR50Version: 🤖 Updated on each push. |
This was referenced Jun 16, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.nemar/config.jsonto track dataset metadataImplementation
src/lib/dataset-config.tsfor local config managementsrc/commands/dataset.tsto check for existing config before uploadWhat this solves
If S3 upload fails mid-way, user can run
nemar dataset uploadagain and it will:.nemar/config.json)Not in scope (future work)
nemar dataset pushcommand for ongoing updatesTest plan
.nemar/config.jsoncreatedCloses #45