Repository navigation
CI's integration job runs the reference extractor, and the ingestion tests that publish skip without one - #253
Merged
Merged
Conversation
zlareb1
force-pushed
the
fix/ci-ingest-extractor
branch
2 times, most recently
from
November 4, 2026 05:16
d72c21f to
c43d0d2
Compare
…tests that publish skip without one Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
…n the worker's own route lookup Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: zlareb1 <[email protected]>
zlareb1
force-pushed
the
fix/ci-ingest-extractor
branch
from
November 4, 2026 05:21
c43d0d2 to
05264c0
Compare
8 of 9 tasks
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.
Related: #157
Related: #229
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
...
Why
Main's integration job fails since #229:
tests/integration/test_knowledge_ingest_live.py::test_an_uploaded_sql_file_is_parsed_published_and_citedand::test_revisions_count_up_and_an_expected_revision_guards_the_publishend their jobsfailedwhere they expectready. The tests run a worker pass in the test process, which sends the original to the extractor named byLOOM_DOCUMENT_EXTRACTOR_URL; the job starts no extractor, so every job failsformat_unavailable. (The mislabelled-upload test, which expectsformat_unavailable, passed for that reason.) The PR's local runs had an extractor configured.Scope and risk
.github/workflows/ci.yml, integration job: a step beforepyteststarts the reference extractor fromextractor/(python -m loom_extractor, its dependencies already in thedevextra) on 127.0.0.1:8790 with a per-run token (masked in the log), waits for/healthz, and exportsLOOM_DOCUMENT_EXTRACTOR_URLandLOOM_DOCUMENT_EXTRACTOR_TOKENto the later steps. Its log isextractor.login the workspace, uploaded with the servers' logs on failure. The servers do not call the extractor (only the worker does), so they need neither.tests/integration/test_knowledge_ingest_live.py: the two tests that publish skip when no extractor is routed for SQL and TOML, asked as the worker asks (extractors.endpoint_for, so a route inLOOM_DOCUMENT_EXTRACTORS_JSONor the settings file counts too), as the suite's other service-dependent tests skip; the mislabelled-upload, unknown-upload and cancel tests need no extractor and still run.docs/development/testing.mdnames the extractor the publishing tests need, beside the S3 store.Compatibility, rollout and rollback
Tests
LOOM_DOCUMENT_EXTRACTOR_URL=),pytest tests/integration/test_knowledge_ingest_live.pygives 3 passed, 2 skipped (the two publishing tests, with the reason); with one routed, 5 passed.make format-checkandmake lintpass; the workflow parses. The integration job on this PR runs the step.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Claude Code.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make format-check,make lint,make typecheckandmake test-unitpass; the integration suite passes if server behaviour changed. (No server code changed; the integration job on this PR is the check.)docs/describe the system as it now is, and this description names any operator steps and wire changes.tests/unit/test_public_copy.py).git commit -s), as CONTRIBUTING.md asks.🤖 Generated with Claude Code