Skip to content

chore(auth2): Revert "feat(auth2): Add new (empty) module serverpod_auth_api_tokens (#3615)" - #3650

Merged
tp merged 1 commit into
serverpod:mainfrom
tp:remove-serverpod_auth_api_tokens
Jun 13, 2025
Merged

tp merged 1 commit into
serverpod:mainfrom
tp:remove-serverpod_auth_api_tokens

Conversation

@tp

@tp tp commented Jun 13, 2025 •

Copy link
Copy Markdown
Contributor

As the feature set is now available in serverpod_auth_session

This reverts commit f85a5b9.

Summary by CodeRabbit

  • Chores
    • Removed the serverpod_auth_api_tokens client and server modules, including all related configuration, documentation, and test files.
    • Updated scripts to eliminate references to the removed modules from build, test, dependency, and migration processes.
  • Tests
    • Deleted all integration and unit tests associated with the removed modules.
  • Documentation
    • Removed all README, changelog, and documentation files related to the serverpod_auth_api_tokens modules.

@coderabbitai

coderabbitai Bot commented Jun 13, 2025 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This change removes the serverpod_auth_api_tokens module and all its associated files, including server and client code, configuration, tests, documentation, and build/test scripts. It also updates utility scripts to eliminate references to this module, ensuring it is no longer included in dependency management, code generation, migration, or test workflows.

Changes

Files/Paths Change Summary
.github/workflows/dart-tests.yaml Removed serverpod_auth_api_tokens_server from test matrix.
modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/* Deleted all client-side files: .gitignore, CHANGELOG.md, README.md, dartdoc_options.yaml, doc/endpoint.md, lib/serverpod_auth_api_tokens_client.dart, pubspec.yaml.
modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/* Deleted all server-side files: .gitignore, CHANGELOG.md, README.md, analysis_options.yaml, config/*, dart_test.yaml, docker-compose.yaml, lib/serverpod_auth_api_tokens_server.dart, lib/src/*, pubspec.yaml, test/integration/*, test/unit/*.
templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/pubspec.yaml Deleted client pubspec template.
templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/pubspec.yaml Deleted server pubspec template.
util/generate_all Removed code generation step for serverpod_auth_api_tokens_server.
util/pub_get_all Removed client and server paths for serverpod_auth_api_tokens from dependencies array.
util/recreate_all_migrations Removed migration recreation step for serverpod_auth_api_tokens_server.
util/run_tests_analyze Removed client and server project paths for serverpod_auth_api_tokens.
util/update_pubspecs Stopped copying changelog/readme for serverpod_auth_api_tokens submodules.

Sequence Diagram(s)

sequenceDiagram
    participant CI as CI Workflow
    participant Scripts as Utility Scripts
    participant Modules as Modules Directory

    CI->>Scripts: Trigger code generation, migration, test, and dependency scripts
    Scripts-->>Modules: (Before) Include serverpod_auth_api_tokens (client/server) in all steps
    Scripts-->>Modules: (After) Exclude serverpod_auth_api_tokens (client/server) from all steps
    Modules-->>Scripts: Only remaining modules are processed
    Scripts-->>CI: Complete workflow without serverpod_auth_api_tokens
Loading

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 26d2aef and c79fb69.

⛔ Files ignored due to path filters (13)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/lib/src/protocol/client.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/lib/src/protocol/module_class.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/lib/src/protocol/protocol.dart is excluded by !**/lib/src/protocol/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/src/generated/endpoints.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/src/generated/module_class.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/src/generated/protocol.dart is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/src/generated/protocol.yaml is excluded by !**/generated/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/migrations/20250605102941925/definition.json is excluded by !**/migrations/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/migrations/20250605102941925/definition.sql is excluded by !**/migrations/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/migrations/20250605102941925/definition_project.json is excluded by !**/migrations/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/migrations/20250605102941925/migration.json is excluded by !**/migrations/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/migrations/20250605102941925/migration.sql is excluded by !**/migrations/**
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/migrations/migration_registry.txt is excluded by !**/migrations/**
📒 Files selected for processing (32)
  • .github/workflows/dart-tests.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/.gitignore (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/CHANGELOG.md (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/README.md (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/dartdoc_options.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/doc/endpoint.md (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/lib/serverpod_auth_api_tokens_client.dart (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/pubspec.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/.gitignore (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/CHANGELOG.md (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/README.md (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/analysis_options.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/config/generator.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/config/passwords.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/config/test.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/dart_test.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/docker-compose.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/serverpod_auth_api_tokens_server.dart (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/src/endpoints/module_endpoint.dart (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/src/models/module_class.spy.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/src/module_util.dart (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/pubspec.yaml (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/test/integration/module_endpoint_test.dart (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/test/integration/test_tools/serverpod_test_tools.dart (0 hunks)
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/test/unit/module_util_test.dart (0 hunks)
  • templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/pubspec.yaml (0 hunks)
  • templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/pubspec.yaml (0 hunks)
  • util/generate_all (0 hunks)
  • util/pub_get_all (0 hunks)
  • util/recreate_all_migrations (0 hunks)
  • util/run_tests_analyze (0 hunks)
  • util/update_pubspecs (0 hunks)
💤 Files with no reviewable changes (32)
  • util/pub_get_all
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/dart_test.yaml
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/analysis_options.yaml
  • .github/workflows/dart-tests.yaml
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/README.md
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/dartdoc_options.yaml
  • util/update_pubspecs
  • util/run_tests_analyze
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/config/passwords.yaml
  • util/recreate_all_migrations
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/test/unit/module_util_test.dart
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/test/integration/module_endpoint_test.dart
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/lib/serverpod_auth_api_tokens_client.dart
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/docker-compose.yaml
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/.gitignore
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/doc/endpoint.md
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/README.md
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/config/generator.yaml
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/.gitignore
  • templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/pubspec.yaml
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/config/test.yaml
  • util/generate_all
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/src/models/module_class.spy.yaml
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/pubspec.yaml
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/src/module_util.dart
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/pubspec.yaml
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/serverpod_auth_api_tokens_server.dart
  • templates/pubspecs/modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/pubspec.yaml
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/lib/src/endpoints/module_endpoint.dart
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_client/CHANGELOG.md
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/test/integration/test_tools/serverpod_test_tools.dart
  • modules/new_serverpod_auth/serverpod_auth_api_tokens/serverpod_auth_api_tokens_server/CHANGELOG.md
⏰ Context from checks skipped due to timeout of 90000ms (19)
  • GitHub Check: Bootstrap tests (3.24.0, windows-latest, tests/bootstrap_project)
  • GitHub Check: Unit tests IO (3.24.0, ubuntu-latest)
  • GitHub Check: Unit tests IO (3.32.1, ubuntu-latest)
  • GitHub Check: Unit tests IO (3.32.1, windows-latest)
  • GitHub Check: Bootstrap tests (3.32.1, ubuntu-latest, tests/bootstrap_project)
  • GitHub Check: Bootstrap tests (3.24.0, ubuntu-latest, tests/bootstrap_project)
  • GitHub Check: Unit tests IO (3.24.0, windows-latest)
  • GitHub Check: Bootstrap tests (3.32.1, windows-latest, tests/bootstrap_project)
  • GitHub Check: serverpod generate (3.24.0)
  • GitHub Check: serverpod generate (3.32.1)
  • GitHub Check: Serverpod E2E web tests (3.24.0)
  • GitHub Check: Migration e2e tests (3.32.1)
  • GitHub Check: Serverpod E2E web tests (3.32.1)
  • GitHub Check: dart analyze latest (3.32.1, windows-latest)
  • GitHub Check: Serverpod integration tests (server) (3.32.1)
  • GitHub Check: Migration e2e tests (3.24.0)
  • GitHub Check: Serverpod integration tests (server) (3.24.0)
  • GitHub Check: dart analyze downgrade (3.32.1, windows-latest)
  • GitHub Check: dart analyze downgrade (3.24.0, windows-latest)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

…auth_api_tokens` (serverpod#3615)"

As the feature set is now available in `serverpod_auth_session`

This reverts commit f85a5b9.
@tp
tp force-pushed the remove-serverpod_auth_api_tokens branch from a35ac58 to c79fb69 Compare June 13, 2025 10:02
@tp
tp marked this pull request as ready for review June 13, 2025 10:07
@tp
tp requested a review from SandPod June 13, 2025 10:41
@tp tp changed the title chore(auth2): Revert "feat(auth2): Add new (empty) module serverpod_auth_api_tokens (#3615) chore(auth2): Revert "feat(auth2): Add new (empty) module serverpod_auth_api_tokens (#3615)" Jun 13, 2025
@tp
tp merged commit 868651e into serverpod:main Jun 13, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 13, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants