FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix missing/wrong properties in `createTestConfig` by mbg · Pull Request #3071 · github/codeql-action · GitHub

Fix missing/wrong properties in createTestConfig - #3071

Merged
mbg merged 2 commits into
mainfrom
mbg/fix/createTestConfig
Sep 2, 2025
Merged

Fix missing/wrong properties in createTestConfig#3071
mbg merged 2 commits into
mainfrom
mbg/fix/createTestConfig

Conversation

mbg commented Sep 2, 2025

Copy link
Copy Markdown
Member

Extracted from #3064. Fixes some incorrect properties in createTestConfig.

Risk assessment

For internal use only. Please select the risk level of this change:

  • Low risk: Changes are fully under feature flags, or have been fully tested and validated in pre-production environments and are highly observable, or are documentation or test only.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Consider adding a changelog entry for this change.
  • Confirm the readme and docs have been updated if necessary.

mbg requested a review from a team as a code owner September 2, 2025 12:29
Copilot AI review requested due to automatic review settings September 2, 2025 12:29

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull Request Overview

This PR fixes inconsistencies in the createTestConfig function by adding missing properties and correcting property types to match the actual Config interface. The changes ensure the test configuration object properly reflects the structure of production configurations.

  • Adds missing overlay database properties (overlayDatabaseMode and useOverlayDatabaseCaching)
  • Corrects the type of dependencyCachingEnabled from boolean to CachingKind.None
  • Adds explicit type casting to ensure type safety

Comment thread src/testing-utils.ts Outdated
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
mbg enabled auto-merge September 2, 2025 12:47
mbg merged commit 68d7fe3 into main Sep 2, 2025
278 checks passed
mbg deleted the mbg/fix/createTestConfig branch September 2, 2025 12:56
github-actions Bot mentioned this pull request Sep 5, 2025
8 tasks
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL