Merged
Conversation
Added logging for `.apax` file collection and traversal creation in `BuildTask` to enhance traceability. Introduced cleanup logic to remove temporary traversal files post-build. Replaced a commented-out loop with recursive `.apax` file collection. Removed unnecessary `Thread.Sleep` in `CreateArtifactsTask` to improve efficiency. Adjusted the order of `ApaxCopyArtifacts` execution. Updated `pack.ps1` to enable testing during packaging with `--do-test` and `--test-level 1` parameters. Optimize `.apax` handling and cleanup in build tasks Refactored `BuildTask` to streamline `.apax` file collection by introducing a centralized list and removing redundant logic. Enhanced traversal project creation to include `DoPack` and added cleanup logic to remove temporary traversal files. Simplified `CreateArtifactsTask` by removing unnecessary delays and improving execution flow. Improved logging for better visibility and made general code readability and maintainability improvements.
Contributor
Author
|
This problem only occurs when running https://github.com/Inxton/AXOpen/actions/runs/19739672959/job/56560103535 The failure point can differ from build to build. Next steps: Attempting to build with an older version of apax. |
Contributor
Author
|
The pipeline now passes with |
Added the `ApaxSelfUpdate` method in `ApaxCmd` to update the `apax` tool to a specified version. Updated `ProvisionTask` in `Program.cs` to call this method, enforcing `apax` version 4.0.0 to address version inconsistencies in some environments. Included comments explaining the temporary enforcement.
… into troubleshooting-cicd
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.
This pull request introduces improvements and cleanup to the build and packaging process in the
cake/Program.csscript, as well as an update to theapax.ymlconfiguration. The main changes focus on optimizing the handling of.apaxfiles, refining the traversal project build logic, and updating dependencies.Build and Packaging Process Improvements:
.apaxfile collection to occur once before iterating through libraries, preventing redundant file system traversal and improving efficiency.apax.ymlfile after the build, helping to keep the build directory clean.Thread.Sleepcalls after packaging operations, which should speed up the packaging process. [1] [2]Dependency and Configuration Updates:
apax.ymlconfiguration to include a new catalog dependency:@inxton/ax.catalogversion0.0.40.