Skip to content

Major: v3#320

Merged
DecSmith42 merged 192 commits into
mainfrom
feature/v-next
Jun 8, 2026
Merged

Major: v3#320
DecSmith42 merged 192 commits into
mainfrom
feature/v-next

Conversation

@DecSmith42

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 4, 2026 02:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings June 5, 2026 16:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings June 6, 2026 14:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings June 8, 2026 10:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Copilot AI review requested due to automatic review settings June 8, 2026 12:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

DecSmith42 added 19 commits June 9, 2026 00:04
Added the `LibGit2Sharp` package (v0.31.0) to the `_atom` project for enhanced Git repository interaction capabilities.
…n labels

Updated workflows to use `WorkflowLabels` for platform, framework, and version definitions for better consistency and readability. Removed unused classes and redefined multiple injection options. Migrated `GithubIfBuild` test cases and adjusted workflow test cases accordingly.
Added `DecSm.Atom.Workflows.Definition` to global usings for improved accessibility across the module.
Refactored `WithGithubRunsOnMatrix` and `WithGithubTokenInjection` methods for improved consistency and readability. Updated `GithubRunsOn` to use `WorkflowExpression` for labels. Removed redundant static properties for predefined runner configurations.
Added `EnvVarName` computed property to `ParamModel` and `ParamDefinition` for consistent environment variable naming. Updated `ParamService` to leverage the new property, improving readability and reducing duplication.
Enhanced workflow generation logic by introducing `IWorkflowExpressionGenerator` for improved expression handling and consistency. Refactored multiple areas, including runs-on labels, environment variables, and secret injections, to leverage the new generator. Simplified property access and reduced redundancy across GitHub and DevOps workflow writers.
…ndancy

Removed redundant static properties and refactored workflow option records for improved clarity and consistency. Simplified the structure of options like `ToggleWorkflowOption`, `GithubCheckoutOption`, and `WorkflowSecretsInjection` by standardizing their definitions. Updated namespaces to align with the new organization.
…tions

Removed the `IGithubExpression` record and its related implementations as they were no longer necessary. This includes literals, operators, function expressions, and tests under `ExpressionsTests`. Streamlined the codebase to improve maintainability and reduce unused types.
Simplified the `WithDevopsPoolMatrix` method implementation for improved clarity and consistency. Updated parameter handling and adjusted namespace dependencies to align with recent workflow architecture changes.
…ng change checks

Introduced new workflow expression functionalities like `Not`, `And`, `Or`, `Coalesce`, and others to enhance GitHub workflow definition capabilities. Added logic for checking pull requests against potential breaking changes using the public API surface. Integrated `ICheckPrForBreakingChanges` and `IWorkflowExpressionWriter` for improved workflow management and customization.
Moved `CheckPrForBreakingChanges` logic in `Build.cs` to a specific workflow section and updated its injection configuration. Ensured consistency with GitHub token permissions and matrix setup. Removed redundant duplicate declarations for improved clarity.
Updated `GithubWorkflowWriter` to include `workflowStep.Options` in the processing of environment and parameter injections. Ensured that environment injections correctly exclude matching parameter injections to maintain expected behavior.
Updated `Validate.yml` and `Build.cs` to include `pull-request-number` parameter for PR breaking change checks. Ensured proper injection of GitHub event data to support enhanced workflow logic.
Refactored logic in `ICheckPrForBreakingChanges` to enhance clarity and functionality. Introduced separate handling for breaking change comments and non-breaking change comments. Prevented redundant mutation executions and improved error handling for mutation results.
Added `AtomFileSystem.cs` to the list of files checked for breaking changes in `ICheckPrForBreakingChanges`. Improved repository variable handling by splitting and formatting GitHub repository strings.
Improved handling of breaking change detection by introducing clearer formatting of repository variables and generating detailed draft PR review threads. Included file-specific line details for breaking changes to assist reviewers in identifying affected areas. Removed redundant code execution for review thread creation.
…flows

Centralized breaking change detection logic into `SetupBuildInfo` and removed `ICheckPrForBreakingChanges` target to streamline workflow execution. Enhanced PR review comment generation with detailed breaking change insights. Updated workflows to ensure proper permissions and environment variable handling for seamless integration.
Enhanced workflows by injecting Azure Vault secrets and environment variables to support secure operations. Refactored breaking change detection in PR reviews for better clarity and streamlined mutation execution.
DecSmith42 and others added 25 commits June 9, 2026 00:04
- Changed `AllowFailedResult` to `true` in the first test and `false` in the second one.
- Ensures consistent behavior when handling failed test results.
- Updated `GithubTokenPermissionsOption` to use `BuildOptions.Github.TokenPermissions.Set`.
- Aligns token permissions configuration with updated API conventions.
…ions

- Added logic to detect and throw `StepFailedException` when `dotnet test` fails before producing a TRX file due to errors like build issues or invalid arguments.
- Improved error handling to prevent misleading exit codes when no tests are run.
- Updated test report generation to use the validated TRX file path.
…e operations

- Introduced `GitVersionCache` to cache GitVersion outputs based on commit hash for improved performance.
- Added `BuildCache` to skip redundant `dotnet build` operations by hashing build inputs.
- Developed `RestoreCache` to avoid redundant `dotnet restore` using input-hash-based caching.
- Created utility `HashCache` for common hashing logic leveraged by restore/build caches.
- Integrated cache files into `obj` directories for natural cleanup via `dotnet clean`.
- Enhanced safety with error handling and best-effort cleanup for locked or inaccessible files.
- Lowered `Microsoft.CodeAnalysis.CSharp` and `Microsoft.CodeAnalysis.Workspaces.Common` from 5.3.0 to 5.0.0 in library projects.
- Adjusted `Microsoft.CodeAnalysis.CSharp.Workspaces` from 5.3.0 to 5.0.0 across test projects.
- Ensures compatibility with dependent systems requiring an earlier version.
- Added `IBuildAccessor` inheritance to `IBuildDefinition` for expanded functionality.
- Facilitates streamlined access to build-related operations via a unified interface.
- Expanded the examples section to include Hello World, adding params, secrets, and dependencies.
- Provided step-by-step guides for project setup, using different features like parameters and secrets.
- Included instructions for generating GitHub workflows with YAML examples.
- Improved clarity and usability for new users exploring library features.
- Enabled `<Using>` directives in props files for all relevant modules, including `Dotnet`, `Build`, `Workflows`, `GitVersion`, `AzureStorage`, `AzureKeyVault`, and others.
- Restores direct imports for global use.
- Removed unused `AzureKeyVault` imports, interfaces, and options from `_atom`.
- Deleted project reference to `Invex.Atom.Module.AzureKeyVault` in `_atom.csproj`.
- Cleaned up build definitions and options to exclude `AzureKeyVault` dependencies.
…ries

- Clarified that `TransformFileScope`, `IRootedFileSystem`, and `IProcessRunner` are part of standalone packages (`Invex.FileSystem`, `Invex.Process`) maintained in separate repositories.
- Updated package descriptions in documentation to reflect the separation of core foundational libraries from the main Atom packages.
- Modified repository link in `docfx.json` to point to the correct `Invex-Games` namespace.
Copilot AI review requested due to automatic review settings June 8, 2026 14:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@DecSmith42 DecSmith42 merged commit b8639fc into main Jun 8, 2026
76 checks passed
@DecSmith42 DecSmith42 deleted the feature/v-next branch June 8, 2026 14:50
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.

2 participants