Skip to content

Stabilize JSON-LD context loading - #1467

Open
danielhmills wants to merge 1 commit into
openlink:develop/7from
danielhmills:fix/jsonld-context-retry
Open

Stabilize JSON-LD context loading#1467
danielhmills wants to merge 1 commit into
openlink:develop/7from
danielhmills:fix/jsonld-context-retry

Conversation

@danielhmills

Copy link
Copy Markdown
Contributor

Summary

  • Retries transient cache/HTTP failures once before propagating the error, instead of silently parsing terms without the requested JSON-LD context.
  • Adds cached resource entries for the #-suffixed ActivityStreams namespace URIs so both forms resolve to the same context.
  • Keeps the parser and its context resolution in the caller transaction so a test cannot race the vectorized loader worker queue while comparing graphs.

Split out from PR #1465 (fuzzy search) per review feedback — these changes are unrelated to fuzzy search.

Test plan

  • JSON-LD test suite (tjsonld.sql) passes
  • ActivityStreams context resolves for both # and non-# namespace URIs

Generated with Devin

Retry transient cache/HTTP failures once before propagating the error,
instead of silently parsing terms without the requested context. Keep
the parser and its context resolution in the caller transaction so a
test cannot race the vectorized loader worker queue.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
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