test: pass-2 P3 follow-ups from PR #218 (sandbox harness and research doc polish) #272
Labels
No labels
blocked
bug
enhancement
high-priority
low-priority
needs-info
needs-triage
ready-for-agent
ready-for-human
referenced
research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gabogg/hikcentral#272
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-ups from review pass 2 of PR #218 (see the review on that PR). None blocks Milestone 3's delivery, so this issue stays outside it.
Harness (
tests/conftest.pyand related files):guarded_connectandguarded_connect_exare duplicated (conftest.py:74-90). Extract one helper._orig_db_pathrestore is dead code (conftest.py:23-24, 43-44): it is read after DATABASE_PATH is already set.tests/test_review_script.pyskips the whole module outside git. Onlytest_wt_review_forwards_arguments_from_nested_directoryandtest_wt_ignores_a_regular_scripts_package_on_pythonpathneed git, so skip just those two and keep the other 36 running in git-archive exports.cmd_doctor.py:182-186resolves the DB directory against the cwd instead of the repo root (plausible).Research doc (
docs/research/217-test-performance-and-agent-workflows.md):ffee469(539 tests), not the merged head. The brief's--durations=25report is missing, and the serial before/after medians are load-confounded, so present them as such.test_forced_open_with_card_keeps_forced_trigger, and the leaked state is not yet identified).db_sync_servicenow places snapshots and staging next tosettings.db_path. Note this in the CHANGELOG or release notes.Acceptance criteria