Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e87398d
m1: parent-control web UI (closes #110)
hanwencheng May 26, 2026
3628208
parent-control: extract mocks, empty states, coverage scaffold (PR-A)
hanwencheng May 26, 2026
1000648
parent-control: real WebAuthn onboarding wizard (PR-B)
hanwencheng May 26, 2026
cbe8fee
parent-control: full daemon read/write surface + harness mirror (PR-C)
hanwencheng May 26, 2026
16fa539
plan: docs/plan/web-flow — parent-control operator user flow (Phase 1)
hanwencheng May 27, 2026
240838b
parent-control: scripts/dev.sh — single-terminal dev stack
hanwencheng May 27, 2026
7c2cfc7
dev.sh: move single-terminal dev stack to repo root
hanwencheng May 27, 2026
57cc7a1
dev.sh: harden free_port, add agentkeys-mcp-server to the stack
hanwencheng May 27, 2026
dfed623
dev.sh: fix free_port multi-pid handling — make it truly idempotent
hanwencheng May 27, 2026
19d2a98
dev.sh: silent + clean shutdown — fix Ctrl-C hang, suppress noise
hanwencheng May 27, 2026
eb78b4c
Merge remote-tracking branch 'origin/main' into claude/pensive-poinca…
hanwencheng May 31, 2026
b3b9644
plan(web-flow): redesign agent flow around #141 wire/hook model
hanwencheng May 31, 2026
b002bf8
Merge remote-tracking branch 'origin/main' into claude/pensive-poinca…
hanwencheng May 31, 2026
8834c55
parent-control: implement the 9-step operator flow (Claude-design port)
hanwencheng May 31, 2026
ee09489
Merge remote-tracking branch 'origin/main' into claude/pensive-poinca…
hanwencheng Jun 1, 2026
2e51b21
parent-control: implement pushback #2 — real onboarding WebAuthn + re…
hanwencheng Jun 1, 2026
bff7d16
Merge remote-tracking branch 'origin/main' into claude/pensive-poinca…
hanwencheng Jun 1, 2026
4acc952
parent-control: remove all mock/seed data — client-drive every page +…
hanwencheng Jun 1, 2026
41ade3a
parent-control: plant the PREPARED real memory archive (rework, not f…
hanwencheng Jun 1, 2026
e23cada
parent-control: add log out button (header + sidebar) with full sessi…
hanwencheng Jun 1, 2026
be036ab
parent-control: remove superseded/unused frontend code
hanwencheng Jun 1, 2026
fb7cd51
agentkeys-daemon: rustfmt ui_bridge.rs + main.rs (fix cargo fmt --che…
hanwencheng Jun 1, 2026
de8fd69
ci(coverage): fix cargo-llvm-cov report invocation (drop --workspace/…
hanwencheng Jun 1, 2026
98c19be
agentkeys-daemon: fix 2 clippy lints in ui_bridge (clippy --all-targe…
hanwencheng Jun 1, 2026
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
120 changes: 120 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
name: coverage

# Rust test coverage via cargo-llvm-cov.
#
# Blocking on the new UI-bridge endpoints (PR-C). The threshold is
# per-file via cargo-llvm-cov's --fail-under-lines:
# --fail-under-lines 60 workspace-wide minimum
# The ui_bridge.rs module specifically is expected to stay >80%
# (drift triggers a follow-up to add the missing test).
#
# To inspect locally:
# cargo install cargo-llvm-cov
# cargo llvm-cov --workspace --html # opens target/llvm-cov/html/index.html
#
# Generates:
# - lcov.info — for codecov / coveralls (uploaded as artifact today)
# - cobertura.xml — for GitHub PR coverage diff (future)
# - html/index.html — human-readable browseable report (artifact)
#
# Local equivalent:
# cargo install cargo-llvm-cov
# cargo llvm-cov --workspace --lcov --output-path lcov.info
# cargo llvm-cov --workspace --html # opens target/llvm-cov/html/index.html

on:
push:
branches: [main]
pull_request:
paths:
- 'crates/**'
- 'Cargo.toml'
- 'Cargo.lock'
- 'rust-toolchain.toml'
- '.github/workflows/coverage.yml'

permissions:
contents: read

concurrency:
group: coverage-${{ github.ref }}
cancel-in-progress: true

jobs:
llvm-cov:
name: cargo-llvm-cov (non-blocking)
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview

- name: Cache cargo
uses: actions/cache@v4
with:
path: |
~/.cargo/registry/index
~/.cargo/registry/cache
~/.cargo/git/db
target
key: ${{ runner.os }}-cargo-llvm-cov-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-llvm-cov-
${{ runner.os }}-cargo-

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- name: Generate lcov + html (blocking; --fail-under-lines 60)
id: cov
run: |
set -euo pipefail
# Collect coverage once (single test pass), then emit each report from
# the stored profile data. `cargo llvm-cov report` does NOT accept
# --workspace or a trailing `-- <test-args>` — newer cargo-llvm-cov
# rejects them ("--workspace ... not supported for subcommand 'report'").
# Only the collecting run takes --workspace + test args.
cargo llvm-cov --no-report --workspace -- --test-threads=1
cargo llvm-cov report --lcov --output-path lcov.info
cargo llvm-cov report --html
cargo llvm-cov report --summary-only | tee coverage-summary.txt
# Workspace-wide floor. Set conservatively (60%); per-file
# discipline lives in the test list in each module under
# `mod tests`. Bump in follow-up PRs as tests catch up.
cargo llvm-cov report --fail-under-lines 60

- name: Upload lcov artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-lcov
path: lcov.info
if-no-files-found: warn
retention-days: 14

- name: Upload html artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: coverage-html
path: target/llvm-cov/html/
if-no-files-found: warn
retention-days: 14

- name: Post coverage summary to job summary
if: always()
run: |
{
echo "## Coverage (cargo-llvm-cov)"
echo
echo "Workspace floor: 60% lines. Failing this gate blocks merge."
echo
echo '```'
cat coverage-summary.txt 2>/dev/null || echo "(coverage-summary.txt not produced — see job logs)"
echo '```'
} >> "$GITHUB_STEP_SUMMARY"
Loading
Loading