4.1 Cut the link checker noise
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 54/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- github-actions, yaml
- Domain
- ci-cd
Research direction
Start with .github/workflows/qa.yml and follow its call to gsa/data.gov/.github/workflows/static-site-qa-template.yml; confirm the link checker and how settings are passed. The change needs to exclude pages/_includes files and handle 403 results for iso.org and id.loc.gov without affecting other sites, and may require coordinating with the gsa/data.gov maintainers. Done means the next weekly report omits those errors or puts the specified 403 results in a separate group.
Written by the indexing model from the issue text.
Description
4.1 Cut the link checker noise
What
Change the weekly link check so it stops reporting false errors.
Why
Issue 811 reports 2,597 links and 159 errors. About 56 of the error lines are noise: files in pages/_includes that contain template code, which the checker reads as web addresses (for example https://resources.data.gov/%7B%7B%20...), plus iso.org and id.loc.gov, which return a 403 to automated checkers. Many of the other 403 results (congress.gov, bls.gov, dodcio.defense.gov and similar) are probably also the checker being refused. But a large share of the rest are real 404s (see item 4.2), so the report becomes useful once the noise is out of the way.
Done When
- The next weekly report no longer lists errors for pages/_includes files.
- The next weekly report no longer lists the 403 results for iso.org and id.loc.gov, or lists them in a separate group.
Notes
Where: .github/workflows in the gsa/data.gov repository (the shared template). Needs: write access to gsa/data.gov.
The workflow in this repository (.github/workflows/qa.yml) runs on Mondays at 15:00 UTC and calls gsa/data.gov/.github/workflows/static-site-qa-template.yml, with issue number 811. The report format looks like the lychee link checker. Confirm in the template. Other sites use the same template, so make the change in a way that does not affect them, for example through a setting passed from qa.yml. Ask whoever maintains gsa/data.gov.
- Dominant language
- HTML
- Stars
- 87
- Forks
- 137
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 29
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GSA/resources.data.gov
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
GSA/resources.data.gov#1215 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GSA/resources.data.gov#1214 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GSA/resources.data.gov#1212 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GSA/resources.data.gov#1201 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
GSA/resources.data.gov#1200 ·
Maintainers usually reply within 1 day
All issues in GSA/resources.data.gov
Similar issues
-
area: ci
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GlassworksHQ/glassworks#1548 ·
Maintainers usually reply within 1 day
-
agent/quality testing
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
data-pipeline
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
tagbot-manual
Difficulty 1/5 Under an hour Newbie friendliness 82/100
SciML/MonteCarloIntegration.jl#49 ·
Maintainers usually reply within 1 day