-
Notifications
You must be signed in to change notification settings - Fork 0
fix(tests): drop orphan ListenerExecuteAsyncTests + uppercase XmlContent const #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9d8da41
a1cd535
07594d8
0bc241c
ed9f3b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,20 +24,23 @@ | |
| <PackageVersion Include="Microsoft.EntityFrameworkCore.Analyzers" Version="$(MicrosoftEntityFrameworkCoreVersion)" /> | ||
| <PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="$(MicrosoftEntityFrameworkCoreVersion)" /> | ||
| <PackageVersion Include="Microsoft.EntityFrameworkCore.InMemory" Version="$(MicrosoftEntityFrameworkCoreVersion)" /> | ||
| <!-- Transitive pin: Hangfire.PostgreSql 1.21.1 pulls EF Core Relational 10.0.4 — force-unify to 10.0.8 via CentralPackageTransitivePinningEnabled --> | ||
| <PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="$(MicrosoftEntityFrameworkCoreVersion)" /> | ||
| <PackageVersion Include="Npgsql" Version="$(NpgsqlVersion)" /> | ||
| <PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="$(NpgsqlVersion)" /> | ||
| <PackageVersion Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="$(NpgsqlEntityFrameworkCoreVersion)" /> | ||
|
Comment on lines
+27
to
+30
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use tab indentation on modified XML lines. The modified entries are space-indented; this file must use tab indentation per repo rules. Please convert leading spaces to tabs on the changed lines to stay compliant. As per coding guidelines "Use tab indentation with size of 4 spaces for all files". Also applies to: 36-43, 85-86 🤖 Prompt for AI Agents |
||
|
|
||
| <!-- ASP.NET Core 10 --> | ||
| <PackageVersion Include="Microsoft.AspNetCore.OpenApi" Version="$(MicrosoftAspNetCoreVersion)" /> | ||
| <PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="$(MicrosoftAspNetCoreMvcTestingVersion)" /> | ||
|
|
||
| <!-- Microsoft.Extensions.* --> | ||
| <PackageVersion Include="Microsoft.Extensions.Diagnostics.Testing" Version="$(MicrosoftExtensionsVersion)" /> | ||
| <!-- Microsoft.Extensions.* runtime line (10.0.x cadence) --> | ||
| <PackageVersion Include="Microsoft.Extensions.Hosting" Version="$(MicrosoftExtensionsVersion)" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="$(MicrosoftExtensionsVersion)" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Options.DataAnnotations" Version="$(MicrosoftExtensionsVersion)" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Telemetry.Abstractions" Version="$(MicrosoftExtensionsVersion)" /> | ||
| <PackageVersion Include="Microsoft.Extensions.TimeProvider.Testing" Version="$(MicrosoftExtensionsVersion)" /> | ||
| <!-- Testing/telemetry extensions track a faster 10.6.x cadence --> | ||
| <PackageVersion Include="Microsoft.Extensions.Diagnostics.Testing" Version="$(MicrosoftExtensionsTestingVersion)" /> | ||
| <PackageVersion Include="Microsoft.Extensions.Telemetry.Abstractions" Version="$(MicrosoftExtensionsTestingVersion)" /> | ||
| <PackageVersion Include="Microsoft.Extensions.TimeProvider.Testing" Version="$(MicrosoftExtensionsTestingVersion)" /> | ||
|
Comment on lines
+41
to
+43
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Check Version.props for the split Microsoft.Extensions version properties
echo "=== MicrosoftExtensionsVersion and MicrosoftExtensionsTestingVersion in Version.props ==="
rg -n '(MicrosoftExtensionsVersion|MicrosoftExtensionsTestingVersion)' Version.props
echo ""
echo "=== Verify they have different version cadences ==="
cat Version.props | grep -E '<(MicrosoftExtensionsVersion|MicrosoftExtensionsTestingVersion)>'Repository: ANcpLua/Paperless Length of output: 509 🏁 Script executed: #!/bin/bash
# Verify Directory.Packages.props structure and lines around 41-43
echo "=== Directory.Packages.props lines 38-45 ==="
sed -n '38,45p' Directory.Packages.props | cat -A
echo ""
echo "=== Check file line ending type ==="
file Directory.Packages.props
echo ""
echo "=== Verify the full context of PackageVersion entries ==="
sed -n '40,43p' Directory.Packages.propsRepository: ANcpLua/Paperless Length of output: 1489 Fix line ending compliance: Directory.Packages.props uses LF but requires CRLF. The version split is justified. Version.props defines 🤖 Prompt for AI Agents |
||
|
|
||
| <!-- Test stack (AwesomeAssertions + AwesomeAssertions.Analyzers come from ANcpLua.NET.Sdk.Test). --> | ||
| <PackageVersion Include="MartinCostello.Logging.XUnit.v3" Version="$(MartinCostelloLoggingXUnitV3Version)" /> | ||
|
|
@@ -79,8 +82,8 @@ | |
| pulled by Nuke.Common) and GHSA-37gx-xxp4-5rgx / GHSA-w3x6-4m5h-cxqf | ||
| (System.Security.Cryptography.Xml 9.0.0). Effective because the SDK turns on | ||
| CentralPackageTransitivePinningEnabled. --> | ||
| <PackageVersion Include="NuGet.Packaging" Version="7.3.1" /> | ||
| <PackageVersion Include="System.Security.Cryptography.Xml" Version="10.0.7" /> | ||
| <PackageVersion Include="NuGet.Packaging" Version="7.6.0" /> | ||
| <PackageVersion Include="System.Security.Cryptography.Xml" Version="10.0.8" /> | ||
| </ItemGroup> | ||
|
|
||
| </Project> | ||
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -21,10 +21,9 @@ static DatabaseFixture() | |||||||||||
|
|
||||||||||||
| public DatabaseFixture() | ||||||||||||
| { | ||||||||||||
| string postgresImage = Environment.GetEnvironmentVariable("POSTGRES_IMAGE") ?? "postgres:16-alpine"; | ||||||||||||
| string postgresImage = Environment.GetEnvironmentVariable("POSTGRES_IMAGE") ?? "postgres:17-alpine"; | ||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Handle blank Line 24 only falls back on Suggested fix- string postgresImage = Environment.GetEnvironmentVariable("POSTGRES_IMAGE") ?? "postgres:17-alpine";
+ string? configuredPostgresImage = Environment.GetEnvironmentVariable("POSTGRES_IMAGE");
+ string postgresImage = string.IsNullOrWhiteSpace(configuredPostgresImage)
+ ? "postgres:17-alpine"
+ : configuredPostgresImage;📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||
|
|
||||||||||||
| _container = new PostgreSqlBuilder() | ||||||||||||
| .WithImage(postgresImage) | ||||||||||||
| _container = new PostgreSqlBuilder(postgresImage) | ||||||||||||
| .WithWaitStrategy(Wait.ForUnixContainer() | ||||||||||||
| .UntilMessageIsLogged("database system is ready to accept connections")) | ||||||||||||
| .Build(); | ||||||||||||
|
|
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
GitHub Actions checkout v6 breaking changes💡 Result:
The release of actions/checkout v6 introduced a change in how credentials are persisted, but it is generally not a breaking change for most standard workflows [1][2]. The primary change in v6 is that the persist-credentials feature now stores credentials in a separate file under $RUNNER_TEMP instead of directly in the local.git/config file [3][4][2]. This update was implemented to improve credential security [2]. For the vast majority of users, no workflow changes are required [2]. Standard git commands such as git fetch and git push will continue to work automatically because the action automatically configures the necessary git includeIf directives to point to the new credential location [1][2]. There is one specific scenario where this change requires an update: if you are running authenticated git commands from within a Docker container action, you must use Actions Runner version v2.329.0 or later to ensure the runner can access the persisted credentials [4][2].
Citations:
🌐 Web query:
GitHub Actions setup-dotnet v5 breaking changes💡 Result:
The transition to setup-dotnet v5 introduced several breaking changes that require attention to ensure workflow compatibility [1][2]. Key breaking changes in v5 include: 1. Node.js Version Upgrade: The action was upgraded from Node.js 20 to Node.js 24 [2]. 2. Runner Compatibility: Due to the Node.js upgrade, workflows must run on GitHub Actions runners version v2.327.1 or later [1][2]. If your self-hosted runners are older than this version, the action will fail [1]. 3. Removal of Older.NET Versions: Support for certain older.NET versions was removed, and installation scripts were updated [1]. To ensure a smooth transition, verify that your runner environment meets the minimum version requirement (v2.327.1+) before updating to v5 [1][2]. For further details, you can review the full release notes on the official GitHub repository [1][3].
Citations:
🌐 Web query:
GitHub Actions setup-node v6 breaking changes💡 Result:
The transition to actions/setup-node v6 introduced several breaking changes and updates to improve workflow performance and configuration [1][2]. Key breaking changes in v6 include: 1. Automatic Caching for npm: Caching is now automatically enabled for npm projects when the packageManager field (either top-level or within devEngines) is set to npm in your package.json [2]. For other package managers like Yarn or pnpm, caching remains disabled by default and must be configured manually using the cache input [2]. 2. Removal of always-auth: The always-auth input has been removed [2]. This input was previously deprecated, and users should remove any references to it from their workflow configurations to avoid potential errors [2]. Additionally, users upgrading to v6 should be aware of the following: - Node.js Version Compatibility: As of mid-2026, GitHub Actions are transitioning to Node.js 24 [3]. While v6 is compatible with newer Node.js environments, ensure your workflows are updated to support these requirements, as older Node.js versions (such as Node 20) are being deprecated [3]. - Configuration Preferences: When using node-version-file: package.json, setup-node now prioritizes devEngines.runtime over engines.node [4][5]. To disable the new automatic caching behavior, you can explicitly set the cache input to false in your workflow file [2]: steps: - uses: actions/setup-node@v6 with: package-manager-cache: false
Citations:
🌐 Web query:
GitHub Actions cache v5 breaking changes💡 Result:
The transition to actions/cache@v5 does not introduce breaking changes to workflow logic, as the release is designed to be fully backward compatible [1][2]. However, there are critical infrastructure requirements that must be met to ensure the action functions correctly [1][2]. Key requirements for actions/cache@v5 include: 1. Node.js Runtime: The action runs on the Node.js 24 runtime [1][2]. 2. Runner Version: It requires a minimum Actions Runner version of 2.327.1 [1][2]. If you are using self-hosted runners, you must update them to this version or newer before upgrading to v5 to avoid workflow failures [1][2]. The v5 release was part of a broader update to the GitHub Actions cache backend service (v2 APIs), which was rolled out in early 2025 [1][2]. While the action itself is backward compatible, failing to meet the runner version requirement will result in errors [1][2]. Additionally, users should be aware that older versions of actions/cache (specifically v1 and v2) have been retired, and workflows using them will fail [3]. It is recommended to use the latest v5 releases to ensure compatibility with ongoing platform updates, such as the deprecation of Node.js 20 on GitHub Actions runners [4].
Citations:
🌐 Web query:
codecov-action v6 breaking changes and migration guide💡 Result:
The v6 release of the codecov-action is primarily a major version update to support Node.js 24 [1]. There are no complex migration steps or functional breaking changes to the action's inputs or usage patterns; the primary consideration is environment compatibility [1]. Key details regarding the v6 release: 1. Node.js 24 Support: The primary change in v6 is the transition to Node.js 24 [1]. This may cause issues for users on older environments, such as certain versions of GitHub Enterprise Server (GHES) that do not yet support Node.js 24 [2]. If your environment does not support Node.js 24, you should remain on the v5 release [2]. 2. Migration Guide: There is no extensive migration guide required for v6 because it does not introduce changes to the action's arguments or configuration schema [3][1]. Users can update their workflow files by simply changing the version tag from
@v5to@v6[4][3]. 3. Context on v5: If you are migrating from an older version (e.g., v4 or earlier) to v6, you should be aware of the changes introduced in v5, which include: - The use of the Codecov Wrapper to encapsulate the CLI [5][6]. - Deprecation of thefileargument in favor offiles[5][6]. - Deprecation of thepluginargument in favor ofplugins[5][6]. - The addition of several new arguments, includingbinary,gcov_args,gcov_executable,gcov_ignore,gcov_include,report_type,skip_validation, andswift_project[5][6]. If you encounter issues after upgrading to v6, verify that your runner environment supports Node.js 24 [2][1]. If it does not, you can safely revert to the latest v5.x release [2].Citations:
🏁 Script executed:
cat -n .github/workflows/ci.yml | head -150Repository: ANcpLua/Paperless
Length of output: 5983
Document minimum Actions Runner requirement for setup-dotnet and cache upgrades.
Both
actions/setup-dotnet@v5andactions/cache@v5require Actions Runner v2.327.1 or later, but this dependency is not documented in the workflow. GitHub-hostedubuntu-latestrunners satisfy this requirement, but the silent dependency on a specific runner version should be documented. Additionally,actions/setup-node@v6enables automatic npm caching when package.json contains a packageManager field—silent behavior change that requires verification this won't interfere with the explicitcache: pnpmconfiguration in the frontend jobs.For reference:
actions/checkout@v6andcodecov/codecov-action@v6introduce no functional breaking changes and are straightforward upgrades.Applies to: lines 40 (setup-dotnet), 45 (cache), 110, 131 (setup-node automatic caching).
🤖 Prompt for AI Agents