Repository navigation
Restart a Comunica endpoint after a crash; release v3.3.2 - #37
Merged
Merged
Conversation
…uery In the vcf-bench-3 scale run (HG005, 1M records, COTTAS) the endpoint's Node worker died during q06 (V8 fatal error during garbage collection, SIGTRAP). q06 got IncompleteRead(70 bytes read), q07 a reset connection, and q08-q13 were refused: one crash cost eight queries. 9a00466 restarts the endpoint only after a timeout. - A query that loses the endpoint (refused or reset connection, or a response cut short) fails with exit 1 and is not retried; the endpoint is restarted before the next query, as after a timeout. A query the endpoint answers with an error still does not restart it. - The server log is appended to across restarts, with a "=== endpoint restarted after <query> ===" line, so the crash's stack trace is kept instead of being truncated by the new endpoint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A patch to semantic validation with the Comunica-backed engines (comunica, hdt, cottas). A query that hits Comunica's own timeout is recorded as a timeout, not a pass, and a timeout or a crashed endpoint is followed by an endpoint restart, so the suite resumes with the next query instead of losing every remaining one. Nothing changes what a v3.3.1 conversion writes. The conda sha256 stays a placeholder until the tag exists. Populate it with `python3 scripts/release.py 3.3.2 --fetch-conda-sha256` after pushing v3.3.2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Problem
In the vcf-bench-3 large-graph retrieval run (HG005, 1,000,000 records, v3.3.1), the Comunica-COTTAS endpoint's Node worker crashed during q06: a V8 fatal error while freeing memory (
Check failed: (result.ptr) != nullptr, SIGTRAP). q06 gotIncompleteRead(70 bytes read), q07Connection reset by peer, and q08–q13Connection refused. One crash cost eight queries.#35 (9a00466) restarts the endpoint after a timeout, which fixed the same knock-on failure for Comunica-HDT (q05 timed out, q06–q13 were refused). It does not restart after a crash.
Change
HTTPError, or aURLErrorwithout a socket error) still does not restart it.=== endpoint restarted after <query> ===line before each restart.docs/validation.mddescribes the behaviour.scripts/release.py 3.3.2). Since v3.3.1 the only code changes are insrc/validation/validation_runner.py(this PR and Record a Comunica timeout as a timeout, not a pass #35), so nothing changes what a conversion writes. The conda sha256 stays a placeholder until the tag exists.Tests
Four new tests in
test/test_query_timeout_marker_unit.py, built from the recorded failure:All four fail on the previous runner. Full unit suite: 1,227 tests OK (24 skipped).
release.py --check-tag v3.3.2passes.After merge
git tag -a v3.3.2 -m "VCF-RDFizer v3.3.2"on the merge commit, and push the tag.python3 scripts/release.py 3.3.2 --fetch-conda-sha256, then the conda-forge feedstock.ecrum19/vcf-rdfizer:3.3.2image, and record its digest.🤖 Generated with Claude Code