Skip to content

Add xlsx url source for testing#11

Open
frozenhelium wants to merge 3 commits into
developfrom
feat/xlsx-url-source
Open

Add xlsx url source for testing#11
frozenhelium wants to merge 3 commits into
developfrom
feat/xlsx-url-source

Conversation

@frozenhelium

Copy link
Copy Markdown
Member

No description provided.

@frozenhelium frozenhelium force-pushed the feat/xlsx-url-source branch from 5fe4543 to edaabae Compare July 9, 2026 03:49
- add TRANSLATION_SOURCE=api|url with per-mode config validation
- add URLSource fetching the XLSX from a plain HTTP(S) URL
- cap downloads at 50MB for both sources
- record pull outcome; /status gains source, last_pull_error, last_import_rows
- redact signed-URL credentials from logs, errors, and /status
- helm: TRANSLATION_SOURCE in values; alpha-1 switches to url mode
- regenerate helm snapshots (helm 3.15.4) and openapi.json
- pass new vars through docker-compose; document mock mode in README
- tests for url source, config matrix, status fields, redaction
- rename TranslationClient to APISource, pairing with URLSource
- rename MetaModel.K/V to Key/Value (columns unchanged via bun tags)
- rename PullResult.Skipped to Unchanged (the pull runs, import is skipped)
- rename Server.source to sourceName, handleGetStrings to handleStrings
- rename metaKeyLastHash to metaKeyLastXLSXHash, mirroring the stored key
- rename writeSchemaFile to writeOpenAPISpecFile, env to envOr
- fix limit param shadowing the max builtin in readAllLimited
- name pull timers by phase (fetchStart/parseStart/importStart)
- clarify locals: bunDB, sqlDB, jitter, prevHash, metaErr, urlErr, slogLevel
- consolidate duplicated test helpers into helpers_test.go
- drop cryptic test helper prefixes (xt/dbt/ht/ct/st/src)
@frozenhelium frozenhelium force-pushed the feat/xlsx-url-source branch from edaabae to e340cfd Compare July 9, 2026 04:58
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