Repository navigation
T100: the repo selector's declared tests, respelled to the carve (plan 038, T094's map R2-INV-R9) - #54
Conversation
…n 038; T094's map R2-INV-R9) One file, tests/test_repo_selector.py, under the holder's rulings on T094's map (openxFactory#656 comment 6021830531): - DJ, R9-W1 (A''): the three Node harnesses copy display.js beside the model, with package.json, as T026's harnesses do (17 nodes). - VR, R9-R1 (a): the sparse-station node is handed the display /capabilities serves under the registered host, and asserts the served words (1 node). - MN: SNAPSHOT_INDEX_ROUTE is read from openxdox.serve_projection (2 nodes). - R9-W4: the plain-script and module subprocess tests register the host from THIS checkout before opendox.serve runs: openXdox's columns and governed projection from this checkout, openxFactory's composite read with sys.path saved and put back, and T020's guard, the very function (2 nodes). - R9-R2 (a): the PyYAML claim is re-scoped to openDox with no host: refresh refused as unknown_action, and no POST tries to import yaml (1 node). - R9-W3: the D12 relative-import pin is retired, with its pattern and that pattern's self-test (1 red node retired, 7 green with it). Composed, the file alone, at a local integration of main d45a093 + #40 542a5c4 + #46 7ad77ae: 24 failed, 18 passed before; 34 passed after. Lane: openXfactory-3 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Lane: openXfactory-3 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Reviewer's GuideThis draft rewrites the repo-selector integration tests to match the openDox/openXdox carve: Node harnesses now consume served display capabilities, subprocess tests explicitly register the current checkout's host and test both serve entry points, and dependency isolation targets unhosted openDox while the obsolete relative-import scan is retired. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Cross-repository behavior depends on pending PR #46 and composed integration pins requiring final human validation.
Review effort: Balanced
Findings: None
What changed in this PR
Rescopes repo-selector integration tests to the openDox/openXdox carve, dependent on PR #46’s composed host registration.
Changes:
- Adds display-aware Node harness coverage.
- Updates route ownership and subprocess host setup.
- Replaces obsolete import scanning with behavioral serve tests.
| File | Description |
|---|---|
tests/test_repo_selector.py |
Updates repo-selector model and serve integration tests. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Lane: openXfactory-3 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Lane: openXfactory-3 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days. You can request another review in 17 hours and 39 minutes by commenting |
|
|
READY at 1c2693f Lane: openxfactory-4 (openXfactory-4-openDox_extraction) Holder, automatic READY on Brett's word "land lane 3's PRs when green" (2026-10-06). At the head: |
Brings T101 (#48), T098 (#51), T103 (#49), T096 (#53), T100 (#54), T099 (#47), T021's follow-on (#55), T102 (#52), T022 (#41, landed as aefd109), T097 (#50) and T096's follow-on (#56). Conflicted: scripts/composed_placements.py and tests/test_composed_placements.py, both T022's files, which this branch carried from #41 through #44. Main's landed side is kept for both. tests/declared_exclusion.yaml merged clean (T101's entry edits beside T073's header and open_until). Lane: openXfactory-3 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>



Lane: openxfactory-4 (openXfactory-4-openDox_extraction)
Authored by lane openXfactory-3, delegated by lane openxfactory-4 (#656 6021862323)
Arc: neutral-product-standalone-operability
T100: the repo selector's declared tests, respelled to the carve (plan 038, T094's map R2-INV-R9)
Contract. There is no
tasks.mdentry yet. Lane 4 records T095 to T104 after T002. The contract is T094's slice-outline row for T100 and the holder's rulings on the map, opensoft/openxFactory#656 comment 6021830531.tests/test_repo_selector.py. It owns 24 composed reds, and its 7 host-registration nodes arrive with T095.tests/test_declared_exclusion.pystays green lone.e2340bb6. main is merged in.Ruled (#656 6021830531), as applied here:
display.jsbeside the model, withpackage.json, as T026's harnesses do. 17 nodes./capabilitiesserves under the registered host, and asserts the served words. 1 node.SNAPSHOT_INDEX_ROUTEis read fromopenxdox.serve_projection. 2 nodes.opendox.serveruns. 2 nodes. The child, in order:src/first and imports openXdox's governed columns from it;openxdoxresolves to this checkout;projection_contributions.register(), the call openxFactory's host makes, plan 034 T064);sys.pathsaved and put back;_refuse_an_openxdox_from_elsewhere, the very function (its source, run in the child);python -m opendox.serve, a PyYAML blocker as its only path entry). The refresh is refused asunknown_action, and noyamlis loaded. 1 node.test_serve_module_uses_no_relative_importsis RETIRED. 1 node.Two notes for the holder (measured; no ruling taken):
import yamlat START, not on a POST.build_server(), then_probe_nlm, thenreal_notebook_adapter, thenopendox.workbench:52, which imports PyYAML.yaml.RELATIVE_IMPORT_RE), and that pattern's 7-case self-test (test_the_relative_import_guard_catches_every_dot_and_segment_depth). The file's own comment named the three as one pin.R9-R2's lone consequence: none.
doc_health(openxdox.generator):ModuleNotFoundError: No module named 'doc_health',1 error in 0.39s.tests/declared_exclusion.yamlis unchanged, and the entry keeps[doc_health].Falsifier, quoted
The composed form (R1Q23 (a)):
92010d3e(tests/composed_host_pin.yaml), withopenDox,openXdoxandopenXwalletrecursive, and itsscripts/onPYTHONPATH;84f8ed83, installed;TERM=dumb;python -m pytest -q -p no:cacheprovider -rfE --junitxml=… <file>.Measured over REAL main, after T095 (#46) landed:
e2340bb6;ba0c3446, which is maine2340bb6plus this PR's one file.tests/test_repo_selector.pye2340bb618 passed, 24 failedba0c344634 passed, 0 failedThe 24 at the base are DJ 17, DJ+VR 1, MN 2, W4 2, W3 1 and R9-R2 1. T095's 7 host-registration nodes are already green there. 42 nodes become 34: W3 retires 1 red and 7 green.
Unchanged set, composed, each file alone, at base and head: node-for-node identical, 974 nodes, 0 red at both.
test_generator45,test_session_snapshot23,test_snapshot_determinism6,test_snapshot_registry40,test_snapshot_validation_launch9, all passed.test_column_contributions_governed.py:9 passed.992 passed, 24 failed; head1008 passed, 0 failed.Lone (CI venv, openDox
dede32b4by the pin), atba0c3446:tests/test_declared_exclusion.py:207 passed.1 error,ModuleNotFoundError: No module named 'doc_health'at collection. Its entry stays as it is.python -m pytest -q --deselect "$LEFT_OUT"):1161 passed, 4 skipped, 1 deselected. That is selected 1165, against the floors 1099 / 1095 / 4. The floors are untouched.Mutants (one exact edit each, the file run composed alone)
Measured at the earlier integration of main
f70bc9c3+ #46c2192e3e. This PR's file is byte-identical atba0c3446.display.jsnot copiedpackage.jsondisplay.jsas a module; kept for parity with T026's harnessessparseNoticenot given the displaycompletionand the values). M3 guards the hand-offsrc/not put firstsys.pathnot put backopenxdoximport after the composite is read reaches the pinned leg in these two tests. The in-process harness has the same postureyamlFiles changed
tests/test_repo_selector.py(only).Gates at
ba0c3446validatepassed (run 37548690247):1161 passed, 4 skipped, 1 deselected, andtriple: selected=1165 passed=1161 skipped=4 failures=0 errors=0against the floors 1099 / 1095 / 4.ba0c3446reads "Findings: None". Its "Needs a closer look" note concerns the then-unlanded T095: the composed harness for the declared integration tests (plan 038, T094's R2-INV-R9) #46, which has since LANDED ase2340bb6and is merged into this head. The earlier review, 5435251251 at0c0f8bc8, also read "Findings: None".What remains
fc1115d6. Lane 4's autoland loop runs update-branch and re-requests Copilot.mainsincee2340bb6(T101: the doxBench texts read the carved and composed homes (plan 038; T094's map R2-INV-R9) #48 T101, T098: display harnesses (A), and the server's scope labels from the served facet (plan 038, T094's R2-INV-R9) #51 T098) does not touchtests/test_repo_selector.py.🤖 Generated with Claude Code
Summary by Sourcery
Respell the repository-selector tests to validate the current openDox hosting boundaries and server behavior.
Enhancements:
Tests: