              :com.wsscode.pathom.parser/provides       #{:a}
              :com.wsscode.pathom.parser/response-value {}
              :com.wsscode.pathom.trace/event           :com.wsscode.pathom.parser/process-pending}
-            {:com.wsscode.pathom.core/path   []
-             :com.wsscode.pathom.trace/event :com.wsscode.pathom.parser/process-key
-             :key                            :a}
-            {:com.wsscode.pathom.core/path   []
-             :com.wsscode.pathom.trace/event :com.wsscode.pathom.parser/call-read
-             :key                            :a}
+            {:com.wsscode.pathom.core/path        []
+             :com.wsscode.pathom.parser/loop-keys [:a]
+             :com.wsscode.pathom.trace/event      :com.wsscode.pathom.parser/reset-loop}
+            {:com.wsscode.pathom.core/path   []
+             :com.wsscode.pathom.trace/event :com.wsscode.pathom.parser/process-key
+             :key                            :a}
+            {:com.wsscode.pathom.core/path       []
+             :com.wsscode.pathom.trace/direction :com.wsscode.pathom.trace/enter
+             :com.wsscode.pathom.trace/event     :com.wsscode.pathom.parser/call-read
+             :key                                :a}
+            {:com.wsscode.pathom.core/path       []
+             :com.wsscode.pathom.trace/direction :com.wsscode.pathom.trace/leave
+             :com.wsscode.pathom.trace/event     :com.wsscode.pathom.parser/call-read
+             :key                                :a}
             {:com.wsscode.pathom.core/path       []
              :com.wsscode.pathom.parser/provides #{:a}
              :com.wsscode.pathom.trace/event     :com.wsscode.pathom.parser/provided-return}

                  [:b :c]))
           {:b 2 :c 12}))
    (is (= (comparable-trace-in-any-order @trace)
           '{{:com.wsscode.pathom.core/path             [:c]
              :com.wsscode.pathom.parser/merge-result?  false
              :com.wsscode.pathom.parser/provides       #{:b}
              :com.wsscode.pathom.parser/response-value nil
              :com.wsscode.pathom.trace/event           :com.wsscode.pathom.parser/process-pending} 1
             {:com.wsscode.pathom.core/path       [:c]
              :com.wsscode.pathom.trace/direction :com.wsscode.pathom.trace/enter
              :com.wsscode.pathom.trace/event     :com.wsscode.pathom.parser/parse-loop}            1
             {:com.wsscode.pathom.core/path       [:c]
              :com.wsscode.pathom.trace/direction :com.wsscode.pathom.trace/leave
              :com.wsscode.pathom.trace/event     :com.wsscode.pathom.parser/parse-loop}            1
             {:com.wsscode.pathom.core/path   [:c]
              :com.wsscode.pathom.trace/event :com.wsscode.pathom.parser/call-read
              :key                            :b}                                                   1
             {:com.wsscode.pathom.core/path   [:c]
              :com.wsscode.pathom.trace/event :com.wsscode.pathom.parser/external-wait-key
              :key                            :b}                                                   1

             :com.wsscode.pathom.parser/provides       #{:a}
             :com.wsscode.pathom.parser/response-value {}
             :com.wsscode.pathom.trace/event           :com.wsscode.pathom.parser/process-pending}
            {:com.wsscode.pathom.core/path        []
             :com.wsscode.pathom.parser/loop-keys [:a]
             :com.wsscode.pathom.trace/event      :com.wsscode.pathom.parser/reset-loop}
            {:com.wsscode.pathom.core/path   []
             :com.wsscode.pathom.trace/event :com.wsscode.pathom.parser/process-key
             :key                            :a}
            {:com.wsscode.pathom.core/path       []
             :com.wsscode.pathom.trace/direction :com.wsscode.pathom.trace/enter
             :com.wsscode.pathom.trace/event     :com.wsscode.pathom.parser/call-read
             :key                                :a}
            {:com.wsscode.pathom.core/path       []
             :com.wsscode.pathom.trace/direction :com.wsscode.pathom.trace/leave
             :com.wsscode.pathom.trace/event     :com.wsscode.pathom.parser/call-read
             :key                                :a}
            {:com.wsscode.pathom.core/path       []
             :com.wsscode.pathom.parser/provides #{:a}
             :com.wsscode.pathom.trace/event     :com.wsscode.pathom.parser/provided-return}
