🚀 v325.0.1 #14209
dev_on_push_workflow_main.yml
on: push
pcapi init job
39s
Check changes in folders
32s
Update Jira issue
/
issue-number
Tests pro
/
...
/
Style quality check
1m 21s
Tests pro
/
Unit tests
9m 43s
[pcapi] build docker image.
/
Build pcapi:95b8d8010c0532c32b01f51a507e354cd44a7992
2m 17s
[pcapi-tests] build docker image.
/
Build pcapi-tests:95b8d8010c0532c32b01f51a507e354cd44a7992
4m 3s
[pcapi-console] build docker image.
/
build-docker-image
Deploy Storybook
/
Build and deploy Storybook
Tests API documentation
/
Check API documentation can be built
Deploy maintenance site
/
Deploy maintenance site to bucket
Ping data team on slack
/
Send slack notification
Update Jira issue
/
update-jira-issues
Merge Allure Reports and Push to Allure Repository
33s
Reset cache on master on dependency update
/
Update API Client template
Tests pro E2E
/
E2E tests and notifications
12m 59s
Matrix: Test api / Pytest
Test api
/
Quality checks
2m 33s
Test api
/
Pylint
4m 17s
Test api
/
Test database schema
3m 16s
Push pcapi-console docker image to registry
/
push-docker-image
Push pcapi docker image to registry
/
push-docker-image
Deploy to ops
/
...
/
check-image-resizing-deployed-version
Deploy to ops
/
...
/
check-image-resizing-deployed-version
Deploy to testing
/
...
/
check-image-resizing-deployed-version
Deploy to testing
/
...
/
check-image-resizing-deployed-version
Deploy to ops
/
Deploy api doc on firebase
Deploy to ops
/
...
/
deploy_on_firebase
Deploy to ops
/
...
/
deploy_on_firebase
Deploy to ops
/
apply Algolia settings
Deploy to ops
/
...
/
Check folder changes
Deploy to ops
/
...
/
Check folder changes
Deploy to testing
/
Deploy api doc on firebase
Deploy to testing
/
...
/
deploy_on_firebase
Deploy to testing
/
...
/
deploy_on_firebase
Deploy to testing
/
apply Algolia settings
Deploy to testing
/
...
/
Check folder changes
Deploy to testing
/
...
/
Check folder changes
Deploy to ops
/
...
/
Deploy image resizing
Deploy to ops
/
...
/
Deploy image resizing
Deploy to testing
/
...
/
Deploy image resizing
Deploy to testing
/
...
/
Deploy image resizing
Slack notification
0s
Annotations
3 errors, 12 warnings, and 2 notices
tests/core/finance/test_api.py.test_generate_payment_files:
tests/core/finance/test_api.py#L1906
sqlalchemy.exc.InternalError: (psycopg2.errors.RaiseException) insufficientFunds
HINT: The user does not have enough credit to book
CONTEXT: PL/pgSQL function check_booking() line 38 at RAISE
[SQL: INSERT INTO booking ("dateCreated", "dateUsed", "stockId", "venueId", "offererId", quantity, token, "userId", amount, "priceCategoryLabel", "cancellationDate", "displayAsEnded", "cancellationLimitDate", "cancellationReason", "cancellationUserId", status, "validationAuthorType", "reimbursementDate", "depositId") VALUES (%(dateCreated)s, %(dateUsed)s, %(stockId)s, %(venueId)s, %(offererId)s, %(quantity)s, %(token)s, %(userId)s, %(amount)s, %(priceCategoryLabel)s, %(cancellationDate)s, %(displayAsEnded)s, %(cancellationLimitDate)s, %(cancellationReason)s, %(cancellationUserId)s, %(status)s, %(validationAuthorType)s, %(reimbursementDate)s, %(depositId)s) RETURNING booking.id]
[parameters: {'dateCreated': datetime.datetime(2023, 2, 1, 12, 34, 26, 109572), 'dateUsed': datetime.datetime(2023, 2, 1, 12, 34, 26, 98730), 'stockId': 1232, 'venueId': 1292, 'offererId': 1274, 'quantity': 1, 'token': 'NGQS62', 'userId': 859, 'amount': Decimal('10.10'), 'priceCategoryLabel': None, 'cancellationDate': None, 'displayAsEnded': None, 'cancellationLimitDate': None, 'cancellationReason': None, 'cancellationUserId': None, 'status': 'USED', 'validationAuthorType': None, 'reimbursementDate': None, 'depositId': 690}]
(Background on this error at: https://sqlalche.me/e/14/2j85)
|
tests/core/finance/test_api_legacy.py.test_generate_payment_files:
tests/core/finance/test_api_legacy.py#L543
sqlalchemy.exc.InternalError: (psycopg2.errors.RaiseException) insufficientFunds
HINT: The user does not have enough credit to book
CONTEXT: PL/pgSQL function check_booking() line 38 at RAISE
[SQL: INSERT INTO booking ("dateCreated", "dateUsed", "stockId", "venueId", "offererId", quantity, token, "userId", amount, "priceCategoryLabel", "cancellationDate", "displayAsEnded", "cancellationLimitDate", "cancellationReason", "cancellationUserId", status, "validationAuthorType", "reimbursementDate", "depositId") VALUES (%(dateCreated)s, %(dateUsed)s, %(stockId)s, %(venueId)s, %(offererId)s, %(quantity)s, %(token)s, %(userId)s, %(amount)s, %(priceCategoryLabel)s, %(cancellationDate)s, %(displayAsEnded)s, %(cancellationLimitDate)s, %(cancellationReason)s, %(cancellationUserId)s, %(status)s, %(validationAuthorType)s, %(reimbursementDate)s, %(depositId)s) RETURNING booking.id]
[parameters: {'dateCreated': datetime.datetime(2023, 2, 1, 12, 34, 26, 92266), 'dateUsed': datetime.datetime(2023, 2, 1, 12, 34, 26, 82326), 'stockId': 1303, 'venueId': 1362, 'offererId': 1335, 'quantity': 1, 'token': 'KBTGAP', 'userId': 976, 'amount': Decimal('10.10'), 'priceCategoryLabel': None, 'cancellationDate': None, 'displayAsEnded': None, 'cancellationLimitDate': None, 'cancellationReason': None, 'cancellationUserId': None, 'status': 'USED', 'validationAuthorType': None, 'reimbursementDate': None, 'depositId': 794}]
(Background on this error at: https://sqlalche.me/e/14/2j85)
|
Test api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
❌ Tests reported 2 failures
|
Tests pro / Unit tests
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/[email protected]. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/app/App/hook/useLogNavigation.ts#L32
React Hook useEffect has missing dependencies: 'params' and 'previousPage'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/commons/hooks/useRedirectLoggedUser.ts#L54
React Hook useEffect has missing dependencies: 'dispatch', 'navigate', and 'redirectToUrl'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/Address/Address.tsx#L85
React Hook useEffect has missing dependencies: 'addressesMap', 'searchField', and 'setFieldValue'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/Bookings/Bookings.tsx#L205
React Hook useEffect has missing dependencies: 'initialAppliedFilters.bookingBeginningDate', 'initialAppliedFilters.bookingEndingDate', 'initialAppliedFilters.bookingStatusFilter', and 'initialAppliedFilters.offerEventDate'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/Bookings/BookingsRecapTable/BookingsRecapTable.tsx#L81
React Hook useEffect has a missing dependency: 'applyFilters'. Either include it or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/Bookings/PreFilters/PreFilters.tsx#L172
React Hook useCallback has an unnecessary dependency: 'audience'. Either exclude it or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/ImageUploader/components/ButtonImageEdit/ModalImageEdit/ModalImageEdit.tsx#L69
React Hook useEffect has missing dependencies: 'initialImageUrl', 'initialOriginalImageUrl', and 'notification'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/IndividualOffer/StocksThing/StocksThing.tsx#L92
React Hook useEffect has missing dependencies: 'formik', 'offer', and 'useOffererAddressAsDataSourceEnabled'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/IndividualOffer/hooks/useNotifyFormError.ts#L21
React Hook useEffect has missing dependencies: 'errors' and 'notify'. Either include them or remove the dependency array
|
Tests pro / Type check / Quality check / Style quality check:
pro/src/components/IndividualOffer/hooks/useNotifyFormError.ts#L21
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
SonarScanner
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.
|
Test api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:95b8d8010c0532c32b01f51a507e354cd44a7992
|
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:95b8d8010c0532c32b01f51a507e354cd44a7992
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
allure-results-pro-unit
|
1.64 MB |
|
pass-culture~pass-culture-main~T357KO.dockerbuild
|
81.8 KB |
|
pass-culture~pass-culture-main~UOFEC9.dockerbuild
|
157 KB |
|
pcapi-95b8d8010c0532c32b01f51a507e354cd44a7992.tar
|
303 MB |
|
pcapi-tests-95b8d8010c0532c32b01f51a507e354cd44a7992.tar
|
534 MB |
|