Skip to content

ci: make ABAP_702 check the PR, lint generated branches, fix removed pop_bal usage#653

Merged
oblomov-dev merged 6 commits into
standardfrom
claude/repos-setup-cicd-review-ovmtgd
Jul 11, 2026
Merged

ci: make ABAP_702 check the PR, lint generated branches, fix removed pop_bal usage#653
oblomov-dev merged 6 commits into
standardfrom
claude/repos-setup-cicd-review-ovmtgd

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

Why

Cross-repo CI/CD review. Two of the findings here are functional, one is urgent:

  • Urgent — app fix: upstream PR refactor-util abap2UI5#2402 deleted z2ui5_cl_pop_bal; z2ui5_cl_demo_app_154 still called it, so the ABAP_STANDARD/ABAP_CLOUD PR checks (which pull the framework dependency from upstream main) will fail on the next run without this fix. The BALLOG demo now uses z2ui5_cl_pop_messages, the same popup the app already uses for the BAPIRET case.
  • PR check fix: ABAP_702 checked out the already-generated 702 branch (ref: 702), so every PR got the same result regardless of its content. It now downports and lints the PR merge ref, like ABAP_STANDARD/ABAP_CLOUD do. check_downport (same steps minus the lint) is thereby redundant and removed — if it is configured as a required status check, remove it from branch protection.
  • Lint gate: auto_cloud/auto_downport force-pushed the generated cloud/702 branches unvalidated; both now lint with the matching config before pushing, and both become thin callers of a new reusable auto_branch.yaml. The generated branches' commit messages now record the source commit.

Plus hardening: Node 16 (EOL) → 22, concurrency/permissions blocks, npm caching, checkout/setup-node aligned with the abap2UI5 conventions (SHA pins for pushing workflows), the unmaintained ad-m/github-push-action@v0.6.0 replaced with a plain git push, dependabot added.

Verification

Run locally under Node 22.22.2: standard lint (787 files, 0 issues) and the full downport + abap_702.jsonc lint chain (416 files, 0 issues), both including the app 154 fix. All workflow files parse as valid YAML.

Merge order: merge after the abap2UI5 PR (abap2UI5/abap2UI5#2405) — no hard dependency, but the reusable-workflow conventions match that PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_014GerBGPsdTGNSbztfoU358


Generated by Claude Code

claude added 6 commits July 11, 2026 12:54
- auto_cloud/auto_downport/check_downport: bump EOL node 16 to 20,
  matching the ABAP_* checks in this repo
- auto_cloud/auto_downport: explicit contents: write plus a fixed
  concurrency group (cancel-in-progress: false) so concurrent runs
  cannot race on the force-pushed cloud/702 branches
- PR checks (ABAP_*, check_downport): per-ref concurrency with
  cancel-in-progress so superseded runs stop early
- check_downport: least-privilege contents: read

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014GerBGPsdTGNSbztfoU358
- read-only PR checks (ABAP_*, check_downport): checkout@v7 /
  setup-node@v6 tags
- pushing workflows (auto_cloud, auto_downport,
  generate_overview_apps): SHA-pinned checkout v7.0.0 /
  setup-node v6.4.0
- quote node-version consistently as '20'
- ABAP_702: drop the separate rm -rf src/00 step; the downport
  npm script already starts with it

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014GerBGPsdTGNSbztfoU358
All seven workflows run npm ci; cache the npm store via setup-node
to avoid re-downloading dependencies on every run.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014GerBGPsdTGNSbztfoU358
- ABAP_702 checked out the already-generated 702 branch (ref: 702),
  so every PR got the same result regardless of its content; it now
  checks out the PR merge ref and downports + lints that, like
  ABAP_STANDARD/ABAP_CLOUD do
- check_downport is thereby redundant (same steps minus the lint)
  and is removed
- auto_cloud/auto_downport force-pushed the generated cloud/702
  branches unvalidated; both now lint with the matching config
  before committing
- replace the unmaintained ad-m/github-push-action@v0.6.0 with a
  plain git push (checkout already persists the token)
- auto_downport: drop the separate rm -rf src/00 (the downport
  script starts with it)
- add dependabot for npm and github-actions

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014GerBGPsdTGNSbztfoU358
…pp 154

Upstream abap2UI5 PR #2402 deleted z2ui5_cl_pop_bal; the BALLOG demo
now opens the message table via z2ui5_cl_pop_messages (already used
for the BAPIRET case in the same app). Verified with the standard
config lint and the full downport + abap_702 lint chain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014GerBGPsdTGNSbztfoU358
- auto_cloud/auto_downport become thin callers of the new
  auto_branch.yaml (inputs: branch, do_downport, lint_config); the
  commit message on the generated branches now records the source
  commit ('generate <branch> from <sha>')
- Node 20 maintenance ended in April 2026; the downport and all three
  lint configs were verified under Node 22.22.2

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014GerBGPsdTGNSbztfoU358
@oblomov-dev oblomov-dev merged commit 13bb19a into standard Jul 11, 2026
5 checks passed
@oblomov-dev oblomov-dev deleted the claude/repos-setup-cicd-review-ovmtgd branch July 11, 2026 15:30
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