Skip to content

mt-check-data-outdated.yml > takes too long #627

Closed

Description

@mmathieum

shared-overwrite/.github/workflows/mt-check-data-outdated.yml

we need to read the times from app-android/res-*/values*_gtfs_rts_values_gen.xml files directly instead of having to use ./.github/actions/setup and then agency-parser/check_data_outdated.sh which represents 90% of the workflow run duration.

Also would try to use Github Linux runners built in tools (grep, sed...) instead of having to install "libxml2-utils" package to use "xmllint".
Like we were doing here:

grep -E "<integer name=\"[^\"]*_gtfs_rts_last_departure_in_sec\">[0-9]+</integer>" "$FILE" 2>/dev/null | sed 's/[^[:digit:]]*\([[:digit:]]\+\).*/\1/' || echo "";

Let's make this workflow as fast as possible since it's meant to run (almost) daily.

For example: actions/checkout should only load the minimum amount of data.

Activity

  1. added theissue type on Mar 25, 2026
  2. added
    github_actions
    P3
    on Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

P3enhancementgithub_actions

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions