Skip to content

Say which Audits job runs the slow tests, and pin it with a test - #1322

Merged
yakew7 merged 1 commit into
yakew7:mainfrom
tylrcc:fix/issue-1321
Nov 11, 2026
Merged

yakew7 merged 1 commit into
yakew7:mainfrom
tylrcc:fix/issue-1321

Conversation

@tylrcc

@tylrcc tylrcc commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1321.

Docs — the Audits row in .github/workflows/README.md no longer says just 'conditional profiler and benchmark-harness checks'. It now states the split from #1300, verified against audits.yml:

  • the conditional profiler job runs make coverage-fast — the suite without the slow tests, with coverage (audits.yml:137);
  • the conditional benchmark-harness job runs every test marked slow — pytest tests --ignore=tests/browser -m slow (audits.yml:190), and only there.

Test — new test_workflow_reference_says_which_job_runs_the_slow_tests in tests/test_workflow_docs.py asserts the Audits row names both jobs, make coverage-fast and the slow marker.

Verification (run here):

  • pytest tests/test_workflow_docs.py -q → 2 passed.
  • Mutation check, as the issue's 'done when' asks: reverting the row to the old wording makes the new test fail (1 failed, 1 passed); restoring the description returns it to 2 passed.

The workflows reference described the Audits profiler/benchmark
jobs only as 'conditional profiler and benchmark-harness checks',
so a contributor could not learn where a slow test runs. Since
yakew7#1300 the profiler job runs 'make coverage-fast' (the suite without
the slow tests, with coverage) and the benchmark-harness job runs
every test marked 'slow'.

Spell the split out in the Audits row, and add
test_workflow_reference_says_which_job_runs_the_slow_tests to
tests/test_workflow_docs.py so the reference fails its own test if
the description is removed again.

Closes yakew7#1321.
@vercel

vercel Bot commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

@tylrcc is attempting to deploy a commit to the yashkewlani2020-gmailcom's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Hey @tylrcc, your first PR on Fair Code, that's awesome, thank you.

This project is about making AI more accountable, and contributions like yours are what keep that work going. We'll review your changes shortly.

If you haven't already, give the contributing guide a quick read: it covers how audits are structured and what we look for in a review.

And if you're finding Fair Code useful or interesting, a star on the repo genuinely helps more people find it - no pressure, just appreciated.

@github-actions

Copy link
Copy Markdown

@yakew7 @ahmdkaml - new PR touching a path you own, please review.

@yakew7
yakew7 merged commit 4b6c41e into yakew7:main Nov 11, 2026
18 of 19 checks passed
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.

The workflows reference does not say which job runs the slow tests

2 participants