feat: add -bypass-deps (-bd) flag#1027
Open
AshokThangavel wants to merge 5 commits intointersystems:mainfrom
Open
feat: add -bypass-deps (-bd) flag#1027AshokThangavel wants to merge 5 commits intointersystems:mainfrom
AshokThangavel wants to merge 5 commits intointersystems:mainfrom
Conversation
- Added -bypass-deps modifier to load and install commands. - Added 'bd' alias for IPM dependency bypass. - Added 'bpd' alias for existing -bypass-py-deps flag. - Included unit tests for environment-agnostic validation
isc-dchui
reviewed
Feb 2, 2026
Collaborator
isc-dchui
left a comment
There was a problem hiding this comment.
Looks like the tests are failing on GitHub CI:
FAILED Test.PM.Unit.CLI:TestByPassIPMDepsModifier: AssertStatusOK - Module demo-module1 is loaded without -bypass-deps => ERROR #5001: Could not find satisfactory version of objectscript-math in any repositories. Required by: demo-module1 1.0.0: 0.0.5
FAILED Test.PM.Unit.CLI:TestByPassIPMDepsModifier: AssertTrue - Dependency module 'objectscript-math' should be installed when loading without -bypass-deps.
FAILED Test.PM.Unit.CLI:TestByPassIPMDepsModifier: AssertTrue - Dependency module 'LocalizationLab' should be installed when loading without -bypass-deps.
FAILED Test.PM.Unit.CLI:TestByPassIPMDepsModifier: AssertTrue - Dependency module 'irisjwt' should be installed when loading without -bypass-deps.
I'd say typically it's easier to just build your own modules and dependencies for integration tests like these. See tests\integration_tests\Test\PM\Integration\_data\uninstall for an example
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.
Description
This PR introduces a new flag,
-bypass-deps, for theload,installandupdatecommands. This allows users to skip the IPM dependency in installation phase. This is the ObjectScript equivalent of the existing-bypass-py-depsflag. and-bpdalias for skip python dependency.fixed: #1026
Changes
bypass-depsmodifier to theloadandinstallcommands in the XML metadata.BypassDepsparameter. If set, the system logs the bypass and skips the graph-building and resolution phases.-bypass-py-depsto ensure a predictable CLI experience.Testing Performed
load <path>without the flag. Verified all dependencies (e.g.,irisjwt) were initialized and activated.load <path> -bypass-deps. Verified the "Building dependency graph" was skipped and only the target module was reloaded.