Skip to content

Move Test Config to Jsonc#4297

Merged
paulmedynski merged 15 commits into
mainfrom
dev/russellben/config-jsonc
Jun 8, 2026
Merged

Move Test Config to Jsonc#4297
paulmedynski merged 15 commits into
mainfrom
dev/russellben/config-jsonc

Conversation

@benrr101

@benrr101 benrr101 commented May 20, 2026

Copy link
Copy Markdown
Contributor

Description

As a byproduct of the PR pipeline, I got annoyed with the red squigglies under the comments in the test config.json file. Technically speaking jsonc files support comments while json does not. So, this small PR does the following:

  • Changes the config.default.json file to config.default.jsonc
  • Rewrites the Config.Load logic so that it tries the environment variable path first, config.jsonc second, then config.json before failing.
  • Makes Config class #nullable
  • Sync'd the config.default.json file with the fields that actually exist (and removed unused fields).
  • Remove dependency on Newtonsoft.Json from TestUtilities and push it back to ManualTests.

🤖

Used 🤖 to find remaining references to config.json and replace with references to config.jsonc

Issues

N/A

Testing

Everything builds, but I want to validate with a PR run before taking it out of draft state.

Copilot AI review requested due to automatic review settings May 20, 2026 03:44
@github-project-automation github-project-automation Bot moved this to To triage in SqlClient Board May 20, 2026

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings May 20, 2026 17:15
@benrr101 benrr101 added this to the 7.1.0-preview2 milestone May 20, 2026

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings May 20, 2026 20:01

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings May 20, 2026 23:56

This comment was marked as outdated.

@benrr101 benrr101 force-pushed the dev/russellben/config-jsonc branch from 5885bb9 to 57e9b41 Compare May 21, 2026 00:09
Copilot AI review requested due to automatic review settings May 21, 2026 15:51

This comment was marked as outdated.

@benrr101 benrr101 requested a review from paulmedynski June 2, 2026 16:35

This comment was marked as outdated.

paulmedynski
paulmedynski previously approved these changes Jun 2, 2026
mdaigle
mdaigle previously approved these changes Jun 3, 2026
@paulmedynski paulmedynski added the Author attention needed PRs that require author to respond or make updates to PR. label Jun 4, 2026
Copilot AI review requested due to automatic review settings June 4, 2026 17:09
@benrr101 benrr101 dismissed stale reviews from mdaigle and paulmedynski via 9502811 June 4, 2026 17:09
@benrr101 benrr101 moved this from Waiting for customer to In review in SqlClient Board Jun 4, 2026
@benrr101 benrr101 removed the Author attention needed PRs that require author to respond or make updates to PR. label Jun 4, 2026

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.

Pull request overview

Copilot reviewed 14 out of 16 changed files in this pull request and generated 8 comments.

Comment thread eng/pipelines/common/templates/steps/update-config-file-step.yml
Comment thread eng/pipelines/dotnet-sqlclient-ci-core.yml
Comment thread eng/pipelines/kerberos/sqlclient-kerberos.yml
Comment thread eng/pipelines/kerberos/sqlclient-kerberos.yml
Comment thread TESTGUIDE.md
Comment thread TESTGUIDE.md
Comment thread TESTGUIDE.md

@paulmedynski paulmedynski 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.

Looks good, modulo Copilot feedback.

@paulmedynski paulmedynski added the Author attention needed PRs that require author to respond or make updates to PR. label Jun 5, 2026
@paulmedynski paulmedynski moved this from In review to Waiting for customer in SqlClient Board Jun 5, 2026
@benrr101 benrr101 removed the Author attention needed PRs that require author to respond or make updates to PR. label Jun 5, 2026
@benrr101 benrr101 moved this from Waiting for customer to In review in SqlClient Board Jun 5, 2026
@paulmedynski paulmedynski enabled auto-merge (squash) June 8, 2026 09:21
@paulmedynski paulmedynski merged commit 793d5ad into main Jun 8, 2026
306 checks passed
@github-project-automation github-project-automation Bot moved this from In review to Done in SqlClient Board Jun 8, 2026
@paulmedynski paulmedynski deleted the dev/russellben/config-jsonc branch June 8, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area\Tests Issues that are targeted to tests or test projects

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

7 participants