Skip to content

docs: link the README to Discussions Q&A and the issue chooser - #540

Merged
JohnnyWilson16 merged 1 commit into
mainfrom
docs/readme-help-link-jwd
Nov 28, 2026
Merged

JohnnyWilson16 merged 1 commit into
mainfrom
docs/readme-help-link-jwd

Conversation

@JohnnyWilson16

Copy link
Copy Markdown
Contributor

What changed?

  • README.md: new "Get help" section with links to Discussions Q&A, the issue chooser, and private security advisories.
  • SUPPORT.md: asks for fd.suggest_plan(df).to_dict() output instead of report.summary().
  • tests/test_help_links.py (new): fails if the README loses the two links, or if SUPPORT.md or an issue template names an fd.* API that freshdata does not export.

Why?

A new user who has a question cannot find where to ask it from the README. The README said "Open an issue" with no link, and it did not mention Discussions at all. SUPPORT.md asked for report.summary() output, but CleanReport on main has no summary() method. This was cause #3 in the adoption audit.

How was it tested?

Before (pytest tests/test_help_links.py on origin/main 0e89722 plus the new test):

>       assert f"]({REPO}/discussions/categories/q-a)" in readme
E       AssertionError: assert '](https://github.com/FreshCode-Org/freshdata/discussions/categories/q-a)' in '# freshdata\n\n**Dry-run data repair plans ...'
tests/test_help_links.py:14: AssertionError
E           AssertionError: SUPPORT.md names CleanReport.summary(), which does not exist
tests/test_help_links.py:24: AssertionError

After:

2 passed in 0.92s

Full suite (editable install, .[dev,migrate,polars], Python 3.12): 96 passed, 1 warning in 10.57s, coverage 96.15%.

I checked that the Q&A category exists (discussionCategories slug q-a, isAnswerable: true) and that fd.suggest_plan(df).to_dict() runs on main.

  • New unit tests added in tests/
  • ruff check and ruff format --check clean on the new test

Any performance impact?

  • None

Any compatibility concerns?

  • None. No change to src/.

Known limit

SUPPORT.md still sends users to the docs site first. The docs site was last built on 2026-10-14 and describes the 2.x API. That is a separate cause in the audit (stale docs) and is not in this PR.

The README told a user to "open an issue" but had no link to the issue
page, to Discussions, or to private security reports. SUPPORT.md asked
for `report.summary()` output, and CleanReport has no summary().

The README now has a "Get help" section with the three links.
SUPPORT.md asks for `fd.suggest_plan(df).to_dict()` output.
tests/test_help_links.py fails if the README loses the links or if the
help text names an API that freshdata does not export.
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c14481cb-a218-42c1-a3dd-79e1c1a49e35
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@JohnnyWilson16
JohnnyWilson16 merged commit 147fbd6 into main Nov 28, 2026
13 checks passed
@JohnnyWilson16
JohnnyWilson16 deleted the docs/readme-help-link-jwd branch November 28, 2026 16:28
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.

1 participant