加固分析管道並轉向 Demo Day 準備
Securing the Analytics Pipeline and Pivoting for Demo Day
Sprint 11 完成 MedReach-AI 的零信任分析架構:FastAPI 後端以 Firebase ID token 驗證取代分析指標的 RBAC 限制,未經驗證的請求仍會收到 401 Unauthorized,V1.0 後端亦已部署至 Google Cloud Run。
Sprint Retrospective: Implementing Zero-Trust Analytics
The conclusion of Sprint 11 was entirely focused on access control and finalizing our live cloud deployments. Our primary challenge was refactoring the dashboard metrics endpoints to ensure they were accessible to any logged-in user—regardless of their specific role hierarchy (Admin, Editor, Viewer)—while maintaining strict security against unauthenticated traffic.
Instead of relying on rigid Role-Based Access Control (RBAC) for these macro-level insights, I overhauled the FastAPI backend to utilize a zero-trust require_authenticated_user dependency. By streamlining our Firebase ID token validation, we successfully opened up the quality trends and specialty distribution metrics to all valid users, ensuring any request without a verified token still hits a hard 401 Unauthorized wall. With these changes pushed through our GitHub Actions pipeline and successfully deployed to Google Cloud Run, our V1.0 backend architecture is officially locked in.
Caption: Live MedReach-AI dashboard successfully fetching the executive metrics via Cloud Run, bypassing RBAC while enforcing strict Firebase token validation.
Sprint 12 Planning: UI Polish and Demo Preparation
With our final Capstone presentation scheduled for November 19th, Sprint 12 requires a strategic pivot. As the Technical Project Manager, I am actively preventing late-stage scope creep by transitioning our focus from complex backend data aggregation to presentation polish and frontend stability. I have mapped out this week's Jira backlog to maximize our team velocity using AI-assisted coding tools.
Caption: Sprint 12 Backlog detailing our UI feature freeze, static demo data integration, and Capstone commercial production tasks.
Our core deliverables for this development cycle (Nov 2 – Nov 8) include:
Global Navigation UI (MA-95): Collin is building out the final interactive frontend components, including the top-right user profile dropdown, secure Firebase logout routing, and UI modals for system notifications and global search.
Analytics Demo Data Binding (MA-96): To guarantee a flawless presentation without risking database downtime, I am utilizing our VS agent to wire the newly built Analytics page to a local JSON payload of static, high-fidelity demo data.
Capstone Commercial Production (MA-97): I will be drafting the script and utilizing AI narration tools to produce our final 60-second marketing commercial showcasing the application's core value proposition.
V1.0 Code Freeze & Documentation (MA-98): I am enforcing a hard feature freeze on the main branch. My final task is conducting regression testing on our live production URLs and finalizing the repository documentation with our zero-trust architecture diagrams.
We will convene for our standard sync later this week to review the dropdown Pull Requests and review the commercial storyboard before Sunday's milestone submission.
來源:DEV Community · dev.to