Help reviewers find and run the portable vault counter tests

Open Beginner friendly
#28 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
rust, sqlite
Domain
documentation

Research direction

Start in README.md at the existing architecture links; read ADR 0004 and ADR 0005’s “Decisions requested” section, then the counter-reservation PR #26 and durability-test PR #27. Add a short reviewer paragraph linking ADR 0005, the synthetic-data Rust tests, the SQLite interruption tests, and ADR 0005’s review/interoperability gates, including the counter 11/12 worked example. Run the portable-vault Cargo test command from a clean checkout at the repository root to verify it before submitting; done means the README note and verified command are in place.

Written by the indexing model from the issue text.

Description

documentation good first issue help wanted

The README points readers to the proposed recovery journey in ADR 0004. Someone trying to review the export counter rules still has to find ADR 0005 and piece together the evidence from the Rust prototype. Add a short reviewer note to the README alongside the existing architecture links. README · ADR 0005, decisions requested

  • Link to ADR 0005 and identify the export format as a candidate exercised with synthetic data in Rust tests.
  • Give one worked example from #26. If two snapshots reserve counters 11 and 12, snapshot 11 can finish sealing later. Previewing it on a device that has already recorded 12 triggers the older-or-equal warning. This explains why completion order alone tells a reviewer little about snapshot order.
  • Link to the SQLite interruption tests added in #27 and give the Cargo command for running the portable-vault tests from the repository root. Verify the command in a clean checkout before submitting.
  • Point readers to ADR 0005’s review and interoperability gates for production use.

A short paragraph and a command are enough. Counter reservation PR · Durability test PR

Dominant language
Kotlin
Stars
0
Forks
0
Avg merge
3h 20m
Merged PRs (30d)
59

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsotto/sotto-authenticator

All issues in getsotto/sotto-authenticator

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.