warpdotdev/warp · error · anyhow::Error
This feature is not enabled
Error message
This feature is not enabled
What it means
Error "This feature is not enabled" thrown in warpdotdev/warp.
Source
Thrown at app/src/ai/agent_sdk/harness_support.rs:29
ReportArtifactCommand, ReportExternalReferenceArgs, ReportShutdownArgs, TaskStatus,
};
use warp_core::features::FeatureFlag;
use warpui::platform::TerminationMode;
use warpui::{AppContext, ModelHandle, SingletonEntity};
use super::common::set_ambient_task_context_from_run_id;
use crate::ai::ambient_agents::AmbientAgentTaskId;
use crate::ai::artifacts::Artifact;
use crate::server::server_api::ServerApiProvider;
/// Run harness-support commands.
pub fn run(
ctx: &mut AppContext,
global_options: GlobalOptions,
args: HarnessSupportArgs,
) -> Result<()> {
if !FeatureFlag::AgentHarness.is_enabled() {
return Err(anyhow::anyhow!("This feature is not enabled"));
}
// Store the run ID so that it's included on all server requests, along with a workload token.
let task_id = set_ambient_task_context_from_run_id(ctx, &args.run_id)?;
let runner = ctx.add_singleton_model(|_| HarnessSupportRunner);
match args.command {
HarnessSupportCommand::Ping => ping(ctx, runner, task_id, global_options.output_format),
HarnessSupportCommand::ReportArtifact(report_args) => {
report_artifact(ctx, runner, report_args, global_options.output_format)
}
HarnessSupportCommand::ReportExternalReference(args) => {
report_external_reference(ctx, runner, args, global_options.output_format)
}
HarnessSupportCommand::NotifyUser(notify_args) => {
notify_user(ctx, runner, notify_args, global_options.output_format)
}
HarnessSupportCommand::FinishTask(finish_args) => {View on GitHub (pinned to e72fd7aacb)
When it happens
Trigger: Thrown at app/src/ai/agent_sdk/harness_support.rs:29 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of warpdotdev/warp@e72fd7aacb (2026-08-16).
Data as JSON: /api/errors/d40311ae40a500ca.
Report an issue: GitHub.