Skip to content

Add the canonical build Make target - #274

Draft
leynos wants to merge 1 commit into
mainfrom
canonical-build-target
Draft

Add the canonical build Make target#274
leynos wants to merge 1 commit into
mainfrom
canonical-build-target

Conversation

@leynos

@leynos leynos commented Jul 19, 2026

Copy link
Copy Markdown
Owner

Summary

This branch adds the canonical build Make target required by
Concordat's estate baseline (rule rust-makefile-baseline, check
FP-003: the root Makefile must define build, test, and lint
unconditionally). The recipe compiles the workspace with
$(CARGO) build --all-targets $(TEST_FEATURES), matching the flag
conventions of the existing lint and test targets.

Validation

  • make -n build: expands correctly
  • makeutil parse Makefile: status complete
  • concordat artefact rule run rust-makefile-baseline: verdict
    compliant (was noncompliant for the missing build target)

🤖 Generated with Claude Code

Concordat's estate baseline (rule `rust-makefile-baseline`, FP-003)
requires a root `build` target alongside `test` and `lint`. Add one
that compiles the workspace with all targets and the test-helpers
feature set, mirroring the flags the lint and test targets already
use, and register it in `.PHONY`.

@sourcery-ai sourcery-ai Bot 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.

Sorry @leynos, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 980fef98-efa1-4899-a62b-83ed6d1ef02f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch canonical-build-target

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added size: XS < 10 changed lines (excluding docs) risk: low Changes to docs, tests, or low-risk modules contributor: core 20+ merged PRs labels Jul 19, 2026
codescene-access[bot]

This comment was marked as outdated.

@codescene-access codescene-access Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No quality gates enabled for this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor: core 20+ merged PRs risk: low Changes to docs, tests, or low-risk modules size: XS < 10 changed lines (excluding docs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant