r/SideProject • u/EnvironmentalWait369 • 8d ago
Astraea: a multi-tenant infrastructure control plane in Go (early stage, not production-ready). Tenant-bound connectors make outbound connections to the control plane, with PostgreSQL, durable async jobs, policy and approval-gated operations, and a hash-chained audit log.
I'd like a review of the tenant isolation approach and connector design. AI coding tools were used in development, and I design and review the architecture.
https://github.com/AbdulNafaySarmad1/Astraea
1
Upvotes
1
u/umit_dogan 8d ago
The async job boundary seems like a useful place to test tenant isolation. What happens if a job is queued, then the connector is revoked or its permissions change before execution? I'd bind approval to the exact operation and tenant, then recheck authorization when the job runs. A short walkthrough of that case would make the connector design easier to review.
1
u/nian2326076 7d ago
Your tenant isolation approach could benefit from a review of edge cases, particularly around connector permissions. Consider how changing permissions impacts queued jobs, as this could affect both security and job integrity. Testing these scenarios can clarify the robustness of your design. For job opportunities in related fields, LandOffer can help you find relevant roles based on your skills.