Skip to content

conformance: codecov.yml + husky/VS Code lint parity with CI#256

Closed
ptr727 wants to merge 2 commits into
developfrom
feature/lint-parity-backfill
Closed

conformance: codecov.yml + husky/VS Code lint parity with CI#256
ptr727 wants to merge 2 commits into
developfrom
feature/lint-parity-backfill

Conversation

@ptr727

@ptr727 ptr727 commented Jul 10, 2026

Copy link
Copy Markdown
Owner

Bundled conformance backfill (per the fleet lint-parity + coverage-hygiene work).

  • codecov.yml (new) — coverage is reported and trended but never gates a PR (informational project+patch), distinct from the upload step's fail_ci_if_error: false.
  • .husky/pre-commit — runs the CI lint set (editorconfig-checker, actionlint, markdownlint, cspell) via Docker, images-present-only so it never false-blocks; CI enforces regardless.
  • .vscode/tasks.json — a language-agnostic Lint group mirroring CI that warms the hook's images.

Mirrors ProjectTemplate #273 (codecov standard) and #276 (lint parity). editorconfig-checker + sh -n clean locally.

🤖 Generated with Claude Code

- codecov.yml: coverage reported, never gated (informational project+patch),
  so a coverage delta can't block a PR
- .husky/pre-commit: run the CI lint set (editorconfig-checker, actionlint,
  markdownlint, cspell) via Docker, present-only so it never false-blocks
- .vscode/tasks.json: a Lint group mirroring CI that warms the hook's images

Mirrors ProjectTemplate #273 (codecov) + #276 (lint parity).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 10, 2026 17:08
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.76%. Comparing base (adba4dc) to head (292b9f1).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #256   +/-   ##
========================================
  Coverage    99.76%   99.76%           
========================================
  Files           15       15           
  Lines       232994   232994           
  Branches       243      243           
========================================
  Hits        232450   232450           
  Misses         462      462           
  Partials        82       82           

☔ View full report in Codecov by Harness.
📢 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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds repo conformance plumbing for coverage reporting (Codecov) and for local lint parity with CI via Husky pre-commit and VS Code tasks, aiming to reduce CI-only surprises while keeping coverage non-gating.

Changes:

  • Add codecov.yml to make Codecov project/patch statuses informational (non-blocking).
  • Extend .husky/pre-commit to optionally run CI-like linters via Docker when images are already present.
  • Add a language-agnostic “Lint” task group in .vscode/tasks.json to mirror CI and warm the hook’s Docker images.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
codecov.yml Adds Codecov configuration to trend coverage without gating PRs.
.vscode/tasks.json Adds “Lint” tasks to run editorconfig-checker/actionlint/markdownlint/cspell via Docker.
.husky/pre-commit Adds optional Docker-based lint steps for local CI parity when images are available.

Comment thread .vscode/tasks.json
Comment thread .vscode/tasks.json
Comment thread .husky/pre-commit
Comment thread .husky/pre-commit
…to README+HISTORY, reword

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 10, 2026 17:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

Comment thread .vscode/tasks.json
Comment on lines +158 to +162
{
"label": "Lint: Workflows",
"type": "shell",
"command": "docker run --rm -v \"${workspaceFolder}:/repo\" -w /repo rhysd/actionlint:latest -color",
"problemMatcher": [],
Comment thread .vscode/tasks.json
Comment on lines +168 to +182
{
"label": "Lint: Markdown",
"type": "shell",
"command": "docker run --rm -v \"${workspaceFolder}:/workdir\" -w /workdir davidanson/markdownlint-cli2:latest \"**/*.md\"",
"problemMatcher": [],
"presentation": {
"showReuseMessage": false,
"clear": false
}
},
{
"label": "Lint: Spelling",
"type": "shell",
"command": "docker run --rm -v \"${workspaceFolder}:/workdir\" -w /workdir ghcr.io/streetsidesoftware/cspell:latest --no-progress README.md HISTORY.md",
"problemMatcher": [],
Comment thread .husky/pre-commit
Comment on lines +30 to +33
# Workflow YAML (plus embedded run: shell via bundled shellcheck) when a workflow file is staged.
if printf '%s\n' "$staged" | grep -Eq '^\.github/workflows/.*\.ya?ml$'; then
lint rhysd/actionlint:latest -color
fi
Comment thread .husky/pre-commit
Comment on lines +35 to +39
# Markdown lint + spelling (word list + exclusions from cspell.json) when a Markdown file is staged.
if printf '%s\n' "$staged" | grep -q '\.md$'; then
lint davidanson/markdownlint-cli2:latest "**/*.md"
lint ghcr.io/streetsidesoftware/cspell:latest --no-progress README.md HISTORY.md
fi
@ptr727

ptr727 commented Jul 11, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #262, which converges LanguageTags onto the new per-surface lint architecture (CI action wrappers incl. editorconfig-checker, language-only hook, VS Code doc-lint via Docker :latest). This PR's docker-linters-in-the-hook approach is retired, and codecov.yml already landed on develop via #260.

@ptr727 ptr727 closed this Jul 11, 2026
@ptr727
ptr727 deleted the feature/lint-parity-backfill branch July 11, 2026 03:43
ptr727 added a commit that referenced this pull request Jul 11, 2026
…rconfig docker :latest) (#262)

Converges LanguageTags onto the fleet lint architecture: editorconfig-checker via docker :latest, VS Code Lint group, husky language-only with the if guard, cspell scoped to README+HISTORY, AGENTS.md lint guidance synced. Supersedes #256.
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.

2 participants