Skip to content

docs: improve checks documentation - fix typos, links, and grammar#228

Draft
BigLep wants to merge 14 commits intodocs/whats-it-doingfrom
biglep/initial-public-explanation-docs
Draft

docs: improve checks documentation - fix typos, links, and grammar#228
BigLep wants to merge 14 commits intodocs/whats-it-doingfrom
biglep/initial-public-explanation-docs

Conversation

@BigLep
Copy link
Contributor

@BigLep BigLep commented Feb 5, 2026

This PR has the set of things that I would want to change / improve or discuss improving on #164

… flow

- Add explanation that overall deal status depends on Upload, Onchain, Discoverability, and Retrieval sub-statuses
- Document branching flow: Upload → (Onchain ∥ Discoverability) → Retrieval
- Add multiple diagram options showing the dependency structure
- Update assertions table with retries and metric references
- Add production configuration and approval methodology doc
- Add README.md to checks directory with overview and terminology
- Move 'What is DealBot?' section to README
- Add MIN_NUM_DATASETS_FOR_CHECKS to configuration table with description
- Clean up incomplete FAQ entries in data-storage.md
- Add link to filecoin-pin FAQ for filecoinpin.contact vs cid.contact
- Add SP maintenance window section to production config doc
- Add check frequency information to production config doc
- Fix metric name typo (dataStorageCheckMs -> retrievalCheckMs)
- Fix typos: instnace→instance, appropraite→appropriate, verificaiont→verification, etc.
- Fix broken anchor links in data-storage.md
- Fix grammar: dealbot confirm→confirms, already knows→know, etc.
- Remove TBD_VARIABLE placeholders and TODO comments
- Fix missing closing backticks in formulas
- Fix duplicate words and double spaces
- Standardize terminology and fix inconsistent section references
- Fix metric name typos and broken event links in events-and-metrics.md
- Complete incomplete sentences and fix punctuation
@FilOzzy FilOzzy added this to FOC Feb 5, 2026
@github-project-automation github-project-automation bot moved this to 📌 Triage in FOC Feb 5, 2026
@BigLep BigLep moved this from 📌 Triage to ⌨️ In Progress in FOC Feb 5, 2026
Add details about checkType and providerId labels/attributes for filtering metrics
@BigLep
Copy link
Contributor Author

BigLep commented Feb 5, 2026

@SgtPooki : I need to look at this with a clear head to catch my own mistakes before I take up your head, but this is where my head has been at.

I spent the most time thinking about the events and metrics doc. It got me thinking that it would be good to just have prometheus metrics for all the metrics (assuming we have a label/attribute for providerId and checkType). It would make it easy to display things in Grafana and do either SP-focused views or look across all SPs.

Next steps:

  1. Review myself to catch my gaps/mistakes
  2. Steve dp a self review on the PR to callout why I was making some changes to docs: define deals, retrievals, and metrics #164
  3. Likely have a verbal between @SgtPooki and @BigLep as a forcing function to cover implementation scope and specifics.

BigLep added 10 commits February 5, 2026 10:23
Replace SP-under-test and SP under testing with SP under test / SPs under test throughout.
…rability

Show Upload → Onchain and Discoverability in parallel, then Retrieval only after Discoverability succeeds; deal success requires both Onchain and Retrieval.
- bandwith → bandwidth
- Link Data Storage Check and Retrieval Check to data-storage.md and retrievals.md
…ions

- Use pieceConfirmedOnChainMs and spIndexLocallyMs for assertions 3 and 4
- Set assertion 2 metric to n/a (no matching metric in events-and-metrics)
Column links to sub-status meanings and maps each assertion to Upload, Onchain, Discoverability, or Retrieval.
- events-and-metrics: fix 'metrics results' wording, Emmitted→Emitted, remove empty bullet, fix table cell
- retrievals: subject-verb agreement (remain), 'on 5xx response'
- production-config: clarify RANDOM_PIECE_SIZES note for retrieval downloads
@BigLep
Copy link
Contributor Author

BigLep commented Feb 5, 2026

Next for @SgtPooki and @BigLep to cover verbally on 2026-02-05:

  1. Prometheus metrics all the way
  2. List of metrics
  3. Data storage substatus
  4. Production thresholds

(@BigLep will report back notes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ⌨️ In Progress

Development

Successfully merging this pull request may close these issues.

1 participant