Skip to content

feat: allow store-only uploads via process metadata flag - #3346

Open
tiborrr wants to merge 1 commit into
eikek:masterfrom
tiborrr:feat/upload-store-only-process-flag
Open

feat: allow store-only uploads via process metadata flag#3346
tiborrr wants to merge 1 commit into
eikek:masterfrom
tiborrr:feat/upload-store-only-process-flag

Conversation

@tiborrr

@tiborrr tiborrr commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add optional process field to ItemUploadMeta (default true). When false, joex still creates a visible item and applies given metadata, but skips archive extract / conversion / OCR / preview / analysis.
  • Expose the option on the Upload documents form as Process files (checked by default), with a store-only success message when unchecked.
  • Full processing remains available later via the existing reprocess endpoints.

Closes #3344.

Test plan

  • Upload with default settings still processes as before
  • Upload with process: false (API or unchecked form checkbox) creates a visible item without extracted text
  • Reprocess that item afterward runs the normal pipeline
  • OpenAPI / upload docs mention the new field
  • Existing queued jobs without process in JSON still decode (isProcessingEnabled defaults to true)

Made with Cursor

Skip conversion/OCR/analysis when process=false while still creating a
visible item; expose the option on the upload form. Refs eikek#3344.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mergify

mergify Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@tiborrr

tiborrr commented Sep 1, 2026

Copy link
Copy Markdown
Contributor Author

Tested locally:

image image image

All works fine

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.

Allow upload endpoint to store an item without processing (OCR/conversion/analysis)

1 participant