Skip to content

docs(build): require make from the repository root#5563

Merged
norman-abramovitz merged 1 commit into
cloudfoundry:developfrom
nabramovitz:norm/docs/make-from-root
Jul 4, 2026
Merged

docs(build): require make from the repository root#5563
norman-abramovitz merged 1 commit into
cloudfoundry:developfrom
nabramovitz:norm/docs/make-from-root

Conversation

@nabramovitz

Copy link
Copy Markdown
Contributor

Documents that all make commands must run from the repository root: GNU make has no search path for its top-level makefile (-I only affects include directives), and the root targets carry generated-file dependencies that ad-hoc subdirectory builds skip — e.g. go build from src/jetstream omits the generated extra_plugins.go, producing a backend without the Cloud Foundry plugin that crashes at startup when deployed as a CF app (the failure mode hit while measuring for #5550).

Doc-only change to docs/build-and-packaging.md.

@norman-abramovitz norman-abramovitz 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.

LGTM testing doc gate

norman-abramovitz pushed a commit that referenced this pull request Jul 4, 2026
The per-package 'Frontend Tests (x)' names are required status
checks. A job-level skip collapses the matrix, so those contexts
never report and stay 'expected', blocking the merge (seen on the
docs-only #5563: '7 of 12 required status checks are expected').
Step-level gating lets each shard spin up, no-op, and report
success. Single-job skips (Lint, Backend, Build Check, STB) report
their one context fine and keep their job-level gates.
GNU make has no top-level-makefile search path and the root targets
carry generated-file dependencies (extra_plugins.go et al) that
ad-hoc subdirectory builds skip, yielding a backend that crashes
at startup when CF-hosted.
@nabramovitz nabramovitz force-pushed the norm/docs/make-from-root branch from a223417 to 45b01ad Compare July 4, 2026 17:46
@norman-abramovitz norman-abramovitz merged commit 5043245 into cloudfoundry:develop Jul 4, 2026
17 checks passed
@nabramovitz nabramovitz deleted the norm/docs/make-from-root branch July 4, 2026 17:47
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