Fix production deployment: Update database + Add Stripe sync wrappers #86
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes the production deployment failures and adds synchronous wrapper methods for the Stripe service.
Critical Production Fix
Database Configuration Update
The free-tier
registry-postgresdatabase expired on October 11, 2025, causing all Render deployments to fail since October 13 with crashloop errors:Changes:
render.yamlto referenceregistry-db(standard plan) instead of the expired free databaseregistry-dbAction Required:
Resume the
registry-dbPostgreSQL instance from the Render dashboard before merging. Services will auto-deploy once the database is available.Stripe Service Improvements
Synchronous Wrapper Methods
Added synchronous wrapper methods to
Registry::Service::Stripefor backward compatibility with existing code that expects blocking behavior:create_payment_intent,retrieve_payment_intent,confirm_payment_intent,cancel_payment_intentcreate_customer,retrieve_customer,update_customer,delete_customercreate_payment_method,retrieve_payment_method,attach_payment_method,detach_payment_method,list_customer_payment_methodscreate_subscription,retrieve_subscription,update_subscription,cancel_subscriptionlist_invoices,retrieve_invoicecreate_refund,retrieve_refundcreate_price,retrieve_price,list_pricescreate_product,retrieve_productcreate_setup_intentAll wrappers use the
->waitpattern on the async versions for clean implementation.Documentation Improvements
Enhanced
CLAUDE.mdwith:-lrflags)Test Results
All 112 test files pass (1,167 tests total):
Deployment Impact
Before this PR:
After this PR (once registry-db is resumed):