Skip to content

OntoIndex 3.1.7

Latest

Choose a tag to compare

@er77 er77 released this 15 Nov 20:08
Immutable release. Only release title and notes can be modified.
7703537

Changes

  • inspect context reads method metadata from Method columns by label, and graph_walk resolves its seed by id and name only. Before, both read whole nodes, so large file content exhausted the default 64 MiB committed read pool and inspect context reported method-metadata-query-failed in contextCompleteness.
  • ontoindex analyze --workspace-graph produces a usable workspace graph when tsconfig.json or another resolver configuration file is a symlink to a file inside the repository. In 3.1.6 the overlay check treated the link as deleted and failed with "workspace graph input paths changed". When the link target's bytes change, the workspace graph becomes stale.
  • audit safe_edit_check rethrows a database resource failure from the process, cluster, co-change, recent-touch and export probes. Any other failure in those probes, and any upstream or downstream query warning, adds a warning, names the failed probe in the reasoning and prevents a SAFE verdict. Stronger verdicts are unchanged.
  • impact batch reports union.risk: UNKNOWN and union.failedTargets when any target fails, and status: error when every target fails. Before, failed targets were excluded from the union risk, so the batch could report NONE or LOW.
  • ontoindex query, context and impact record usage errors, typed-query parse errors and a missing index in tool telemetry as failed calls. The printed message and exit code 1 are unchanged. cypher and detect-changes also print the missing-index message and exit 1. When ontoindex impact fails for another reason, it sets exit code 1 and lets the process end normally, so its failed-call record is still written.
  • Workspace graph validation opens each recorded input without following symlinks and checks that it is the same regular file it checked first. An input replaced by a symlink makes the workspace graph unusable, and the link target is never read.
  • Index CSV writing stores at most 16 Mi UTF-16 characters of each file's content, followed by ... [File content truncated]. Set ONTOINDEX_MAX_FILE_CONTENT_CHARS to change the limit, or to 0 to store full content. Before, one very large file produced a CSV row that could exceed the batch limit and the V8 string limit. Full-text search does not match text past the limit.
  • The native CSV writer (ONTOINDEX_NATIVE_CSV=1) writes rows in batches of 500 rows or 64 Mi characters. Before, it held every row of a table in memory until the table was finished.
  • ontoindex analyze --workspace-graph exits 3 when workspace capture refuses an input, and 1 for other failures; runs interrupted by SIGINT or SIGTERM still exit 130 or 143. In workspace-graph mode ontoindex watch treats exit 3 as a refusal and waits for the inputs to change. It retries other failures, such as a lock conflict or timeout, up to 8 times with backoff before it waits for repository changes.