Skip to content

UNOMI-887: Backport dev tooling bundle (Phase 2 PR 1)#784

Merged
sergehuber merged 3 commits into
masterfrom
UNOMI-887-dev-tooling-bundle
Jun 28, 2026
Merged

UNOMI-887: Backport dev tooling bundle (Phase 2 PR 1)#784
sergehuber merged 3 commits into
masterfrom
UNOMI-887-dev-tooling-bundle

Conversation

@sergehuber

Copy link
Copy Markdown
Contributor

Summary

  • Backport Phase 2 dev tooling bundle from unomi-3-dev to master using a master-first approach (no blind checkout of existing shell/CI files).
  • Add setup/clear scripts, Postman collection, coding guidelines, snapshot-analysis IT tooling, build.ps1 (Windows parity with build.sh), surgical build.sh/pom.xml updates, and additive docker/shell changes only.
  • Add agent backport guidance: generic branch-backport.mdc + Unomi overlay, and AGENTS.md sections so future mega-PRs avoid regressing master review fixes.

What was ported (additive / surgical)

Area Changes
Build build.sh flags (--skip-unit-tests, --distribution, --resolver-debug); build.ps1 aligned with build.sh; skip-unit-tests Maven profile
Setup setup-*.sh, setup-utils.sh, clear-*.sh, tenant cfg
Docs / API CODING_GUIDELINES.md, INMEMORY_PERSISTENCE_REQUIREMENTS.md, Postman JSON + readme
Shell DistributionCompleter, Setup --show + completion (on master defaults)
IT tooling Snapshot-analysis compose + setup script
Docker ES compose container_name, debug port only (master image pins kept)

Intentionally not ported

Test plan

  • ./build.sh --help
  • pwsh -File build.ps1 -Help (syntax + comment-based help)
  • mvn -pl tools/shell-commands,tools/shell-dev-commands -am compile -DskipTests
  • Regression scan: no substantive removals vs origin/master on modified existing files
  • CI green on PR

…w fixes.

Port build/setup scripts, Postman collection, contributor docs, and shell distribution completer from unomi-3-dev while preserving master CI, shell CRUD hardening, and OpenSearch pins. Document mandatory surgical backport workflow in AGENTS.md and .cursor/rules.
…nt docs.

Bring the Windows build script to feature parity with build.sh, add ASF and
PowerShell help headers, and layer generic branch-backport guidance under the
Unomi-specific backport rules for agents and Cursor.
Restore the master ARG_MAX trap fix that this backport had reverted,
fix --integration-tests --use-opensearch (and -AutoStart opensearch in
build.ps1) being unconditionally rejected by contradictory env-var
checks, make clear_opposite() failures fatal instead of warn-and-continue,
log the previously silent catch blocks in DistributionCompleter, fix the
snapshot-analysis script restoring the wrong snapshot name, and add the
missing tar exit-code check and real -LogFileOnly console suppression in
build.ps1.
@sergehuber sergehuber merged commit 91d6d2c into master Jun 28, 2026
6 checks passed
@sergehuber sergehuber deleted the UNOMI-887-dev-tooling-bundle branch June 28, 2026 16: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.

1 participant