fix(ci): resolve test bootstrap failures by adding missing runtime dependencies for QR verification app#9
Merged
udaycodespace merged 15 commits intomainfrom Mar 25, 2026
Conversation
…kflow Redesigned Issuer, Student, and Verifier portals with improved UI consistency. Implemented role-based navigation restrictions and Email OTP MFA with masked notifications. Added HTML email templates for authentication and security alerts. Secured system purge with multi-step verification and encrypted PDF audit reports. Refactored backend logic across app.py, models.py, mailer.py, and portal templates.
…rity improvements
…erifier templates
- unify holder, certificate web, and certificate PDF QR links via canonical verify URL builder - add signed token + compressed payload handling compatibility across generation and verification paths - improve holder/certificate QR UX (copy/share/download and clearer link metadata) - add standalone qr-web-app verifier with scan, upload, and link verification - harden verifier for gzip/plain payload decoding, issuer registry trust checks, and one-time local consume lock - document architecture and troubleshooting in solution.txt and brainstrom.txt
Add no-cache handling for certificate and PDF responses to prevent stale downloads. Rework certificate PDF generation to better match the certificate view. Rebuild the QR verification web app flow so scan, upload, and link verification paths redirect into result.html with a simplified UI.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
📌 Description
This PR introduces the complete QR verification feature along with major architectural improvements, security enhancements, and CI stabilization.
It includes modularization of the Flask application, enhanced verification flows (QR + credential + blockchain), UI improvements, and fixes for CI test failures caused by missing runtime dependencies.
🚀 Scope of Work
This PR combines multiple improvements across backend, frontend, DevOps, and testing:
✅ Key Changes
🔐 Verification & Security
🧩 Backend Architecture
🎨 UI & Product Improvements
🧪 Testing & Quality
⚙️ DevOps & CI/CD
🐛 CI Fix (Critical)
Added missing runtime dependencies:
pyotp(admin OTP routes)PyPDF2(PDF services)Synced:
requirements.txtpyproject.tomlFixed
ModuleNotFoundErrorduring CI test bootstrap🧠 Root Cause (CI Failure)
pyotp,PyPDF2)ModuleNotFoundError, blocking test collection🛠️ Resolution
🧪 Validation
📦 Commits Overview
Includes major commits such as:
feat(portal): UI overhaul, RBAC security, and system improvementsfeat: implement privacy, hashing, and CI/CD security enhancementsrefactor(app): modularize routes into blueprints and servicesfeat(verification): improve QR, credential, and blockchain validationtest: update suite and add smoke coveragechore(devops): align docker and workflowsfix(ci): add missing runtime dependencies🧾 Notes for Reviewers
This is a combined feature + refactor + CI fix PR
Recommended review order: