Dev tax service - #1579
Conversation
Ci/setup jenkins pipeline
…pstream coverage)
fix(ci): coverage gate awk parsing bug — now properly enforces ≥70%
Handle flaky Snyk CLI failures by capturing exit codes and retrying test/monitor with reduced dependency depth. This keeps CI informative and stable while server-side memory/CLI fixes are pending. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
fix(ci): add resilient Snyk scan fallback for exit -13
…nloads Run on label yas-build-worker; resolve JDK/Maven once via tool step; verify gitleaks/snyk on agent with version gate; use system gitleaks (no release curl). Shorten console noise; strict snyk test/monitor with single fallback. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Ci/setup jenkins pipeline
Pipeline-only changes aligned with ci/setup-jenkins-pipeline for merge to main. Co-authored-by: Cursor <cursoragent@cursor.com>
Avoid selecting all changed service modules when the diff is only CI files, so Coverage Gate does not block merges on unrelated service coverage. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
ci: Mitigate Snyk OOM; agent label; verify tools; lighter scan chain
…0000 Run Maven dependency tree per scanned module before Snyk; pass -d to snyk test/monitor so Jenkins logs show child STDERR when exit -13 occurs. Co-authored-by: Cursor <cursoragent@cursor.com>
Snyk maven plugin spawns ./mvnw; repository wrappers often lack execute bit after checkout on Linux agents. Co-authored-by: Cursor <cursoragent@cursor.com>
Force system `mvn` instead of `./mvnw` so scans avoid wrapper permission issues while keeping module-based test/monitor fallbacks. Co-authored-by: Cursor <cursoragent@cursor.com>
Match team report style: keep stage green while still running test/monitor and printing logs; Maven dependency:tree remains strict before scan. Co-authored-by: Cursor <cursoragent@cursor.com>
ci(snyk): add mvn dependency:tree preflight and snyk -d for SNYK-CLI-…
Use withSonarQubeEnv for analysis and waitForQualityGate so Jenkins can correlate scans and show gate status; requires matching Jenkins Sonar installation name and Sonar webhook for timely notifications. Co-authored-by: Cursor <cursoragent@cursor.com>
Keep junit; replace archiveArtifacts with Coverage plugin recordCoverage pointing at generated jacoco.xml reports. Co-authored-by: Cursor <cursoragent@cursor.com>
fix(lab2): package payment paypal as boot jar
test(lab2): fix search Kafka integration ack mode
fix(payment): keep paypal dependency jar thin
…tion ci(lab2): rebuild dependent service modules
…test ci(lab2): skip snyk monitor during cd validation
ci(lab2): skip Snyk during CD validation
ci(lab2): align CQ service release scope
cd(lab2): promote release images by retagging
cd(lab2): deploy dev images by commit tag
…mmit SHA Incremental CI means overlays/dev holds mixed tags (13 services at a commit SHA, UIs at 'main'), so requiring every image to exist at the tag's commit SHA breaks any release from a mixed state (v0.1.1 failed on yas-backoffice). Release now promotes exactly what dev runs: per-service source tag is read from yas-cd overlays/dev/kustomization.yaml, with a clear failure when a service has no dev entry and a log note when source differs from the SHA.
A release tag promotes binaries that already passed every gate in the main build that published them (images with the source tag only exist after a green main build). Re-running Test/Coverage/Sonar on the tag re-verifies source, not the promoted artifacts, and costs ~90% of tag build time. Tag builds now run: checkout -> gitleaks -> promote -> GitOps only. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
ci(lab2): promote release images from dev overlay tags, not tagged-co…
Lab2/ci label yas build worker
BitDive Runtime Review - PR #1579PR: #1579 SummaryPR 1579 changes payment Liquibase data changesets ( Critical finding: both SQL files are already-applied changesets modified without
Runtime result: payment 502 Bad Gateway on HEAD — service does not start. Baseline payment works ( Stable on HEAD: product list, location countries, and customer guest-user show zero contract divergence (TRACE_VERIFIED). Runtime Verification Matrix
Review scope and validation coverage
Out of scope: CI/CD, frontend, tax Change #1 — Liquibase checksum failure blocks payment startupFiles:
Both changesets rename Runtime evidence
Baseline tracebefore — Required fixAdd Change #2 — stable services (no collateral regression)Customer: Product: 4 nodes, 3 SQL both sides — timestamp-only divergence in Location: 249 nodes, 1 SQL both sides — zero divergence. Limitations
Follow-Ups
RecommendationDo not merge until the Liquibase issue is fixed. The column rename direction is correct ( |
No description provided.