Skip to content

TOOL-31618 Add a repo-side testing doc to linux-pkg for the bugfix pipeline - #421

Merged
manoj-joseph merged 1 commit into
developfrom
dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66
Oct 22, 2026
Merged

manoj-joseph merged 1 commit into
developfrom
dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66

Conversation

@delphix-devops-bot

@delphix-devops-bot delphix-devops-bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Jira: TOOL-31618 Add a repo-side testing doc to linux-pkg for the bugfix pipeline

Background

This is one of twelve per-repo tickets under TOOL-31503, an initiative to move repo-specific
testing knowledge for the bugfix-pipeline automation out of platform-team-claude-plugins'
shared skills and into each target repo as discoverable documentation, with general rules and
fallbacks staying in the plugin.

Problem

linux-pkg has no repo-side testing documentation an automated bugfix run (or anyone) can read to
learn how to test a change here, or how to use this repo to test a change made in one of the ~39
packages it orchestrates. The README's own "Testing your changes" section is incomplete — its
"Testing changes to an existing package" subsection ends literally TODO: complete section.

Solution

Adds docs/testing.md, an automated-reader-oriented testing doc covering: unit/lint testing of
linux-pkg itself (make shellcheck/make shfmtcheck, already run automatically by this repo's
own .github/workflows/main.yml); building a package (buildpkg.sh); which CI exists for a
package and how it's triggered (the per-package Jenkins pre-push job, query-packages.sh,
package-lists/); deploying a change via appliance-build's combined-packages pipeline, with the
platform's own kernel-module-never-on-the-claude-VM ceiling carried forward; and linux-pkg's own
package-source-override mechanism (buildpkg.sh -g/-b/-r, lib/common.sh's
get_package_config_from_env()) for building/validating a change made in one of its orchestrated
packages.

Cross-repo mechanisms this doc touches but doesn't reproduce (git-ab-pre-push's own resolution
logic, the Jenkins job definitions themselves, the appliance-build pipeline's own mechanics) are
named at the boundary of what linux-pkg itself hands off/consumes, with a pointer to that
mechanism's own repo (git-utils, devops-gate, appliance-build respectively) for its actual
behavior — each of those repos has its own per-repo ticket under the same umbrella.

Adds a new root CLAUDE.md (this repo had none) pointing at the new doc, and a short
cross-reference from the README's existing "Testing your changes" section — the README itself is
untouched beyond that one link, per this doc being a separate, automated-reader-oriented doc set
rather than an extension of the human-oriented README. Adds a short comment next to
lib/common.sh's get_package_config_from_env() noting that a change to that precedence (or to
buildpkg.sh's -g/-b/-r flags) needs docs/testing.md updated.

Testing Done

Current CI runs

Run Type Status

Prior CI runs

Run Type Status
validate-the-fix (TOOL-31618) (linux-pkg@4f2c495) OUT_OF_SCOPE
ab-pre-push build #15493 (linux-pkg@4f2c495) PASSED

Notes:

  • The two prior runs above exercised the first revision of the doc and were not re-run after
    review: the later revisions are documentation-only (plus one comment in lib/common.sh), and
    the style and GitHub Actions checks passed on the final head.
  • Full per-run anchors (product/test SHAs, DCenter group, run-config, exact command) are tracked
    in delphix/dlpx-bugfix-notes (tickets/TOOL-31618.md), not duplicated here.

@delphix-devops-bot
delphix-devops-bot force-pushed the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch from 49db649 to d30343f Compare October 19, 2026 07:54

@manoj-joseph manoj-joseph 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.

Reviewed docs/testing.md against buildpkg.sh, the Makefile, the README and git-utils' git-linux-pkg. The lint, workflow, query-packages.sh and package-list content checks out. linux-pkg is not a test-infrastructure repo, so one testing doc is right. The comments below are the problems that would mislead or leave a pipeline stuck: one wrong command, one wrongly named mechanism, and the two things a pipeline most needs (how to run CI for a package change, and how to get it onto a VM) which are deferred instead of stated.

Comment thread docs/testing.md Outdated
Comment thread docs/testing.md Outdated
Comment thread docs/testing.md Outdated
Comment thread docs/testing.md
Comment thread docs/testing.md Outdated

@manoj-joseph manoj-joseph 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.

Minor points that go with my earlier review on this PR. None of these blocks anything.

Comment thread docs/testing.md Outdated
Comment thread docs/testing.md
Comment thread docs/testing.md Outdated
Comment thread docs/testing.md Outdated
@delphix-devops-bot
delphix-devops-bot force-pushed the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch from d30343f to 37f3308 Compare October 19, 2026 08:23
@delphix-devops-bot
delphix-devops-bot force-pushed the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch from 37f3308 to 8ee2542 Compare October 19, 2026 08:23
@delphix-devops-bot
delphix-devops-bot force-pushed the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch from 8ee2542 to 2f9aff1 Compare October 19, 2026 08:56
@delphix-devops-bot
delphix-devops-bot force-pushed the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch from 2f9aff1 to 4f2c495 Compare October 19, 2026 08:56

@manoj-joseph manoj-joseph 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.

One significant finding: the doc misdescribes how CI passes the package branch to buildpkg.sh. Minor items are inline.

Comment thread docs/testing.md Outdated
Comment thread docs/testing.md Outdated
Comment thread docs/testing.md Outdated

Copilot AI 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.

🟡 Changes recommended

The guide needs corrections to source selection, required build prerequisites, and the automation-VM deployment restriction.

3 open issues
What changed in this PR

Adds repository-local testing guidance for the bugfix pipeline and developers working with linux-pkg.

Changes:

  • Documents lint checks, package builds, source overrides, CI, and deployment workflows.
  • Adds discovery links and reminders to keep testing guidance current.
  • Clarifies configuration precedence in an existing code comment; runtime behavior is unchanged.
File Description
README.md Links to the new testing guide.
lib/​common.sh Clarifies precedence comments and adds a documentation-maintenance reminder.
docs/​testing.md Adds testing, build, CI, and deployment guidance.
CLAUDE.md Points automation to testing guidance and maintenance expectations.

Review effort: Balanced

Comment thread docs/testing.md Outdated
Comment thread docs/testing.md Outdated
Comment thread docs/testing.md Outdated

Copilot AI 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.

🟡 Changes recommended

Remaining inaccuracies in validation instructions and CI coverage claims could mislead automated testing.

4 open issues

Review effort: Balanced

Comment thread docs/testing.md

Copilot AI 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.

Comment thread docs/testing.md Outdated
Comment thread docs/testing.md Outdated

Copilot AI 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.

🟢 Approval recommended

The changes are documentation-only, with one nonblocking accuracy correction remaining.

1 open issue
2 resolved since last review

Review effort: Balanced

Comment thread docs/testing.md Outdated
@delphix-devops-bot
delphix-devops-bot force-pushed the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch from 4a48b12 to b925200 Compare October 21, 2026 07:24
@delphix-devops-bot
delphix-devops-bot requested a balanced review from Copilot October 21, 2026 07:24

Copilot AI 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.

🟢 Approval recommended

The documentation and comment-only changes have no identified blocking issues.

No open issues 🎉

2 resolved since last review

Review effort: Balanced

@manoj-joseph
manoj-joseph force-pushed the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch from b925200 to cfe2fe8 Compare October 22, 2026 02:32
@manoj-joseph
manoj-joseph requested a balanced review from Copilot October 22, 2026 02:34

Copilot AI 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.

🟡 Changes recommended

The guide can mislead automation into accepting failed formatting checks and requiring unnecessary matching-kernel VMs for build-only validation.

2 open issues

Review effort: Balanced

Comment thread docs/testing.md Outdated
Comment thread docs/testing.md Outdated

Copilot AI 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.

🔵 Needs a closer look

Cross-repository CI and deployment contracts need human confirmation against their authoritative implementations.

2 open issues
2 resolved since last review

Review effort: Balanced

Comment thread docs/testing.md Outdated
Comment thread docs/testing.md Outdated
@manoj-joseph
manoj-joseph force-pushed the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch from cfe2fe8 to e8a74df Compare October 22, 2026 02:46
@manoj-joseph
manoj-joseph requested a balanced review from Copilot October 22, 2026 02:47

Copilot AI 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.

🔵 Needs a closer look

The cross-repository Jenkins and git-utils instructions need maintainer verification because their referenced implementations were unavailable during review.

2 open issues

Review effort: Balanced

@manoj-joseph
manoj-joseph force-pushed the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch from e8a74df to 2513495 Compare October 22, 2026 02:53
@manoj-joseph
manoj-joseph requested a balanced review from Copilot October 22, 2026 02:54

Copilot AI 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.

🔵 Needs a closer look

Cross-repository CI and deployment instructions still need human confirmation, and the failed-build recovery guidance needs correction.

1 open issue
2 resolved since last review

Review effort: Balanced

Comment thread docs/testing.md Outdated
@manoj-joseph
manoj-joseph force-pushed the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch from 2513495 to 3f8e028 Compare October 22, 2026 02:59
@manoj-joseph
manoj-joseph requested a balanced review from Copilot October 22, 2026 02:59

Copilot AI 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.

🔵 Needs a closer look

The cross-repository Jenkins and git-utils procedures need human confirmation because their implementations were unavailable for verification.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@manoj-joseph
manoj-joseph merged commit 8e2e0ef into develop Oct 22, 2026
15 checks passed
@manoj-joseph
manoj-joseph deleted the dlpx/pr/platform-team-bugfix-bot/1464d7b2-fc31-4e63-a8b8-12a00f31eb66 branch October 22, 2026 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants