Skip to content

docs: fix CONTRIBUTING.md Justfile/CI sync claim - #578

Merged
castrojo merged 1 commit into
mainfrom
docs/contributing-justfile-ci-sync
Sep 24, 2026
Merged

castrojo merged 1 commit into
mainfrom
docs/contributing-justfile-ci-sync

Conversation

@mrbobbytables

Copy link
Copy Markdown
Member

Problem

CONTRIBUTING.md's Justfile shortcuts section claims:

These recipes are kept in sync with the checks the "Validate repository" and "Import reference architectures" workflows run, so a green just build/just import locally should also pass in CI.

This is inaccurate at main:

  1. The "Validate repository" workflow (.github/workflows/ci.yml) runs zero of the nine validate:* scripts just build runs. Its validate job runs only npm run test:unit:coverage and npm run build:production; its lint job runs check:format, check:spelling, check:markdown.
  2. A green just build does not imply a green CI run: it omits test:unit, check:format, check:spelling, and check:markdown, all of which gate PRs.
  3. Five of the nine just build validators (validate:community-people, validate:community-groups, validate:launch-metrics, validate:case-studies, validate:radar-reports) run in no workflow at all.

Fix

Reword the paragraph to describe what the recipes actually cover (a superset of the deploy/import workflows' data validation) and explicitly tell contributors to also run npm run test:unit and npm run check to match the "Validate repository"/"Lint repository" PR gates before opening a PR.

Verified npx prettier --check, npx cspell, and npx markdownlint-cli2 all pass on the changed file.

Fixes #558

— hive: backend=copilot model=gpt-5.6-luna-utility

🐝 Hive Agent: contributor | SHA: 551f833

The Justfile shortcuts section claimed 'just build'/'just import' are
kept in sync with the 'Validate repository' and 'Import reference
architectures' workflows, so a green local run implies a green CI
run. Neither is accurate: 'Validate repository' (ci.yml) runs only
test:unit:coverage/build:production plus format/spelling/markdown
checks, none of the validate:* scripts 'just build' runs; several of
those validators run in no workflow at all. Reword the paragraph to
describe what the recipes actually cover and point contributors to
npm run test:unit and npm run check to match the real PR gates.

Fixes #558

Hive-Run: #558
Hive-Plan: docs/contributing-justfile-ci-sync
Hive-Spec: guide-agent-issue#558-contributing-justfile-sync
Signed-off-by: hive <mrbobbytables@users.noreply.github.com>
@castrojo
castrojo added this pull request to the merge queue Sep 24, 2026
Merged via the queue into main with commit 92ec763 Sep 24, 2026
5 checks passed
@mrbobbytables
mrbobbytables deleted the docs/contributing-justfile-ci-sync branch September 25, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants