mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
ListJobRuns and ListSessions ordered runs and sessions by their creation millisecond, breaking a tie by the random id, so of two started within the same millisecond the newer could list second. Each stored run and session now keeps a creation sequence, the microseconds of its creation or one past the latest its service gave, which the listing breaks a tie by. One stored before keeps 0, and its id orders it, as before. A nextToken given before, whose cursor holds no sequence, is refused with "Invalid nextToken." rather than resuming at the wrong place. A StartJobRun or StartSession retry was compared with the original as raw request JSON, so one that left out a member the first gave at its default, or empty, was refused with ConflictException. The two are now compared as the run or session each would start holds them, built by the same code that starts one: a run's execution timeout left out or 720, a session's idle timeout left out or 60, tags left out or empty, and a session's configurationOverrides without a runtimeConfiguration count as the same. Anything the run would hold otherwise still conflicts, a mode given where the original left it out, a tag with an empty value or another name among them. Classic EMR sessions compare their retries as held since #8699.