Skip to content

overhaul of testing suite and fix bug where rows dropped if no thumbnail - #92

Merged
Clare72 merged 16 commits into
mainfrom
dropped-rows-bug
Aug 25, 2026
Merged

overhaul of testing suite and fix bug where rows dropped if no thumbnail#92
Clare72 merged 16 commits into
mainfrom
dropped-rows-bug

Conversation

@Clare72

@Clare72 Clare72 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@Clare72
Clare72 requested a review from Robbie1977 August 24, 2026 13:45
requirements.txt mirrored setup.py's install_requires but also carried pytest
and pytest-timeout, while pytest-xdist, deepdiff and colorama were pip-installed
ad hoc inside individual workflow steps. Nothing described what a test run
needs, and the Dockerfile — which copies requirements.txt — pulled test tooling
into the runtime image.

Declare test-only dependencies in tests/requirements.txt and install both files
in every CI job that runs tests.

Also cap the load these jobs put on production VFB infra: a per-branch
concurrency group on each live-backend workflow so superseded runs are
cancelled, and a fixed -n 4 in place of -n auto (Run Tests) and -n 8
(Connectivity Tests) — the hosted runner has 4 vCPUs, so 8 workers bought no
throughput and only doubled the concurrent queries aimed at Neo4j.
cancel-in-progress is limited to pull_request on Performance Test, whose push
and scheduled runs commit performance.md back to main.
Removing the "Class" gate on pub_syn changed get_term_info output for a large
set of Individuals with nothing asserting it. Add an offline regression test
built on a hand-made term_info document, so it exercises the parsing branch
rather than whatever the graph currently holds: no backend, no skip path, no
dependence on curation. Verified to fail with the gate restored.

Also apply this branch's CI changes to the parked copy of performance-test.yml
in docs/ci, so the parked definition does not go stale against the running one.
@Clare72

Clare72 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor Author

Thumbs up from claude:

Net: both commits are high quality, well-documented, and complement rather than conflict with your changes. Nothing I'd push back on.

The three execution tests carried @unittest.skip because Owlery /instances
exceeded the 300s per-test budget for epFrag on every expression pattern tried.
That was a server-side limitation and it has been fixed: the reference query
(BFO_0000050 some VFBexp_FBtp0022557) now returns 5823 instances in about 4s,
and all five tests in the file pass in ~7s.

Note these were hard-coded skips, not the connection-failure skips conftest.py
applies — no amount of backend recovery would have un-skipped them on its own.
@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown

⚠️ 207 test(s) skipped — VFB backend was unreachable

The full suite ran, but 207 test(s) were skipped because the VFB backend (Neo4j / SOLR / Owlery) did not answer during this run.

These are not failures and not a problem with this branch — but those queries went unverified, so a green check here is an incomplete run.

To re-run: open this workflow run and click Re-run all jobs once the backend is healthy (re-running the “Run completeness” check itself does nothing — it has no job behind it).

474 passed, 207 skipped, 338 warnings in 404.89s (0:06:44)

Posted automatically. This comment is removed once a run completes with zero skips.

@Clare72
Clare72 merged commit f216b8b into main Aug 25, 2026
9 checks passed
@Clare72
Clare72 deleted the dropped-rows-bug branch August 25, 2026 14:56
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.

2 participants