Skip to content

feat(admin): expose paidSince on the bearer workspace GET - #959

Merged
Zach Dunn (zachdunn) merged 1 commit into
mainfrom
feat/admin-get-paid-since
Sep 11, 2026
Merged

feat(admin): expose paidSince on the bearer workspace GET#959
Zach Dunn (zachdunn) merged 1 commit into
mainfrom
feat/admin-get-paid-since

Conversation

@zachdunn

Copy link
Copy Markdown
Member

Summary

Why

Ops scripts and CI use the bearer route and saw `null` for a field the panel renders, which reads as drift.

Tests

  • Extended `admin-workspace-delete.test.ts`: default record returns `paidSince: null`; a paid record returns the stored timestamp. 21/21 pass.
  • Fixtures are fictional.

The cookie-authed admin panel plan view returns paidSince (#958) but the
bearer-token GET /admin/workspaces/:name did not, so ops scripts and CI
saw null for a field the panel renders. Add it next to plan.
@changeset-bot

changeset-bot Bot commented Sep 11, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 239d494

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 11, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
uploads-api 239d494 Commit Preview URL

Branch Preview URL
Sep 11 2026, 09:49 PM

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (2)
  • coderabbit:review
  • review
🚫 Excluded labels (none allowed) (1)
  • wip

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: e2f1af3f-7bb5-4d56-b26e-6441c1b13c87

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

Comment @coderabbitai help to get the list of available commands.

@zachdunn
Zach Dunn (zachdunn) merged commit 32bfb2b into main Sep 11, 2026
4 checks passed
@zachdunn
Zach Dunn (zachdunn) deleted the feat/admin-get-paid-since branch September 11, 2026 22:06
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.

1 participant