Rename execute_via_quire_ci to execute
The quire-ci detail belongs in the implementation, not the method name.
change
commit b291a334551745451e1a788abb5771c90128b93a
author Claude <noreply@anthropic.com>
date
parent 38409e7a
diff --git a/quire-server/src/bin/quire/commands/ci.rs b/quire-server/src/bin/quire/commands/ci.rs
index 746f0cf..93947a1 100644
--- a/quire-server/src/bin/quire/commands/ci.rs
+++ b/quire-server/src/bin/quire/commands/ci.rs
@@ -38,7 +38,7 @@ pub async fn validate(maybe_sha: Option<&str>) -> Result<()> {
 ///
 /// Loads the pipeline at the resolved commit (working-copy `@` by
 /// default), creates a transient Run rooted at a tempdir, dispatches
-/// to `quire-ci` via `execute_via_quire_ci`, and prints the combined
+/// to `quire-ci` via `execute`, and prints the combined
 /// log to stdout. The tempdir is removed when the command exits.
 pub async fn run(quire: &Quire, maybe_sha: Option<&str>) -> Result<()> {
     let repo_path = discover_repo()?;
@@ -86,7 +86,7 @@ pub async fn run(quire: &Quire, maybe_sha: Option<&str>) -> Result<()> {
     let workspace = tmp.path().join("workspace");
     quire::ci::materialize_workspace(&repo_path.join(".git"), &commit.sha, &workspace)
         .into_diagnostic()?;
-    let exec_result = run.execute_via_quire_ci(
+    let exec_result = run.execute(
         &repo_path.join(".git"),
         &workspace,
         &meta,
diff --git a/quire-server/src/ci/mod.rs b/quire-server/src/ci/mod.rs
index da06644..f6a9308 100644
--- a/quire-server/src/ci/mod.rs
+++ b/quire-server/src/ci/mod.rs
@@ -55,7 +55,7 @@ impl Ci {
     /// pipeline.
     ///
     /// Pure compilation and structural validation. Secrets are not needed
-    /// here — they are passed to `run.execute_via_quire_ci` since they only matter
+    /// here — they are passed to `run.execute` since they only matter
     /// when the run-fns actually fire.
     ///
     /// Returns `Ok(None)` if the repo has no ci.fnl at that commit.
@@ -262,7 +262,7 @@ fn run_ref_inner(
         Executor::Process => {
             // Compilation happens inside quire-ci so a malformed ci.fnl is
             // reported once, with the worker's trace context.
-            run.execute_via_quire_ci(
+            run.execute(
                 &ctx.repo.path(),
                 &workspace,
                 &meta,
diff --git a/quire-server/src/ci/run.rs b/quire-server/src/ci/run.rs
index 400a7a6..95ad81a 100644
--- a/quire-server/src/ci/run.rs
+++ b/quire-server/src/ci/run.rs
@@ -41,7 +41,7 @@ pub enum TransportMode {
 
 /// Runtime transport for a single CI run. Built once per run from
 /// the config-shape [`TransportMode`] + the server's listen port,
-/// then passed to `Runs::create` and `Run::execute_via_quire_ci`.
+/// then passed to `Runs::create` and `Run::execute`.
 /// Both variants carry an [`ApiSession`] so quire-ci always receives
 /// session info. Use `None` for local runs where no server is involved.
 #[derive(Clone, Debug)]
@@ -324,7 +324,7 @@ impl Run {
     /// Run finishes `Complete` on exit 0, `Failed` otherwise. The DB
     /// rows are written even on failure so the web UI can render
     /// partial progress.
-    pub fn execute_via_quire_ci(
+    pub fn execute(
         mut self,
         git_dir: &Path,
         workspace: &Path,