Skip to content

Conversation

@br648
Copy link
Contributor

@br648 br648 commented Sep 24, 2025

Checklist

  • Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
  • Any modified or new methods or classes have helpful JavaDoc and code is thoroughly commented
  • The description lists all applicable issues this PR seeks to resolve
  • The description lists any configuration setting(s) that differ from the default settings
  • All tests and CI builds passing

Description

Update to provide additional parameters to the UI via feed summary. This now contains two new parameters:

  1. latestSentToExternalPublisher
  2. publishState (enum)

In order to get Gtfs plus validation into feed version, validation now takes places (via ValidateGtfsPlusFeedJob) in the same places as mobility data validation. This only happens with new feed versions and is not backwards compatiable, therefore gtfs plus validation won't be available for older feed versions.

@br648 br648 assigned binh-dam-ibigroup and unassigned br648 Dec 10, 2025
Copy link
Contributor

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

A few comments for now, but I sense that we will need to compute the publish status in datatools-server rather than the UI.

Copy link
Contributor

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

Nice changes, they work. A few more minor changes, but happy to pass this.

@br648 br648 assigned JymDyerIBI and unassigned br648 Dec 17, 2025
Copy link
Contributor

@JymDyerIBI JymDyerIBI left a comment

Choose a reason for hiding this comment

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

👍 Whew! A lot of stuff, it looks good.

lookup("FeedVersion", "publishedVersionId", "namespace", "publishedFeedVersion"),
unwind("$feedVersions"),
unwind("$publishedFeedVersion", new UnwindOptions().preserveNullAndEmptyArrays(true)),
sort(Sorts.descending("feedVersions.dateCreated")),
Copy link
Contributor

Choose a reason for hiding this comment

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

If you sort descending, it means the last operator below return the attributes for the earliest version instead of the latest, which result in inconsistent state compared to the "MTC publish" button.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@binh-dam-ibigroup binh-dam-ibigroup left a comment

Choose a reason for hiding this comment

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

I found a discrepancy while testing the UI, in some cases the earliest version of a feed is returned instead of the latest.

@binh-dam-ibigroup binh-dam-ibigroup assigned br648 and unassigned JymDyerIBI Jan 6, 2026
@wolli
Copy link

wolli commented Jan 6, 2026

Danke für den Hinweis.
LG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants