Skip to content

Validate that reference exists for atom format

Vasilii Iakliushin requested to merge verify_reference_for_atom_format into master

What does this MR do and why?

Problem

We don't verify if provided ref exists if it has .atom suffix

Solution

Return 404 page when ref is missing.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

  1. Open a similar link: http://127.0.0.1:3000/flightjs/Flight/-/commits/does_not_exist.atom
  2. You should see a 404 page instead of 500 error

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading