This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Propose new functionalities for Decidim software

#DecidimRoadmap Designing Decidim together

Phase 1 of 1
Open 2019-01-01 - 2030-12-31
Process phases Submit a proposal
  • The process
  • Debates
  • Propose new features
  • News
chevron-left Back to list

Configure performance monitoring metrics at CI

Avatar: InnovacióDemocràtica InnovacióDemocràtica verified-badge
16/09/2021 11:34  
Accepted / In progress

Ref. PWA01

NOTE: this feature is from a big development. See PWA discussion at GitHub.

Is your feature request related to a problem? Please describe.

By making changes in performance with servers or local machines we’re at risk that things change in the future and that we can’t know for sure when/what/why have changed.

Describe the solution you’d like

To have performance tests, and to control the environment where these tests are executed so it’s always the same (the CI).

For PWA, Lighthouse is the de-facto official tool to check most of the metrics. There are some GH Actions that already do these checks, although if we have other options we’re open to change this for a better solution, for instance, something integrated with RSpec.

https://github.com/marketplace/actions/lighthouse-ci-action
https://github.com/marketplace/actions/lighthouse-check

Additional context

As mentioned in the EPIC:


Lighthouse relevant section


Lighthouse relevant section

As some of these changes could be particular for a given provider (ie it’s not the same Heroku/AWS/OVH/Digital Ocean), at the beginning of these developments there should be done Performance and reproducible testing, and it should also be on someway integrated on the Continuous Integration platform being used at the moment of development so we have a comparison point (an initial picture) and also detect regressions. For instance: https://github.com/marketplace/actions/lighthouse-check

Does this issue could impact on users private data?
No, it’s about performance.

Acceptance criteria

  • Given that I’m a Decidim developer
    When I go to the GitHub Actions tab in GH,
    Then I have Lighthouse Workflow sections
    And
    I have the history of this data (at least 90 days).
  • Regarding the data I have access to in this Workflow, I can see …
  • … First Contentful Paint of the homepage
  • … First Contentful Paint of a participatory process
  • … First Contentful Paint of a proposal
  • … First Contentful Paint of a meeting
  • … Speed Index of the homepage
  • … Speed Index of a participatory process
  • … Speed Index of a proposal
  • … Speed Index of a meeting
  • … Time to Interactive of the homepage
  • … Time to Interactive of a participatory process
  • … Time to Interactive of a proposal
  • … Time to Interactive of a meeting
  • … Largest Contentful Paint of the homepage
  • … Largest Contentful Paint of a participatory process
  • … Largest Contentful Paint of a proposal
  • … Largest Contentful Paint of a meeting


This proposal has been accepted and is under development

Endorsements count0
Configure performance monitoring metrics at CI Comments 0

Reference: MDC-PROP-2021-08-16678
Version number 2 (of 2) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: 84a9a81706a6cadeaeb6a43650851be4a0df81d5e9d0f722fda009194dbcba1b

Source: {"body":{"en":"<p>Ref. PWA01</p><p>NOTE: this feature is from a big development. See <a href=\"https://github.com/decidim/decidim/discussions/8334\" target=\"_blank\">PWA discussion at GitHub</a>.</p><p><strong>Is your feature request related to a problem? Please describe.</strong></p><p>By making changes in performance with servers or local machines we’re at risk that things change in the future and that we can’t know for sure when/what/why have changed.</p><p><strong>Describe the solution you’d like</strong></p><p>To have performance tests, and to control the environment where these tests are executed so it’s always the same (the CI).</p><p>For PWA, Lighthouse is the de-facto official tool to check most of the metrics. There are some GH Actions that already do these checks, although if we have other options we’re open to change this for a better solution, for instance, something integrated with RSpec.</p><p><a href=\"https://github.com/marketplace/actions/lighthouse-ci-action\" target=\"_blank\">https://github.com/marketplace/actions/lighthouse-ci-action</a><strong><br></strong><a href=\"https://github.com/marketplace/actions/lighthouse-check\" target=\"_blank\">https://github.com/marketplace/actions/lighthouse-check</a></p><p><strong>Additional context</strong></p><p>As mentioned in the EPIC:</p><p><strong><img src=\"https://i.imgur.com/c1EHGLN.png\"><br></strong> <em>Lighthouse relevant section</em></p><p><strong><img src=\"https://i.imgur.com/qegt9xM.png\"><br></strong> <em>Lighthouse relevant section</em></p><p>As some of these changes could be particular for a given provider (ie it’s not the same Heroku/AWS/OVH/Digital Ocean), at the beginning of these developments there should be done Performance and reproducible testing, and it should also be on someway integrated on the Continuous Integration platform being used at the moment of development so we have a comparison point (an initial picture) and also detect regressions. For instance: <a href=\"https://github.com/marketplace/actions/lighthouse-check\" target=\"_blank\">https://github.com/marketplace/actions/lighthouse-check</a></p><p><strong>Does this issue could impact on users private data?<br></strong> No, it’s about performance.</p><p><strong>Acceptance criteria</strong></p><ul><li>Given that I’m a Decidim developer<strong><br></strong> When I go to the GitHub Actions tab in GH,<strong><br></strong> Then I have Lighthouse Workflow sections<strong><br></strong> And<strong><br></strong> I have the history of this data (at least 90 days).</li><li>Regarding the data I have access to in this Workflow, I can see …</li><li>… First Contentful Paint of the homepage</li><li>… First Contentful Paint of a participatory process</li><li>… First Contentful Paint of a proposal</li><li>… First Contentful Paint of a meeting</li><li>… Speed Index of the homepage</li><li>… Speed Index of a participatory process</li><li>… Speed Index of a proposal</li><li>… Speed Index of a meeting</li><li>… Time to Interactive of the homepage</li><li>… Time to Interactive of a participatory process</li><li>… Time to Interactive of a proposal</li><li>… Time to Interactive of a meeting</li><li>… Largest Contentful Paint of the homepage</li><li>… Largest Contentful Paint of a participatory process</li><li>… Largest Contentful Paint of a proposal</li><li>… Largest Contentful Paint of a meeting</li></ul><p><br></p>"},"title":{"en":"Configure performance monitoring metrics at CI"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16678/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/16678/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

0 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim
Or

Sign up

Forgot your password?