Skip to content

docs: correct pipeline, image and version-update documentation - #422

Merged
wdconinc merged 3 commits into
masterfrom
claude/docs-accuracy
Sep 15, 2026
Merged

wdconinc merged 3 commits into
masterfrom
claude/docs-accuracy

Conversation

@wdconinc

Copy link
Copy Markdown
Contributor

Briefly, what does this PR introduce? Please link to any relevant presentations or discussions.

Documentation that had drifted from the code, in places that would send a reader — human or agent — down the wrong path.

AGENTS.md

Claim Reality
Workflow tree lists build-push.yml, docs.yml, mirror.yaml Six workflows exist; the two reusable ones that do all the building (build-base.yml, build-eic.yml) and pr-backport.yml were missing
Three images produced cuda_devel and cuda_runtime missing, as was any mention of the seven environments built only on GitLab CI
spack-environment/ shows ci and xl Nine environments
"Update versions in both places: xl/epic, cuda/epic" Nine environments have an epic overlay
"Tags are automatically cleaned on PR close by cleanup workflows" Not true on GitHub Actions — no such workflow exists. That is what #89 is about and #90 proposes. GitLab does clean up, via clean_unstable_mr and clean_pipeline

The version-update section also never mentioned the thing that actually matters: the trailing # EDM4EIC_VERSION / # EICRECON_VERSION / # EPIC_VERSION marker comments are load-bearingcontainers/eic/Dockerfile keys its sed overrides on them, and reWording one silently breaks the override. Now documented. (#420 makes that failure loud rather than silent.)

.github/copilot-instructions.md

Carried the same "both xl and cuda" claim; corrected in step. The rest of that file correctly defers to AGENTS.md as the primary reference rather than duplicating it, so it is otherwise left alone.

docs/build-pipeline.md

Described the pipeline as it was before the reusable workflows were split out — build-push.yml appeared to run the builds itself, and the diagrams showed two architectures where three are built. Adds a table of the two reusable workflows and what each produces, and corrects the architecture set to amd64, amd64_v3, arm64.

README.md

Linked to the GitLab mirror for files that live in this repository. Worse, the link captioned spack.sh actually pointed at packages.yaml, while the surrounding text describes editing the cherry-pick list — which is in spack-packages.sh, a third file. All three now point at the right files here. The historical merge-request link is left as-is, since it references something that only exists on GitLab.

Verification

Documentation only — no build or runtime behaviour changes. Every claim above was checked against the tree (workflow files present, environment count, marker locations, which CI has cleanup jobs). Mermaid fences verified balanced; pre-commit passes apart from the pre-existing hadolint parse failure that #416 addresses.

What is the urgency of this PR?

  • High (please describe reason below)
  • Medium
  • Low

What kind of change does this PR introduce?

  • Bug fix (issue #__)
  • New feature (issue #__)
  • Optimization (issue #__)
  • Updated documentation
  • other: __

Please check if any of the following apply

  • This PR introduces breaking changes. Please describe changes users need to make below.
  • This PR changes default behavior. Please describe changes below.
  • AI was used in preparing this PR. Please describe usage below.

AI usage: the drift was found by checking each documented claim against the repository with Claude Code, and this PR was prepared with it. Worth a maintainer's eye on two judgement calls: the list of GitLab-only images, and whether the buildcache-cleanup wording should reference #89/#90 at all or just state the GitHub situation.

🤖 Generated with Claude Code

https://claude.ai/code/session_01B6394UjZvzHPVygCvjRc9n


Generated by Claude Code

The documentation had drifted from the code in several places that would send
a reader, human or agent, down the wrong path.

AGENTS.md:
- the workflow tree listed three of the six workflows, omitting the two
  reusable workflows that do all the building and the backport workflow
- the image list named three images; cuda_devel and cuda_runtime were missing,
  as was any mention of the environments built only on GitLab CI
- the spack-environment tree showed two of the nine environments
- "Update versions in both places" named xl and cuda only. There are nine
  environments with an epic overlay, and the thing that actually matters is
  the trailing marker comment the Dockerfile keys its sed overrides on, which
  was not documented at all
- "Tags are automatically cleaned on PR close by cleanup workflows" is not
  true for GitHub Actions: no such workflow exists, which is what issue #89 is
  about and PR #90 proposes. GitLab does clean up, via clean_unstable_mr and
  clean_pipeline. Say which is which

.github/copilot-instructions.md carried the same "both xl and cuda" claim;
corrected in step with AGENTS.md. The rest of that file correctly defers to
AGENTS.md as the primary reference and is left alone.

docs/build-pipeline.md described the pipeline as it was before the reusable
workflows were split out: build-push.yml appeared to run the builds itself,
and the diagrams showed two architectures where three are built. Add a table
of the two reusable workflows and what each produces, and correct the
architecture set to amd64, amd64_v3 and arm64.

README.md linked to the GitLab mirror for files that live in this repository,
and the link captioned "spack.sh" actually pointed at packages.yaml while the
text describes editing the cherry-pick list, which is in spack-packages.sh.
Point both at the files here. The historical merge-request link is left as-is,
since it is a reference to something that only exists on GitLab.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B6394UjZvzHPVygCvjRc9n
Copilot AI lite review requested due to automatic review settings September 14, 2026 17:34

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.

🟡 Changes recommended

The updated pipeline documentation still has a couple of concrete accuracy gaps (notably around amd64_v3 coverage in the EIC portion and base-manifest wording) that should be corrected before merging.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

This PR updates repository documentation to match the current CI/workflow structure, image set, and version-update practices for the EIC container build system, reducing the risk of contributors following outdated guidance.

Changes:

  • Correct workflow inventory and clarify that build-push.yml orchestrates builds via the reusable build-base.yml / build-eic.yml workflows.
  • Update version-update guidance to reflect all nine environments and document the load-bearing version marker comments used by containers/eic/Dockerfile.
  • Fix README links to point to the correct in-repo versioning/cherry-pick files, and update pipeline documentation/diagrams for current architecture coverage.
File summaries
File Description
README.md Fixes incorrect/misleading links and clarifies where cherry-picks vs. package pins are updated.
docs/build-pipeline.md Updates pipeline explanation/diagrams to reflect reusable workflows and current architecture set.
AGENTS.md Refreshes repository “source of truth” docs for workflows, image set, and version-tracking rules (incl. marker comments).
.github/copilot-instructions.md Aligns agent guidance with the nine-environment reality and marker-comment requirement.
Review details

Suppressed comments (1)

docs/build-pipeline.md:105

  • The base-manifest job runs for debian_stable_base, cuda_devel, and cuda_runtime, but only debian_stable_base is built for amd64_v3/arm64 today. Describing the manifest creation as always combining amd64 + amd64_v3 + arm64 is not accurate for the CUDA base images (they currently have only amd64).
    GH->>R: Create manifest list<br/>combining amd64 + amd64_v3 + arm64
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/build-pipeline.md Outdated
Co-authored-by: wdconinc <4656391+wdconinc@users.noreply.github.com>
auto-merge was automatically disabled September 14, 2026 17:43

Head branch was pushed to by a user without write access

Copilot AI review requested due to automatic review settings September 14, 2026 17:43

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.

🟡 Changes recommended

A couple of newly added pipeline-doc statements are slightly inaccurate/underspecified (reusable workflow inputs and manifest-arch wording) and should be corrected to avoid misleading readers.

Get a fresh assessment by requesting another Copilot review.

Review details

Suppressed comments (2)

Previously missed (2) — in code that hasn't changed since the last review.

README.md:11

  • Minor wording/capitalization: this heading currently reads a bit ungrammatical (“on spack package repository”). Using “in the Spack packages repository” (and capitalizing Spack) makes the sentence clearer.
    docs/build-pipeline.md:12
  • The reusable-workflows input list is missing job-name-prefix, which is a required input for build-eic.yml (workflow_call.inputs.job-name-prefix). Mentioning it here will prevent readers from assuming matrix/jobs are sufficient for all calls.
  • Files reviewed: 4/4 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread docs/build-pipeline.md Outdated
@github-actions

github-actions Bot commented Sep 14, 2026

Copy link
Copy Markdown

Capybara summary for PR 422

Last updated 2026-09-15T01:02-04:00 3481b13

Co-authored-by: wdconinc <4656391+wdconinc@users.noreply.github.com>
Copilot AI review requested due to automatic review settings September 15, 2026 03:06
@wdconinc
wdconinc removed the request for review from Copilot September 15, 2026 03:07
@wdconinc
wdconinc merged commit 30f6611 into master Sep 15, 2026
5 of 6 checks passed
@wdconinc
wdconinc deleted the claude/docs-accuracy branch September 15, 2026 03:08
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.

4 participants