Skip to content

(BSR)[PRO] fix: avoid intempestive re-renders on indiv. & template of… #14312

(BSR)[PRO] fix: avoid intempestive re-renders on indiv. & template of…

(BSR)[PRO] fix: avoid intempestive re-renders on indiv. & template of… #14312

Triggered via push February 10, 2025 11:14
Status Success
Total duration 14m 36s
Artifacts 7
pcapi init job
41s
pcapi init job
Check changes in folders
32s
Check changes in folders
Update Jira issue  /  issue-number
37s
Update Jira issue / issue-number
Pro Units Tests  /  Code/Type/Style Quality check
4m 32s
Pro Units Tests / Code/Type/Style Quality check
[pcapi] build docker image.  /  Build Docker image
[pcapi] build docker image. / Build Docker image
[pcapi-tests] build docker image.  /  Build Docker image
[pcapi-tests] build docker image. / Build Docker image
Matrix: Pro Units Tests / Pro Unit tests
[pcapi-console] build docker image.  /  Build Docker image
3m 48s
[pcapi-console] build docker image. / Build Docker image
Deploy Storybook  /  Build and deploy Storybook
1m 30s
Deploy Storybook / Build and deploy Storybook
Tests API documentation  /  Check API documentation can be built
Tests API documentation / Check API documentation can be built
Deploy maintenance site  /  Deploy maintenance site to bucket
Deploy maintenance site / Deploy maintenance site to bucket
Ping data team on slack  /  Send slack notification
Ping data team on slack / Send slack notification
Update Jira issue  /  update-jira-issues
0s
Update Jira issue / update-jira-issues
Reset cache on master on dependency update  /  Update API Client template
Reset cache on master on dependency update / Update API Client template
Tests pro E2E  /  E2E tests and notifications
13m 33s
Tests pro E2E / E2E tests and notifications
Matrix: Test api / Pytest
Waiting for pending jobs
Test api  /  Pylint
Test api / Pylint
Test api  /  Quality checks
Test api / Quality checks
Test api  /  Test database schema
Test api / Test database schema
Pro Units Tests  /  merge-allure-reports
36s
Pro Units Tests / merge-allure-reports
Pro Units Tests  /  merge-reports
3m 54s
Pro Units Tests / merge-reports
Push pcapi-console docker image to registry  /  Push Docker image
Push pcapi-console docker image to registry / Push Docker image
Push pcapi docker image to registry  /  Push Docker image
Push pcapi docker image to registry / Push Docker image
Deploy to ops  /  Deploy api
0s
Deploy to ops / Deploy api
Deploy to ops  /  ...  /  check-image-resizing-deployed-version
Deploy to ops / Deploy image-resizing EHP / check-image-resizing-deployed-version
Deploy to ops  /  ...  /  check-image-resizing-deployed-version
Deploy to ops / Deploy image-resizing production / check-image-resizing-deployed-version
Deploy to testing  /  Deploy api
0s
Deploy to testing / Deploy api
Deploy to testing  /  ...  /  check-image-resizing-deployed-version
2s
Deploy to testing / Deploy image-resizing EHP / check-image-resizing-deployed-version
Deploy to testing  /  ...  /  check-image-resizing-deployed-version
Deploy to testing / Deploy image-resizing production / check-image-resizing-deployed-version
Deploy to ops  /  Deploy api doc on firebase
0s
Deploy to ops / Deploy api doc on firebase
Deploy to ops  /  apply Algolia settings
0s
Deploy to ops / apply Algolia settings
Deploy to ops  /  ...  /  deploy_on_firebase
Deploy to ops / Deploy pro / deploy_on_firebase
Deploy to ops  /  ...  /  deploy_on_firebase
Deploy to ops / Deploy pro on testing live channel / deploy_on_firebase
Deploy to ops  /  ...  /  Check folder changes
Deploy to ops / Deploy image-resizing EHP / Check if folder changed / Check folder changes
Deploy to ops  /  ...  /  Check folder changes
Deploy to ops / Deploy image-resizing production / Check if folder changed / Check folder changes
Deploy to testing  /  Deploy api doc on firebase
0s
Deploy to testing / Deploy api doc on firebase
Deploy to testing  /  ...  /  deploy_on_firebase
1m 32s
Deploy to testing / Deploy pro on testing live channel / deploy_on_firebase
Deploy to testing  /  apply Algolia settings
0s
Deploy to testing / apply Algolia settings
Deploy to testing  /  ...  /  deploy_on_firebase
Deploy to testing / Deploy pro / deploy_on_firebase
Deploy to testing  /  ...  /  Check folder changes
35s
Deploy to testing / Deploy image-resizing EHP / Check if folder changed / Check folder changes
Deploy to testing  /  ...  /  Check folder changes
Deploy to testing / Deploy image-resizing production / Check if folder changed / Check folder changes
Deploy to ops  /  ...  /  Deploy image resizing
Deploy to ops / Deploy image-resizing EHP / Deploy image resizing
Deploy to ops  /  ...  /  Deploy image resizing
Deploy to ops / Deploy image-resizing production / Deploy image resizing
Deploy to testing  /  ...  /  Deploy image resizing
0s
Deploy to testing / Deploy image-resizing EHP / Deploy image resizing
Deploy to testing  /  ...  /  Deploy image resizing
Deploy to testing / Deploy image-resizing production / Deploy image resizing
Slack notification
0s
Slack notification
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 1 notice
Pro Units Tests / Code/Type/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
Pro Units Tests / Code/Type/Style Quality check: pro/src/commons/hooks/useRedirectLoggedUser.ts#L50
React Hook useEffect has missing dependencies: 'dispatch', 'navigate', and 'redirectToUrl'. Either include them or remove the dependency array
Pro Units Tests / Code/Type/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
Pro Units Tests / Code/Type/Style Quality check: pro/src/components/Bookings/Bookings.tsx#L203
React Hook useEffect has missing dependencies: 'initialAppliedFilters.bookingBeginningDate', 'initialAppliedFilters.bookingEndingDate', 'initialAppliedFilters.bookingStatusFilter', and 'initialAppliedFilters.offerEventDate'. Either include them or remove the dependency array
Pro Units Tests / Code/Type/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
Pro Units Tests / Code/Type/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
Pro Units Tests / Code/Type/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
Pro Units Tests / Code/Type/Style Quality check: pro/src/components/IndividualOffer/StocksThing/StocksThing.tsx#L93
React Hook useEffect has missing dependencies: 'formik', 'offer', and 'useOffererAddressAsDataSourceEnabled'. Either include them or remove the dependency array
Pro Units Tests / Code/Type/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
Pro Units Tests / Code/Type/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
Pro Units Tests / merge-allure-reports
No files were found with the provided path: allure-report/index.html. No artifacts will be uploaded.
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:latest

Artifacts

Produced during runtime
Name Size Digest
allure-results-pro-unit Expired
1.79 MB
sha256:282da20083d37137ebc686b4c7c7575da1ee51e70ff68b144764e457c9946cec
allure-results-pro-unit-1 Expired
836 KB
sha256:b9226ce7cc9d8970c1c9c014fc231740f0ed145ec703773bba34bc4cf4f7efb6
allure-results-pro-unit-2 Expired
857 KB
sha256:2726972f69f27c2abcb764a5890b51bc05689ae63f8dbf041274a55fadea9760
blob-report-1 Expired
766 KB
sha256:2c5b9612749e0ffad417aa6905ee3f3c5126af6b4c84716f0dd97ed207f64369
blob-report-2 Expired
762 KB
sha256:e6893c868494c887c08526994eb60982681cce842848da59280b2dd21a78750c
pass-culture~pass-culture-main~QIQFGR.dockerbuild Expired
92.4 KB
sha256:1f5c351052acce0810fdf7aad3a70a6d209bcce5ebaf7cc03f3d693c25f5dc8e
pcapi-console-d36aa0d963baee65dbf7699b0b1138b27b3b7875.tar Expired
488 MB
sha256:3c54004898c03454502b13ed9c3f20236e2a0c505ab6b04f6ddb96201e3f4bb6