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

fix: merge to master #3008

Merged
merged 8 commits into from
Jun 17, 2024
Merged

fix: merge to master #3008

merged 8 commits into from
Jun 17, 2024

Commits on May 31, 2024

  1. fix(translations): sync translations from transifex (dev)

    Automatically merged.
    dhis2-bot authored and jenniferarnesen committed May 31, 2024
    Configuration menu
    Copy the full SHA
    ac3f1c7 View commit details
    Browse the repository at this point in the history
  2. fix(translations): sync translations from transifex (dev)

    Automatically merged.
    dhis2-bot authored and jenniferarnesen committed May 31, 2024
    Configuration menu
    Copy the full SHA
    1c2d1b2 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2024

  1. chore: [DHIS2-17377] enhance CI with conditional e2e tests recording …

    …in Cypress Cloud (#2984)
    
    Implements DHIS2-17377
    
    Conditional Recording Triggers:
    Implemented conditional recording triggers via commit messages
    and GitHub labels to ensure that Cypress tests are only recorded when necessary.
    
    Parallel Execution Strategies: Refined parallel execution strategies to improve efficiency and
    resolve test redundancies in GitHub Actions.
    Debugging Enhancements: Added detailed debugging outputs to help track the dynamic values of
    the test environment variables and ensure correct parameter passing in the workflow.
    
    Manual Grouping of Tests:
    In GitHub Actions, without specified test groups, all tests would run
    in every parallel container, leading to unnecessary repetition. By organizing tests into
    predefined groups, each group runs only once. This prevents redundancy and expedites the testing
    process.
    
    Why Not Rely on Cypress's Automatic Balancing? While Cypress automatically assigns tests to
    machines to balance workload (more on Cypress load balancing), GitHub Actions requires explicit
    distribution of tasks. This manual grouping ensures efficient resource usage and prevents multiple
    executions of the same tests across different runners.
    
    Benefits:
    This approach allows precise control over test distribution, enhancing predictability
    and efficiency. It reduces total execution time and operational costs by ensuring each test is run
    precisely once across the available infrastructure.
    
    This method optimises our use of GitHub Actions, ensuring a faster, cost-effective,
    and efficient testing process.
    
    Update Documentation:
    Updated the documentation to reflect the changes and ensure clarity
    on the new CI/CD processes.
    
    Expected Outcomes:
    Reduced Cypress Cloud Credit Usage: By optimising the conditions under which tests are recorded
    and uploaded to Cypress Cloud, we anticipate a significant reduction in credit usage.
    
    Increased CI Efficiency: With better management of parallel execution and conditional testing, the
    CI process should be more efficient, leading to quicker test cycles.
    
    ---------
    
    Co-authored-by: @dhis2-bot <apps@dhis2.org>
    Co-authored-by: Jen Jones Arnesen <jennifer@dhis2.org>
    3 people authored Jun 4, 2024
    Configuration menu
    Copy the full SHA
    74c9b19 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2024

  1. chore: run release step on tags so it publishes to d2-ci (#2989)

    * chore: run release step on tags so it publishes to d2-ci
    
    * chore: do not run release step on dev branch
    jenniferarnesen authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    d92d48a View commit details
    Browse the repository at this point in the history
  2. fix: fetch visualization always when caching (DHIS2-17509) (#2986)

    A previous fix for an item flashing issue caused the offline cache to
    lack the request for the visualizations.
    The fix looks at the recording state and triggers a fetch that can be
    recorded.
    edoardo authored Jun 6, 2024
    Configuration menu
    Copy the full SHA
    8b3587e View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2024

  1. Configuration menu
    Copy the full SHA
    7d22275 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2024

  1. fix(translations): sync translations from transifex (dev)

    Automatically merged.
    dhis2-bot authored Jun 9, 2024
    Configuration menu
    Copy the full SHA
    7f44585 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Configuration menu
    Copy the full SHA
    018e07b View commit details
    Browse the repository at this point in the history