Skip to content

(docs-scout/staleness)[torchx][docs] Fix 7 stale references across components, advanced, and tracker docs#1258

Open
kiukchung wants to merge 1 commit intomainfrom
export-D96451468
Open

(docs-scout/staleness)[torchx][docs] Fix 7 stale references across components, advanced, and tracker docs#1258
kiukchung wants to merge 1 commit intomainfrom
export-D96451468

Conversation

@kiukchung
Copy link
Copy Markdown
Contributor

Summary:
Fix 7 accuracy issues found during docs-scout rotation audit of components/advanced section.

component_best_practices.rst (item 1, HIGH):

  • Replace reference to non-existent torchx.components.base module (no __init__.py)
    with link to custom_components guide for simple single-node components

components/init.py (item 2, HIGH):

  • Update doctest example from deprecated specs.named_resources[host] dict-access
    to current specs.resource(h=host) API

advanced.rst (items 3 + 5, MEDIUM/LOW):

  • Add note that register migration is pending for components (other plugin types
    already migrated)
  • Fix seealso reference from non-existent find() to registry() (actual export)

fb/distributed.rst (item 4, MEDIUM):

  • Fix example from -s mast to -s hpc (preferred scheduler per quickstart.rst)

fb/tracker_usage.rst (item 6, LOW):

  • Update "MAST/MSL" to "MSL" (forward-looking, MAST deprecated)

custom_components.rst (item 7, LOW):

  • Add note that register migration is pending for components in seealso

Differential Revision: D96451468

…mponents, advanced, and tracker docs

Summary:
Fix 7 accuracy issues found during docs-scout rotation audit of components/advanced section.

**component_best_practices.rst (item 1, HIGH):**
- Replace reference to non-existent `torchx.components.base` module (no `__init__.py`)
  with link to `custom_components` guide for simple single-node components

**components/__init__.py (item 2, HIGH):**
- Update doctest example from deprecated `specs.named_resources[host]` dict-access
  to current `specs.resource(h=host)` API

**advanced.rst (items 3 + 5, MEDIUM/LOW):**
- Add note that `register` migration is pending for components (other plugin types
  already migrated)
- Fix seealso reference from non-existent `find()` to `registry()` (actual export)

**fb/distributed.rst (item 4, MEDIUM):**
- Fix example from `-s mast` to `-s hpc` (preferred scheduler per quickstart.rst)

**fb/tracker_usage.rst (item 6, LOW):**
- Update "MAST/MSL" to "MSL" (forward-looking, MAST deprecated)

**custom_components.rst (item 7, LOW):**
- Add note that `register` migration is pending for components in seealso

Differential Revision: D96451468
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 13, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Mar 13, 2026

@kiukchung has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96451468.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.19%. Comparing base (be13e2e) to head (fe2703a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1258   +/-   ##
=======================================
  Coverage   92.19%   92.19%           
=======================================
  Files          94       94           
  Lines        6726     6726           
=======================================
  Hits         6201     6201           
  Misses        525      525           
Flag Coverage Δ
unittests 92.19% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants