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

UI is using SimulationDatasetId instead of DatasetId #1121

Closed
Mythicaeda opened this issue Feb 9, 2024 · 1 comment · Fixed by #1122
Closed

UI is using SimulationDatasetId instead of DatasetId #1121

Mythicaeda opened this issue Feb 9, 2024 · 1 comment · Fixed by #1122
Assignees
Labels
bug Something isn't working clipper Requests from the Europa Clipper project clipper-launch

Comments

@Mythicaeda
Copy link
Contributor

Mythicaeda commented Feb 9, 2024

Checked for duplicates

No - I haven't checked

Is this a regression?

Yes - This worked in a previous version

Version

2.1.0

Describe the bug

This bug was likely introduced in #1017, L305 of +page.svelete

Instead of grabbing the actual dataset_id from the simulation dataset, it is treating the simulation_dataset_id as dataset_id. This causes problems when the dataset_id and simulation_dataset_id fall out of sync (for example, via adding external datasets). Once this desync happens, the UI will either fail to get any results for a sim run, or will fetch incorrect results.

Reproduction

  1. Create a plan
  2. Add an external dataset via the API
  3. Simulate the plan

Example video on a localhost venue where the desync was caused by running the external dataset E2E tests in Aerie core:

Screen.Recording.2024-02-08.at.4.38.51.PM.mov

Database entry for this request. Notice how the dataset id does not equal the request's id:
image

Query that the UI made to get the spans. Notice that it used 107, the request id, instead of 133, the dataset id
image

Logs

No response

System Info

MacOs, Firefox

Severity

Major

@Mythicaeda Mythicaeda added the bug Something isn't working label Feb 9, 2024
@Mythicaeda Mythicaeda added this to Aerie Feb 9, 2024
@github-project-automation github-project-automation bot moved this to Todo in Aerie Feb 9, 2024
@Mythicaeda Mythicaeda changed the title UI is using SimulationDatasetId interchangeably with DatasetId UI is using SimulationDatasetId instead of DatasetId Feb 9, 2024
@parkerabercrombie parkerabercrombie added clipper Requests from the Europa Clipper project clipper-launch labels Feb 9, 2024
@parkerabercrombie
Copy link

This is a blocking bug for Clipper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working clipper Requests from the Europa Clipper project clipper-launch
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants