Skip to content

docs: trim Getting Started, remove historical ROADMAP.md, add cost-alert test - #50

Merged
scttfrdmn merged 3 commits into
mainfrom
docs/trim-getting-started-drop-roadmap
Jul 22, 2026
Merged

docs: trim Getting Started, remove historical ROADMAP.md, add cost-alert test#50
scttfrdmn merged 3 commits into
mainfrom
docs/trim-getting-started-drop-roadmap

Conversation

@scttfrdmn

Copy link
Copy Markdown
Owner

Addresses the latest external documentation re-review (site 9.1/10, full public docs 8.6/10). Every claim was verified against current main first; two were already resolved (reviewer read a stale checkout), so this PR fixes only the genuinely-open items.

What the review flagged, and what was real

# Claim Verdict
1 Getting Started runs unbatched future_map(1:10000, …) + "~4 hours local / ~3 min cloud" claims Real — fixed
2 genomics example uses list.files("s3://…") (can't read s3://) Real — fixed
3 ARCHITECTURE.md "still stale" Already fixed in PR #49 (EC2-first, 0 stale terms) — no change
4 ROADMAP.md historical + says MIT vs package Apache-2.0 Real — removed
5 "actual costs" in feature copy Already fixed — README says "estimated cost (measured runtime × current AWS pricing)"; no user-facing "actual cost" remains
6 Add tests: cost_alert_threshold warns-without-stop; should_cleanup_s3() precedence should_cleanup_s3 precedence already tested; alert-warn path was untested — added

Changes

  • Trim Getting Started (resolves Implement Future backend as primary API (refactor direct API as wrapper) #1 + Add comprehensive retry logic for task failures #2): the three inline examples (Monte Carlo, bootstrap, genomics) → a "Real-world examples" pointer to the measured example-* articles + Workload Shapes / Performance guides. Removes both future_map(1:10000,…) calls, the fabricated timings, and the list.files("s3://…") line. Remaining "map over inputs" examples now iterate a named input vector instead of a synthetic 1:1000 range.
  • Close the guard gap: tools/check-docs.R now flags naive big-count future_map()/future_lapply() (not just starburst_map()) and recognizes Instead of: / tiny-task anti-pattern markers. Verified: it fails on a reintroduced future_map(1:10000) and passes after revert.
  • Remove ROADMAP.md: pre-1.0 Fargate-first plan with a stale MIT license note; README Roadmap is canonical. Also drops its .Rbuildignore entry.
  • Add cost-alert regression test: proves cost_alert_threshold warns but does not stop the plan.

Verification

  • Rscript tools/check-docs.R → passes; fails on reintroduced future_map(1:10000), passes after revert.
  • devtools::test()284 pass, 0 fail (+ new cost-alert test).
  • grep sweep: no future_map(1:10000 / list.files("s3:// in getting-started; ROADMAP.md gone.

Docs/test-only; no behavior change.

Replace the three inline Getting Started examples (Monte Carlo, bootstrap,
genomics) with a 'Real-world examples' pointer to the measured example articles
and the Workload Shapes / Performance guides. This removes:
- two unbatched future_map(1:10000, ...) anti-pattern calls,
- fabricated '~4 hours local / ~3 min cloud' style speedup claims,
- list.files('s3://...') (base list.files cannot read s3:// URIs).

The remaining 'map over your inputs' examples now iterate a named input vector
instead of a synthetic 1:1000 range, matching how users actually call them.

Close the guard gap that let these slip past: tools/check-docs.R now flags
naive big-count future_map()/future_lapply() calls, not just starburst_map(),
and recognizes 'Instead of:' / tiny-task anti-pattern markers within three lines.

Refs external documentation re-review.
ROADMAP.md was a pre-1.0, week-by-week implementation plan (Fargate-first, with
EC2/Spot listed as future work) that no longer matched the shipped system, and
it carried a stale 'Package is free (MIT)' note while the package is Apache-2.0.
The README Roadmap section is the single source of truth. Also drop its
.Rbuildignore entry.
Adds a regression test proving cost_alert_threshold emits a warning but lets the
plan proceed (contrast with the max_hourly_cost hard-stop test): with the alert
below the estimate and no max cap, execution reaches a stubbed ensure_environment
sentinel, and the alert-threshold warning is printed. (should_cleanup_s3()
precedence is already covered in test-setup.R.)

NEWS: note the Getting Started trim + guard extension and ROADMAP.md removal.
@scttfrdmn
scttfrdmn merged commit f44ce51 into main Jul 22, 2026
7 checks passed
@scttfrdmn
scttfrdmn deleted the docs/trim-getting-started-drop-roadmap branch July 22, 2026 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Future backend as primary API (refactor direct API as wrapper)

1 participant