Stabilize skip-crash baseline CI and restore build tooling#34
Merged
Conversation
* Skip openGauss crash-prone baseline tests * Enable replication test sources on skip-crash branch * Skip replication tests in openGauss CI baseline * Align CI workflows with net8 baseline * Fix build script and modernize CI actions * Run NativeAOT trimmed test against openGauss baseline * Upgrade CodeQL workflow to v4 * Declare manual build mode for CodeQL * Tidy baseline test workflow filters * Fix bash line continuations in test workflow * Harden release and CI build workflows * Pin dotnet-execute to net8-capable baseline * Narrow baseline test exclusions * Update OpenTelemetry API package * Refine baseline test profile skips * Refine test profiles for baseline and local GaussDB * Document local product test exclusions * Let local replication tests self-skip * Document remote GaussDB local testing
WeihanLi
reviewed
Apr 29, 2026
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
build.csto the publicdotnet-executeAPI and pinningdotnet-executewith a local tool manifest.net8.0baseline and update workflow actions to current Node 24-capable versions.ci-baselineis selected automatically on GitHub Actions.local-productcan be selected locally withGAUSSDB_TEST_PROFILE=local-productfor remote single-node GaussDB validation.fullandtrimmedjobs run against the intended openGauss service.OpenTelemetry.Apito avoid NuGet audit failure on GitHub Actions.Test Filtering Strategy
SecurityTests: the openGauss CI service does not provide backend SSL.Replication: CI does not provision logical replication prerequisites.Open_physical_failure: current fork behavior expectsTimeoutExceptionwhile upstream expectsSocketException; keep isolated until the fork drift is reviewed.BaseColumnName_with_column_aliases: fixed temp table name can survive pooled sessions and fail with42P07 relation already exists.local-productprofile filters only cases that are not valid for the current remote single-node product test topology:Open_physical_failureBaseColumnName_with_column_aliasesMultipleHostsTests.IntegrationTestMultiple_hosts_with_disabled_sql_rewritingAssert.Ignorewhenwal_levelormax_wal_sendersis not provisioned locally.Build and Workflow Changes
build.shnow restores and runs the pinned localdotnet-exectool.build.csdefaults to the publish path when no target is passed, keeping manual/release build behavior aligned.gsql SELECT 1instead of a fixed sleep.GAUSSDB_TEST_FILTERreadable as multiline YAML and joins it with&before passing it to VSTest.Remote GaussDB Local Test
docs/remote-gaussdb-local-testing.mdwith the local remote-server test procedure.NPGSQL_TEST_DB,GAUSSDB_TEST_PROFILE=local-product, test startup, cleanup, and replication-test behavior.Validation
4d20ddfaCI is green: Build, Test, NativeAOTfull, NativeAOTtrimmed, and CodeQL all pass..NET 8runtime available through the user-local dotnet install:dotnet tool run dotnet-exec ./build.cs --args --target=buildGAUSSDB_TEST_PROFILE=local-productGaussDB.Tests: 3090 total / 2592 passed / 498 skipped / 0 failedGaussDB.DependencyInjection.Tests: 26 total / 26 passed / 0 failedNotes
test-reportsartifacts are included in this PR.SecurityTestsCI exclusion is intentionally limited to baseline CI; SSL coverage remains available in local GaussDB runs.