Feature/adding GitHub workflow to repo - #8
Merged
Conversation
…ky quality gates add GitHub Actions workflow for lint, test, and build on admin changes configure artifact upload for main branch pushes add Husky pre-commit hook to run lint and tests add Husky pre-push hook to run production build wire Husky setup via prepare script in package.json
…ates Body: add GitHub Actions workflow for web app test and build on main push/PR upload Next.js build artifact on main pushes add Husky setup via prepare script and devDependency add pre-commit hook to run tests add pre-push hook to run production build
…nd initial migrations Body: add GitHub Actions workflow for service checks with Postgres and Redis run Django check, migration drift check, migrate, and test in CI add Python pre-commit configuration for pre-commit and pre-push stages generate initial migrations for geolocation and messaging apps
…push quality gates Body: add GitHub Actions CI for Java 17 Gradle test and bootJar build validate Gradle wrapper and upload built jar artifact on main pushes add Python pre-commit hooks for local pre-commit test and pre-push build checks align local hook env defaults with CI test profile settings
… exempt surface Body: require authentication or trusted internal token for payment register and context endpoints prevent anonymous access to payment RBAC-protected routes remove redundant csrf_exempt wrapper from Paystack webhook URL fix Django RBAC matrix and CSRF surface audit test failures
…e regression tests Body: restore Husky in parcel-app-admin and regenerate lockfile for npm ci consistency normalize package.json formatting in parcel-app-admin scripts/devDependencies add API test helper to reset module-scoped CSRF cache between tests reset API cache in authStore regression beforeEach to prevent cross-test leakage fix flaky switchActiveRole regression failure in parcel-app-web
Body: refactor effect-driven data loaders to avoid synchronous setState in useEffect defer async fetch invocations via queueMicrotask in admin page components fix react-hooks/set-state-in-effect errors in banking, complaints, dashboard, dispatch, moderation, orders, settings, and users pages verify parcel-app-admin lint passes successfully
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.
Pull Request: Add GitHub Actions CI/CD workflows and local quality gates
Summary
This PR introduces comprehensive CI/CD pipelines and local pre-commit hooks across all ParcelApp services, ensuring code quality before code reaches the repository.
Changes by Service
GitHub Actions Workflows
parcel-app-adminparcel-app-webparcel-app-serviceparcel-app-payment-serviceLocal Quality Gates
parcel-app-adminparcel-app-webparcel-app-serviceparcel-app-payment-serviceSupporting Changes
package.jsonandpackage-lock.jsonfor frontend hook toolinggeolocation(initial) +messaging(initial)Impact
mainValidation
Files Changed
15 files changed, +982 insertions, -2 deletions