chore(deps-dev): bump pytest from 9.0.2 to 9.0.3#5
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
Bumps [pytest](https://github.com/pytest-dev/pytest) from 9.0.2 to 9.0.3. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@9.0.2...9.0.3) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.0.3 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
gitpcl
pushed a commit
that referenced
this pull request
May 24, 2026
Sprint 026 closes six concrete defects exposed by post-merge review of the Sprint 023 (branch mode) + Sprint 025 (herdr) surfaces. No new features; defect closure + regression-test hardening only. Phase 1 — session_type on status rows (defect #1 root cause) - models/status.py: session_type: Literal['worktree', 'branch'] = 'worktree' - core/status.py: schema 3.2 with ALTER TABLE migration for legacy DBs - _upsert_status / _row_to_status round-trip the field - agent_launcher.py threads request.session_type through both interactive and headless paths via _init_pane_tracking Phase 2 — Doctor branch-mode safety (defect #1) - commands/doctor.py rewritten: partition statuses by session_type - worktree rows reconciled against git worktree list as before - branch rows reconciled against git branch --list — orphan iff backend session dead AND branch absent. Never compared to worktree list, so a healthy in-place branch session is never destroyed by --fix. - --fix dispatches to the right teardown per session_type Phase 3 — herdr socket plumbing (defect #2) - detect_herdr(socket_session, socket_path=None) — probe targets the same socket the backend will actually use - New select_backend_for_session(session) helper reconstructs the backend from a recorded BackendSession, preserving meta['socket'] end-to-end (was silently dropped before) - All call sites in commands/agent.py, commands/worktree.py, commands/ doctor.py, core/pane_actions.py, core/status.py replaced - HerdrBackend.create_session / session_for now persist herdr_session + socket in BackendSession.meta for deterministic reconstruction Phase 4 — Attach forced-backend re-resolution (defect #3) - commands/worktree.py:attach_worktree: when --tmux/--herdr conflicts with the recorded backend, call forced_backend.session_for(name) instead of coercing the recorded id (tmux and herdr ids are different shapes — coercing would silently misroute) - Raises ClickException with a clear message when the forced backend can't find a session, naming both kinds so the user can correct Phase 5 — Branch-mode parity in send / switch / delete (defect #4) - New commands/_shared.py:resolve_session_target() helper: tries WorktreeManager.get first, falls back to status DB on WorktreeNotFoundError so branch-mode sessions are first-class - commands/agent.py:send_to_worktree, commands/worktree.py:switch / delete / attach all route through the helper - delete on a branch row dispatches to branch teardown (delete_branch + pop_stash) instead of trying to remove a non-existent worktree dir Phase 6 — Headless skips backend resolution (defect #5) - commands/worktree.py:new_worktree: backend resolution moved inside the non-headless branch. [backend] mode='herdr' + --headless + herdr uninstalled is now a legal CI configuration. Phase 6a — Herdr submit chokepoint audit + tests (defect #6, in-scope) - core/herdr_backend.py audited: every pane.send_text that delivers user/agent-facing text routes through _send_line(); send_keys is reserved for raw control sequences - 6 new unit tests: default ('\r'), text:\r\n override, keys:Enter override, keys-failure fallback, unknown-mode warning, env-unset - Manual matrix file (tests/manual/herdr_submit_matrix.md) ready for the empirical lock-in — this is the one acceptance criterion that requires a live herdr build and stays open in TODO.json Phase 7 — Test-suite hardening - conftest.py: shared herdr_socket_path fixture (short /tmp path, macOS sun_path is 104 chars and pytest tmp_path overflows) - 3 herdr test files migrated to the fixture - Fixed I001 import ordering in test_agent_launcher_herdr.py - New tests: * test_commands_doctor.py: branch-mode safety, dead-branch detection, mixed fleet, herdr-backed worktree (4 cases) * test_cli_herdr_flags.py: forced-override re-resolution against opposite-kind recorded sessions (3 cases) * test_branch_mode.py: send / switch / delete on in-place branch sessions (3 cases) * test_headless_no_backend.py (new): asserts headless launch never calls select_backend even with [backend] mode='herdr' Phase 8 — Docs sync - README.md: backend recording fields, attach override semantics, branch-mode parity, headless+herdr, TUI prompt submission - SKILL.md: same updates with explicit Sprint 026 phase tagging - docs/herdr-integration.md: new sections for branch-mode parity, headless+herdr, and "Agent prompt submission (TUI agents)" with the full OWT_HERDR_SUBMIT escape hatch reference Verification: 1440 passed / 5 skipped (+17 from 1423 baseline); ruff check + ruff format + mypy all clean. TODO.json: 116/117 complete; the open item is the herdr-submit empirical matrix lock-in.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps pytest from 9.0.2 to 9.0.3.
Release notes
Sourced from pytest's releases.
Commits
a7d58d7Prepare release version 9.0.3089d981Merge pull request #14366 from bluetech/revert-14193-backport8127eafRevert "Fix: assertrepr_compare respects dict insertion order (#14050) (#14193)"99a7e60Merge pull request #14363 from pytest-dev/patchback/backports/9.0.x/95d8423bd...ddee02aMerge pull request #14343 from bluetech/cve-2025-71176-simple74eac69doc: Update training info (#14298) (#14301)f92dee7Merge pull request #14267 from pytest-dev/patchback/backports/9.0.x/d6fa26c62...7ee58acMerge pull request #12378 from Pierre-Sassoulas/fix-implicit-str-concat-and-d...37da870Merge pull request #14259 from mitre88/patch-4 (#14268)c34bfa3Add explanation for string context diffs (#14257) (#14266)You can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.