Skip to content

tools: fix CleanupSession error handling and move API key check to main - #14

Merged
changkun merged 1 commit into
mainfrom
changkun/cleanup-error-handling
Apr 7, 2026
Merged

tools: fix CleanupSession error handling and move API key check to main#14
changkun merged 1 commit into
mainfrom
changkun/cleanup-error-handling

Conversation

@changkun

@changkun changkun commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • CleanupSession: No longer stops iteration on error. Continues to next document/parse job on failure (best-effort cleanup). Also deletes parse jobs before their parent file.
  • init() / main(): Move TENSORLAKE_API_KEY validation from init() to main() so that go test doesn't os.Exit(1) when the env var is absent (CI was failing because of this).

@changkun
changkun force-pushed the changkun/cleanup-error-handling branch from afc2fcd to 1aac20d Compare April 7, 2026 15:07
@changkun
changkun merged commit 7e6ddf4 into main Apr 7, 2026
4 checks passed
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