ops-bridge/workplans/ADHOC-2026-06-14.md

54 lines
1.5 KiB
Markdown
Raw Normal View History

2026-06-14 19:46:06 +02:00
---
id: BRIDGE-WP-ADHOC-2026-06-14
2026-06-14 19:46:06 +02:00
type: workplan
title: "Ad hoc ops-bridge fixes for 2026-06-14"
domain: custodian
repo: ops-bridge
status: finished
owner: codex
topic_slug: ops-bridge
created: "2026-06-14"
updated: "2026-06-14"
---
## Fix haskelseed bridge diagnostics
```task
id: BRIDGE-WP-ADHOC-2026-06-14-T01
2026-06-14 19:46:06 +02:00
status: done
priority: medium
```
`haskelseed` is an Alpine host without `ss`, so `bridge check` reported
reverse tunnel ports as closed even while SSH reverse listeners were present.
Updated diagnostics to fall back from `ss` to `netstat` and then
`/proc/net/tcp`/`tcp6`. Also fixed local-direction diagnostics so
`nix-daemon-haskelseed` checks the local `-L` listener instead of probing a
remote reverse port.
Verification:
- `state-hub-haskelseed` responded through `127.0.0.1:18000/state/health`.
- `bridge check --json` reported all configured tunnels `ok: true`.
- `python3 -m pytest tests/test_cli.py tests/test_diagnostics.py` passed.
## Make default target safe and add setup
```task
id: BRIDGE-WP-ADHOC-2026-06-14-T02
2026-06-14 19:46:06 +02:00
status: done
priority: medium
```
Changed `make` to default to a help listing that only shows targets with
`##` comments. Added `make setup` to run `uv sync --all-groups` and reinstall
the editable `bridge` CLI wrapper through `uv tool install -e . --force`.
Verification:
- `uv sync --all-groups` succeeded and installed the project environment.
- `make` listed targets only and did not run tests or setup.
- `make setup` succeeded and installed the `bridge` executable.
- `make test` passed all 235 tests.
- `make lint` passed.