Repository navigation
DLPX-99863 Add a repo-side testing doc to delphix-platform for the bugfix pipeline - #582
Conversation
71b1b5c to
e46c008
Compare
e46c008 to
53d6b76
Compare
53d6b76 to
8213652
Compare
There was a problem hiding this comment.
🟡 Changes recommended
The local Pylint instructions omit a dependency installed by CI, causing failures in clean environments.
1 open issue
What changed in this PR
Adds repository-local testing guidance for engineers and the automated bugfix pipeline.
Changes:
- Documents local checks, VM deployment, and CI coverage.
- Adds documentation-maintenance pointers.
- Adds a workflow job checking that job names appear in the testing guide.
| File | Description |
|---|---|
| Makefile | Adds a testing-documentation maintenance reminder. |
| docs/testing.md | Documents testing, deployment, and CI procedures. |
| CLAUDE.md | Points automated readers to the testing guide. |
| .github/workflows/main.yml | Adds the documentation-coverage check and maintenance reminder. |
Review effort: Balanced
8213652 to
5b21607
Compare
|
Re: the "needs a closer look" summary on this latest review — the doc's deployment ( |
manoj-joseph
left a comment
There was a problem hiding this comment.
Findings on the testing doc: skill and PR-number citations, a dead link, narration of how the doc was verified, and an unsupported claim. Minor items are inline too.
5b21607 to
50c59e2
Compare
|
Addressed every item from the latest review (50c59e2): removed the Claude skill/plugin citation and the specific PR-number citations, replaced the dead git-utils doc link with a pointer to the repo itself (plus |
manoj-joseph
left a comment
There was a problem hiding this comment.
One significant finding on the new head: the branch-parameter claim contradicts git-utils.
50c59e2 to
7d226bc
Compare
7d226bc to
114da7f
Compare

Jira: DLPX-99863 Add a repo-side testing doc to delphix-platform for the bugfix pipeline
Problem
delphix-platformhas no repo-side testing documentation: noCLAUDE.md/.claudecontent, andREADME.mdhas no testing instructions. An automated bugfix pipeline (or any engineer) workingin this repo has no repo-side source to learn how to unit test a change, deploy it to a test VM,
or know which CI runs exist and how to start them — this is one of twelve per-repo tickets under
the TOOL-31503 umbrella, which moves this kind of repo-specific testing knowledge out of shared
tooling and into each repo as documentation.
Solution
Add
docs/testing.md, a separate, automated-reader-focused doc set (linking to, not duplicating,README.md's own build instructions) covering:(
.github/workflows/main.yml:check-shellcheck/check-shfmt/check-pylint/check-yapf/check-mypy) and their exact local-reproduction commands, plus themake checkno-op gotcha(the
Makefiledeclares.PHONY: checkbut never implements it).git linux-pkg build -m <machine> -t <machine>, and why afull bootable appliance image instead needs
git ab-pre-push.GitHub-app checks, the 5 lint jobs, the 2 Jenkins pre-push checks, the 3 Mend checks), which of
them actually boot/test an appliance with the change (none of them — only
git ab-pre-pushdoes), and a pipeline-specific gotcha (
delphix-platformhas no dedicated branch-deployparameter for automated QA-gate VM sourcing, unlike
linux-pkg/dlpx-app-gate/dms-core-gate).Also adds
CLAUDE.md(none existed) with a short pointer todocs/testing.md, and a one-linedocs/testing.mdcomment next to the job list in.github/workflows/main.ymland next to theplatform list in the
Makefile, so a future change to either is nudged to update the doc. A newcheck-docs-coveragejob (added to the same.github/workflows/main.yml, reusing its existingshell-job mechanism) fails automatically if a job is ever added there with no backtick-quoted
reference to its name in
docs/testing.md.Testing Done
Current CI runs
Prior CI runs
Notes:
delphix/dlpx-bugfix-notes(tickets/DLPX-99863.md), not duplicated here.Manual Testing
check-docs-coveragejob correctly extracts every job name from.github/workflows/main.yml(including a quoted-key job) and fails when one has no backtick-quoted reference indocs/testing.md.How executed: extracted the job's own embedded script via
python3 -c "import yaml; ..."and ran it directly against this repo's real files, and against a constructed copy of the workflow with an added quoted, undocumented job.Result: passes against the real repo (all 6 job names referenced in the doc); correctly fails with a clear message against the constructed undocumented-job case.
docs/testing.md's CI-runs table (which checks are required to merge, whatgit linux-pkg build -f/-Factually do, whatjenkinsci/appliance-build-orchestratoractually runs) matches live repo/GitHub/Jenkins state, not just plausible-sounding prose.How executed: compared against
gh api repos/delphix/delphix-platform/branches/develop/protection,gh api .../check-runson this PR's own head commit, the realgit-linux-pkgsource in/home/delphix/src/git-utils, and the Jenkinswfapibuild description for a recentjenkinsci/appliance-build-orchestratorrun.Result: two inaccuracies found this way were corrected before the content reached its final, filed form.