Skip to content

[Repo Assist] eng: add Dependabot for GitHub Actions + v3 OperationCompiler unit testsΒ #362

@github-actions

Description

@github-actions

πŸ€– This PR was created by Repo Assist, an automated AI assistant.

Summary

Two improvements in one PR:

Task 4 β€” Engineering Investments: Dependabot for GitHub Actions

Adds .github/dependabot.yml to enable automated weekly dependency update PRs for GitHub Actions versions. This means the CI actions (actions/checkout, actions/setup-dotnet, actions/cache) will get automated PRs when new versions are released, keeping CI up to date without manual tracking.

Task 9 β€” Testing Improvements: v3 OperationCompiler unit tests

Adds tests/SwaggerProvider.Tests/v3/Schema.OperationCompilationTests.fs with 9 new unit tests for the v3 OperationCompiler pipeline:

Test What it verifies
Simple GET generates correctly named method operationId β†’ method name mapping
No-param GET has CT as sole parameter CT injection with no API params
Task(string) return for JSON string response Return type resolution
Required params before optional ones Parameter ordering
CT is always the last parameter CT position invariant
POST body param precedes CT CT appended after body param
POST with 201/no-body β†’ Task(unit) Void return type
CT name deduplication Unique naming when param is called cancellationToken
Multiple operations each get CT Independence per-operation

These tests exercise the core OperationCompiler behaviour documented in repository memory and guard against regressions in parameter ordering and cancellation token injection.

Test Status

βœ… Build: succeeded (0 errors, all warnings pre-existing)
βœ… All 272 unit tests pass (0 failures, 2 pre-existing skips)
βœ… Format check: Fantomas verified clean

Integration/provider tests require a running Swashbuckle server and were not run; the changes are purely additive (new test file + dependabot.yml).

Generated by 🌈 Repo Assist, see workflow run. Learn more.

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@7ee2b60744abf71b985bead4599640f165edcd93

Warning

Protected Files

This was originally intended as a pull request, but the patch modifies protected files. These files may affect project dependencies, CI/CD pipelines, or agent behaviour. Please review the changes carefully before creating the pull request.

Click here to create the pull request once you have reviewed the changes

Protected files

To route changes like this to a review issue instead of blocking, configure protected-files: fallback-to-issue in your workflow configuration.

Generated by 🌈 Repo Assist, see workflow run. Learn more.

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@7ee2b60744abf71b985bead4599640f165edcd93

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions