You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: publish Gliders annual plot selection areas - #104
The PR adds an optional plot_pixel_rects list to each published Gliders year-map deployment. The parser fills it from the later mission rectangles on the time plots, and the publish validator and fixtures are updated to match. The change is mostly consistent. I found one low-severity gap, and none of the changed code touches the Java API.
A later area for a known mission is added to plot_pixel_rects without checking that its path equals the deployment's url.
Notes on finding 1
valid_mission_path accepts two folder forms for _nrt missions: <name>_4d and <name minus _nrt>_4d_nrt. A later area whose href points at the other valid form is still appended, because only rect is compared. The earlier code ignored later areas completely, so this is a new way for a mismatched link to reach the output. The fix is a one-line condition:
elif path == deployment["url"] and rect != deployment["pixel_rect"] and ...
Later areas with a different path would then be skipped, and could log a warning.
Tests
The parser, validator and reference JSON are well covered. The new tests include invalid plot coordinates and links, and invalid plot_pixel_rects shapes. The reference JSON test now runs the migration from baselines both with and without image_url. A test for a later area that has a different valid URL is missing. Only the invalid-coordinates and wrong-mission-link cases are covered.
Advisory AI review; it does not replace human review or block merging. Commit 29033a4 · kiro · 0.29 credits · run.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.