Skip to content

Conversation

blva
Copy link
Collaborator

@blva blva commented Sep 18, 2025

Proposed changes

  • this PR focuses on using common args across tests
  • minor refactor in atlas tests to be able to run some of them without the need for credentials
  • reuse the validationMetadata framework

Checklist

@blva blva marked this pull request as ready for review October 8, 2025 20:14
@blva blva requested a review from a team as a code owner October 8, 2025 20:14
@Copilot Copilot AI review requested due to automatic review settings October 8, 2025 20:14
@blva blva marked this pull request as draft October 8, 2025 20:14
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR focuses on adding comprehensive argument validation test coverage across Atlas tools while refactoring test infrastructure for better organization. The changes introduce common validation patterns and enable running some tests without Atlas credentials.

Key changes:

  • Adds standardized argument validation tests for Atlas tools using shared test helpers
  • Refactors Atlas test helpers to separate credential-dependent tests from metadata validation
  • Introduces common argument validation patterns and reusable parameter definitions

Reviewed Changes

Copilot reviewed 19 out of 25 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
vitest.config.ts Adds new test project for Atlas cleanup scripts and excludes scripts directory
tests/integration/tools/atlas/*.test.ts Adds argument validation tests and wraps credential-dependent tests
tests/integration/helpers.ts Adds common validation argument sets and parameter definitions
src/tools/atlas/*.ts Refactors to use shared argument definitions from args.ts
src/tools/args.ts Adds shared argument objects and improves descriptions
scripts/cleanupAtlasTestLeftovers.test.ts New cleanup script for stale Atlas test resources
package.json Adds new npm script for Atlas cleanup
.github/workflows/cleanup-atlas-env.yml Adds GitHub workflow for automated Atlas environment cleanup

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