Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,21 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install pinned requirements from official PyPI
run: python -m pip install --disable-pip-version-check --index-url https://pypi.org/simple -r requirements.txt
- name: Install package and exercise console entry point outside checkout
run: |
python -m pip install --disable-pip-version-check --index-url https://pypi.org/simple .
python scripts/smoke_install.py
- name: Validate example from a fresh clean copy
run: >-
python -c "import pathlib,shutil,subprocess,sys,tempfile; src=pathlib.Path.cwd(); temporary=tempfile.TemporaryDirectory(); clean=pathlib.Path(temporary.name)/'clean'; clean.mkdir(); [shutil.copy2(src/name,clean/name) for name in ('dead_air.py','dead-air.example.toml','requirements.txt')]; subprocess.run([sys.executable,str(clean/'dead_air.py'),'validate','--config',str(clean/'dead-air.example.toml')],cwd=clean,check=True)"
python -c "import pathlib,shutil,subprocess,sys,tempfile; src=pathlib.Path.cwd(); temporary=tempfile.TemporaryDirectory(); clean=pathlib.Path(temporary.name)/'clean'; clean.mkdir(); shutil.copytree(src/'deadair',clean/'deadair'); [shutil.copy2(src/name,clean/name) for name in ('dead_air.py','dead-air.example.toml','requirements.txt')]; subprocess.run([sys.executable,str(clean/'dead_air.py'),'validate','--config',str(clean/'dead-air.example.toml')],cwd=clean,check=True)"
- name: Run source suite
run: python -m unittest discover -s tests -p test_dead_air.py -v
- name: Run incident suite
run: python -m unittest discover -s tests -p test_incidents.py -v
- name: Run alert suite
run: python -m unittest discover -s tests -p test_alerts.py -v
- name: Run operations and crash-recovery suite
run: python -m unittest discover -s tests -p test_operations.py -v
- name: Run Windows native-media suite when tools are available
if: runner.os == 'Windows'
shell: pwsh
Expand Down
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,12 @@ __pycache__/
dead-air.toml
state/
.venv/
build/
dist/
*.egg-info/
*.sqlite3
*.sqlite3-journal
*.sqlite3.lock
*.db
*.db-journal
*.db.lock
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Changelog

## 0.2.0

- Installable `dead-air` command, `python -m deadair`, bundled starter config,
non-overwriting `init`, and the original script/import compatibility entry point.
- Organized configuration, models, persistence, status, and engine modules.
- Read-only status during watch, original observation age, stale/config-change
handling, open incidents, and pending/sent/failed delivery counts.
- Malformed persisted observation times stay UNKNOWN without non-finite ages.
- Human-readable monitoring output; `--json` retains the observations array and
adds incident/delivery diagnostics.
- Config-relative state and explicit tool paths; direct-source doctor no longer
requires yt-dlp; malformed numeric/type/encoding/port inputs fail cleanly.
- Fair serial stream budgets, start-to-start watch intervals, and independent
missing-track recovery into silent/frozen media.
- Crash-released per-database OS locks and an atomic legacy compatibility guard.
- Bounded DNS children, checked-address HTTP connections, and explicit HTTPS
capture certificate verification for older FFmpeg builds.
- SIGTERM cleanup and POSIX descendant cleanup after the direct child exits.
- Added operator documentation, research-backed next steps, installed-package
checks and Alexander Marzouca contributor credit.
- Added the loopback GUI from the public 0.1.0 line, with read-only status,
validated stream entry, owned watcher controls, and click-only test alerts.

Upgrade notes: stop existing monitors first, review config-relative paths, keep
`--json` for machine consumers, and read [state ownership](docs/OPERATIONS.md#state-ownership-and-upgrades)
before changing or removing any persistent lock file.
10 changes: 10 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Contributors

- [Alexander Marzouca (@marzouca)](https://github.com/marzouca) — product direction,
operational requirements, reliability improvements, and contributor stewardship.
- [Perennos](https://github.com/Perennos) — project and original implementation.

Contributions made with coding assistants are reviewed and tested as code changes;
assistant involvement is not evidence of provider qualification or live deployment.

See [NOTICE](NOTICE) for artwork and font attribution.
235 changes: 77 additions & 158 deletions README.md

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Roadmap

The current implementation order and acceptance criteria are in
[Research and next steps](docs/RESEARCH_AND_NEXT_STEPS.md). Local status and package
installation are implemented in 0.2.0; a web wall, external heartbeat, new provider
adapters, loudness drift and stream recovery remain future work.

This page lists candidates for future work. It is not a release promise, and an item here is not implemented or supported. The current project remains a local foreground CLI; consult the README and source for the behavior available today. Use only streams and media that the contributor owns or is authorized to test, and prefer synthetic fixtures for development.

## FUTURE — provider qualification
Expand Down
Loading
Loading