Skip to content

feat(imports): add diagnostics and family exports#6

Open
JSONbored wants to merge 1 commit into
we-promise:mainfrom
JSONbored:codex/feat-cli-imports-exports
Open

feat(imports): add diagnostics and family exports#6
JSONbored wants to merge 1 commit into
we-promise:mainfrom
JSONbored:codex/feat-cli-imports-exports

Conversation

@JSONbored
Copy link
Copy Markdown

Summary

  • Add import row diagnostics, current SureImport upload options, and family export commands.

What changed

  • Adds imports rows <id>.
  • Updates imports create for SureImport, raw content, NDJSON/JSON inference, publish, and current CSV config fields.
  • Adds family-exports list/show/create/download.
  • Keeps family-exports create dry-run-first and requires --out for downloads.
  • Fixes the binary .gitignore pattern so new files under cmd/sure-cli are tracked.

Why

  • Sure now exposes import diagnostics and family export APIs that the CLI did not cover.

Validation

  • go test -count=1 ./...
  • go test -race ./...
  • go vet ./...
  • tools/validate-samples.sh
  • git diff --check
  • gitleaks detect --no-git --redact --source . --verbose

Notes

  • Draft for review. No live Sure smoke test was run because local credentials/test data were not used.

Add import row diagnostics, current import creation fields including Sure NDJSON uploads, and family export list/show/create/download commands. Keep export creation dry-run-first and document the import/export workflows.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 6, 2026

Warning

Rate limit exceeded

@JSONbored has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 59 minutes and 36 seconds before requesting another review.

To continue reviewing without waiting, purchase usage credits in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: cb76b734-3cd9-48ce-bb53-d4484086d215

📥 Commits

Reviewing files that changed from the base of the PR and between 48830d1 and 6e3b2e9.

📒 Files selected for processing (9)
  • .gitignore
  • README.md
  • cmd/sure-cli/root/family_exports_cmd.go
  • cmd/sure-cli/root/family_exports_cmd_test.go
  • cmd/sure-cli/root/imports_cmd.go
  • cmd/sure-cli/root/imports_cmd_test.go
  • cmd/sure-cli/root/root.go
  • docs/ROADMAP.md
  • internal/api/client.go
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@JSONbored JSONbored marked this pull request as ready for review May 7, 2026 06:30
@superagent-security superagent-security Bot added contributor:verified Contributor passed trust analysis. pr:verified PR passed security analysis. labels May 7, 2026
@jjmata jjmata requested a review from dgilperez May 13, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor:verified Contributor passed trust analysis. pr:verified PR passed security analysis.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant