Repository navigation
conformance: standardize CI lint to the fleet full set + codecov + husky/VS Code parity - #499
Merged
Merged
Conversation
- 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) <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #499 +/- ##
========================================
Coverage 57.28% 57.28%
========================================
Files 15 15
Lines 1386 1386
Branches 89 89
========================================
Hits 794 794
Misses 573 573
Partials 19 19 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR adds repository conformance scaffolding for coverage hygiene (Codecov config) and local lint tooling (Husky pre-commit + VS Code tasks) intended to align developer workflows with CI expectations.
Changes:
- Add
codecov.ymlto make Codecov project/patch statuses informational (report-only). - Extend
.husky/pre-committo run additional Docker-based linters when corresponding files are staged (best-effort, images-present-only). - Add a language-agnostic “Lint” task set in
.vscode/tasks.jsonto run/warm the same Docker linter images.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
codecov.yml |
Introduces Codecov configuration to trend coverage without gating PRs. |
.vscode/tasks.json |
Adds Docker-backed lint tasks (line endings, workflows, Markdown, spelling) and an aggregate task. |
.husky/pre-commit |
Adds best-effort Docker lint steps in the pre-commit hook alongside existing Husky .NET formatting/style. |
…to README+HISTORY, reword Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
- validate-task.yml: add Markdown (markdownlint-cli2), spelling (cspell), and workflow (actionlint) lint steps, digest-pinned like the existing line-endings check, so CI runs the full fleet-standard lint set instead of the reduced one. - cspell.json: add the fleet baseline word list plus NxWitness domain terms (filesystem, Docker, and Network Optix product vocabulary) so the new spell check passes. The repo previously had no cspell.json. - .husky/pre-commit and .vscode/tasks.json: digest-pin actionlint, markdownlint, and cspell (were :latest) and spell-check all Markdown, matching CI so the three surfaces stay in parity. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Match the validate-task.yml header style (short summary plus structured bullets) instead of prose blocks. - .husky/pre-commit: rewrite the header blob as a one-line summary plus bullets; drop the codecov.yml example from the line-endings comment (the comment already states the what). - codecov.yml: restructure the header block into a summary plus bullets that use the full line width instead of wrapping mid-sentence, and drop the value-less example from the ignore comment. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lint modernization and coverage-hygiene backfill, bringing NxWitness onto the fleet-standard lint set and keeping the three lint surfaces (CI, pre-commit hook, editor tasks) in parity.
CI lint standardized to the full fleet set
.github/workflows/validate-task.ymlpreviously ran only the reduced set (C# style via Husky + editorconfig-checker). Added the digest-pinned Markdown (markdownlint-cli2), spelling (cspell), and workflow (actionlint) steps, so CI now runs the same full set as the template.cspell.json(new). The repo had no spell-check config, so this adds the fleet baseline word list plus NxWitness domain terms (filesystem, Docker, and Network Optix product vocabulary). All Markdown passes cspell.Coverage hygiene
codecov.yml(new). Coverage is reported and trended but never gates a PR (informationalproject and patch), distinct from the upload step'sfail_ci_if_error: false.Three-surface lint parity
.husky/pre-commitand.vscode/tasks.jsonnow digest-pin actionlint, markdownlint, and cspell (were:latest) and spell-check all Markdown, matching the CI definition. The hook runs images-present-only so it never false-blocks, and CI stays the enforcing gate.Mirrors ProjectTemplate #273 (codecov standard) and #276 (lint parity). markdownlint, cspell, actionlint, and editorconfig-checker all pass locally.
🤖 Generated with Claude Code