               (assoc system key
                      (-> (get-component system key)
                          (assoc-dependencies system)
-                         (try-action system f args))))
+                         (try-action system key f args))))
             system
             (sort (dep/topo-comparator graph) component-keys))))
 


(defn- get-component [system key]
  (or (get system key)
      (throw (ex-info "Missing component from system"
                      {:reason ::missing-component
                       :component-key key
                       :system system}))))

              (assoc system key
                     (-> (get-component system key)
                         (assoc-dependencies system)
                         (try-action system key f args))))
            system
            (reverse (sort (dep/topo-comparator graph) component-keys)))))

