Skip to content

Grace authentication + authorization test suite#60

Merged
ScottArbeit merged 3 commits intomainfrom
enhancement/auth-test-improvements
Jan 21, 2026
Merged

Grace authentication + authorization test suite#60
ScottArbeit merged 3 commits intomainfrom
enhancement/auth-test-improvements

Conversation

@ScottArbeit
Copy link
Owner

@ScottArbeit ScottArbeit commented Jan 20, 2026

Resolves #59.

PR Summary

  • Consolidate bootstrap tests into src/Grace.Server.Tests/AccessBootstrap*.fs, remove legacy bootstrap test project files, and update solution/test harness wiring to simplify auth test coverage.
  • Reuse a shared Aspire test host in src/Grace.Server.Tests/AspireTestHost.fs to reduce container churn across integration tests.
  • Reinstate repo-admin enforcement for /repository/delete and restore a safe temp-path fallback for W3C logging in src/Grace.Server/Startup.Server.fs.

Files Changed

  • Added: src/Grace.Server.Tests/AccessBootstrap.Server.Tests.fs, src/Grace.Server.Tests/AccessBootstrap.Enabled.Server.Tests.fs
  • Updated: src/Grace.Server.Tests/AspireTestHost.fs, src/Grace.Server.Tests/Grace.Server.Tests.fsproj, src/Grace.Server/Startup.Server.fs, src/Grace.sln, scripts/validate.ps1, src/Grace.Aspire.AppHost/Program.Aspire.AppHost.cs, src/Grace.Server.Tests/ AccessControl.Server.Tests.fs, src/Grace.Server.Tests/EndpointAuthorization.Server.Tests.fs, src/Grace.Server/Storage.Server.fs, src/Grace.Shared/Authorization.Shared.fs
  • Removed: src/Grace.Server.Bootstrap.Tests/AccessBootstrap.Server.Tests.fs, src/Grace.Server.Bootstrap.Tests/Grace.Server.Bootstrap.Tests.fsproj, src/Grace.Server.Bootstrap.Tests/Program.fs, CodexPlan.md

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3e6ddfe72d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ScottArbeit ScottArbeit merged commit a75f110 into main Jan 21, 2026
3 checks passed
@ScottArbeit ScottArbeit deleted the enhancement/auth-test-improvements branch January 21, 2026 00:58
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.

Enhancement: Grace authentication + authorization test suite

1 participant