UNOMI-887: Backport dev tooling bundle (Phase 2 PR 1)#784
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
unomi-3-devtomasterusing a master-first approach (no blind checkout of existing shell/CI files).build.ps1(Windows parity withbuild.sh), surgicalbuild.sh/pom.xmlupdates, and additive docker/shell changes only.branch-backport.mdc+ Unomi overlay, andAGENTS.mdsections so future mega-PRs avoid regressing master review fixes.What was ported (additive / surgical)
build.shflags (--skip-unit-tests,--distribution,--resolver-debug);build.ps1aligned withbuild.sh;skip-unit-testsMaven profilesetup-*.sh,setup-utils.sh,clear-*.sh, tenant cfgCODING_GUIDELINES.md,INMEMORY_PERSISTENCE_REQUIREMENTS.md, Postman JSON + readmeDistributionCompleter,Setup --show+ completion (on master defaults)container_name, debug port only (master image pins kept)Intentionally not ported
tools/shell-dev-commands/**(master ahead: UNOMI-879 Unified CRUD Karaf shell developer commands (includes UNOMI-920 YAML toString() debugging) #755, UNOMI-880 UNOMI-878 UNOMI-139: Karaf dev shell commands #763).github/workflows, migration scripts (UNOMI-943), wholesaleAGENTS.mdoverwriteTest plan
./build.sh --helppwsh -File build.ps1 -Help(syntax + comment-based help)mvn -pl tools/shell-commands,tools/shell-dev-commands -am compile -DskipTestsorigin/masteron modified existing files