Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(PC-32510) chore(pipeline): slack message only on failure or success #7058

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

NolwenMajorFrances
Copy link
Contributor

Link to JIRA ticket: https://passculture.atlassian.net/browse/PC-XXXXX

Flakiness

If I had to re-run tests in the CI due to flakiness, I add the incident on Notion

Checklist

I have:

  • Made sure my feature is working on web.
  • Made sure my feature is working on mobile (depending on relevance : real or virtual devices)
  • Written unit tests native (and web when implementation is different) for my feature.
  • Added a screenshot for UI tickets or deleted the screenshot section if no UI change
  • If my PR is a bugfix, I add the link of the "résolution de problème sur le bug" on Notion

Screenshots

delete if no UI change

Platform Mockup/Before After
iOS
Android
Phone - Chrome
Desktop - Chrome

@NolwenMajorFrances NolwenMajorFrances changed the title Pc 32510 (PC-32510) chore(pipeline): wip fix Oct 18, 2024
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça me va si ça fonctionne comme on s'y attend

les questions, c'est pour si tu as envie de creuser plus loin

@@ -129,13 +129,13 @@ jobs:
"attachments": [
{
"mrkdwn_in": ["text"],
"color": "${{ fromJSON('["#A30002","#36a64f"]')[steps.sentry_and_deploy.outputs.status == 'success'] }}",
"color": "${{ fromJSON('["#36a64f", "#A30002"]')[needs.sentry_and_deploy.result == 'failure'] }}",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je ne savais pas qu'on avait accès à cette info dans needs

est-ce tu sais pourquoi steps semblait fonctionner la semaine dernière ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aucune idée, j'ai juste suivi les préconisations de Matthias !

Copy link
Contributor Author

@NolwenMajorFrances NolwenMajorFrances Oct 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

réponse de Matthias pour dans quelques mois quand on se posera la question de ces modifications :
pourquoi on peut utiliser needs et pas steps ?
"parce qu'on est pas dans le meme job
la on a deux runners distincts qui ont une relation de co dépendance (le needs))
et c'est grace à cette relation qu'on peut appeler le result du premier job
si on était dans le meme job on aurait pu appeler le result de la step voulu (en lui donnant un petit nom), de mémoire cest ce qui est fait pour le workflow de test "

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je suis code cité, j'aime ça

Copy link

github-actions bot commented Oct 21, 2024

Performance Comparison Report

Significant Changes To Render Duration

There are no entries

Meaningless Changes To Render Duration

Show entries
Name Render Duration Render Count
Performance test for EndedBookings page 29.9 ms → 30.4 ms (+0.5 ms, +1.7%) 6 → 6
Performance test for Venue page 2.2 ms → 2.4 ms (+0.2 ms, +9.1%) 2 → 2
Performance test for Profile page 6.6 ms → 6.5 ms (-0.1 ms, -1.5%) 5 → 5
Performance test for Offer page 70.9 ms → 70.4 ms (-0.5 ms, -0.7%) 2 → 2
Search Landing Page - Performance test for Search Landing page 14.9 ms → 14.3 ms (-0.6 ms, -4.0%) 5 → 5
Search Results - Performance test for Search Results page 14.2 ms → 13.4 ms (-0.8 ms, -5.6%) 5 → 5
Performance test for Bookings page 96.2 ms → 94.5 ms (-1.7 ms, -1.8%) 11 → 11
Performance test for Favorites page 64.9 ms → 62.7 ms (-2.2 ms, -3.4%) 6 → 6
Show details
Name Render Duration Render Count
Performance test for EndedBookings page Baseline
Mean: 29.9 ms
Stdev: 1.2 ms (4.0%)
Runs: 32 31 31 30 30 30 29 29 29 28

Current
Mean: 30.4 ms
Stdev: 1.3 ms (4.4%)
Runs: 32 32 32 31 31 30 29 29 29 29
Baseline
Mean: 6
Stdev: 0 (0.0%)
Runs: 6 6 6 6 6 6 6 6 6 6

Current
Mean: 6
Stdev: 0 (0.0%)
Runs: 6 6 6 6 6 6 6 6 6 6
Performance test for Venue page Baseline
Mean: 2.2 ms
Stdev: 0.6 ms (28.7%)
Runs: 3 3 3 2 2 2 2 2 2 1

Current
Mean: 2.4 ms
Stdev: 0.5 ms (21.5%)
Runs: 3 3 3 3 2 2 2 2 2 2
Baseline
Mean: 2
Stdev: 0 (0.0%)
Runs: 2 2 2 2 2 2 2 2 2 2

Current
Mean: 2
Stdev: 0 (0.0%)
Runs: 2 2 2 2 2 2 2 2 2 2
Performance test for Profile page Baseline
Mean: 6.6 ms
Stdev: 1.5 ms (22.8%)
Runs: 9 8 8 7 7 6 6 6 5 4

Current
Mean: 6.5 ms
Stdev: 1.0 ms (15.0%)
Runs: 8 8 7 7 6 6 6 6 6 5
Baseline
Mean: 5
Stdev: 0 (0.0%)
Runs: 5 5 5 5 5 5 5 5 5 5

Current
Mean: 5
Stdev: 0 (0.0%)
Runs: 5 5 5 5 5 5 5 5 5 5
Performance test for Offer page Baseline
Mean: 70.9 ms
Stdev: 4.0 ms (5.6%)
Runs: 77 74 74 73 72 71 70 67 67 64

Current
Mean: 70.4 ms
Stdev: 2.4 ms (3.4%)
Runs: 74 72 72 71 71 71 71 69 67 66
Baseline
Mean: 2
Stdev: 0 (0.0%)
Runs: 2 2 2 2 2 2 2 2 2 2

Current
Mean: 2
Stdev: 0 (0.0%)
Runs: 2 2 2 2 2 2 2 2 2 2
Search Landing Page - Performance test for Search Landing page Baseline
Mean: 14.9 ms
Stdev: 3.1 ms (20.6%)
Runs: 21 20 15 14 14 14 13 13 13 12

Current
Mean: 14.3 ms
Stdev: 1.1 ms (7.4%)
Runs: 16 15 15 15 15 14 14 13 13 13
Baseline
Mean: 5
Stdev: 0 (0.0%)
Runs: 5 5 5 5 5 5 5 5 5 5

Current
Mean: 5
Stdev: 0 (0.0%)
Runs: 5 5 5 5 5 5 5 5 5 5
Search Results - Performance test for Search Results page Baseline
Mean: 14.2 ms
Stdev: 1.4 ms (9.8%)
Runs: 16 15 15 15 15 14 14 14 13 11

Current
Mean: 13.4 ms
Stdev: 1.1 ms (8.0%)
Runs: 15 15 14 14 13 13 13 13 12 12
Baseline
Mean: 5
Stdev: 0 (0.0%)
Runs: 5 5 5 5 5 5 5 5 5 5

Current
Mean: 5
Stdev: 0 (0.0%)
Runs: 5 5 5 5 5 5 5 5 5 5
Performance test for Bookings page Baseline
Mean: 96.2 ms
Stdev: 3.4 ms (3.6%)
Runs: 102 99 98 98 96 96 96 95 92 90

Current
Mean: 94.5 ms
Stdev: 4.9 ms (5.2%)
Runs: 103 99 98 96 95 94 94 90 90 86
Baseline
Mean: 11
Stdev: 0 (0.0%)
Runs: 11 11 11 11 11 11 11 11 11 11

Current
Mean: 11
Stdev: 0 (0.0%)
Runs: 11 11 11 11 11 11 11 11 11 11
Performance test for Favorites page Baseline
Mean: 64.9 ms
Stdev: 3.2 ms (5.0%)
Runs: 70 69 67 66 65 64 64 63 61 60

Current
Mean: 62.7 ms
Stdev: 2.5 ms (3.9%)
Runs: 68 64 64 63 63 63 61 61 61 59
Baseline
Mean: 6
Stdev: 0 (0.0%)
Runs: 6 6 6 6 6 6 6 6 6 6

Current
Mean: 6
Stdev: 0 (0.0%)
Runs: 6 6 6 6 6 6 6 6 6 6

Changes To Render Count

There are no entries

Added Scenarios

There are no entries

Removed Scenarios

There are no entries

Generated by 🚫 dangerJS against e181975

Copy link

sonarcloud bot commented Oct 21, 2024

@NolwenMajorFrances NolwenMajorFrances changed the title (PC-32510) chore(pipeline): wip fix (PC-32510) chore(pipeline): slack message only on failure or success Oct 21, 2024
Copy link

sonarcloud bot commented Oct 21, 2024

@NolwenMajorFrances NolwenMajorFrances merged commit 701872a into master Oct 21, 2024
52 checks passed
@NolwenMajorFrances NolwenMajorFrances deleted the PC-32510 branch October 21, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants