release: v2.1.4 isolated HTTP execute (ADR 0009)
Default execute/sse-live/stream to Supervisor worker pool; MR-01 gold; /_runtime/*; bump CLI/wasm/ext to 2.1.4. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
58e13ee6d3
commit
3cabe53da2
56 files changed
+4957
-304
No files matched your search
@@ -25,19 +25,29 @@ pub fn compile(opts: KnowledgeOptions) -> Result<KnowledgeGraph> {
|
||||
} else {
|
||||
opts.path.clone()
|
||||
};
|
||||
let t0 = std::time::Instant::now();
|
||||
let semantic = crate::sema::compile_project(&crate::sema::CompileOptions {
|
||||
project_root: semantic_root,
|
||||
entry: opts.path.is_file().then(|| opts.path.clone()),
|
||||
lock_mode: crate::sema::LockMode::Off,
|
||||
})?;
|
||||
let sema_ms = t0.elapsed().as_millis();
|
||||
let t1 = std::time::Instant::now();
|
||||
crate::sema::write_semantic_projections(&opts.out_dir, &semantic)?;
|
||||
let sema_write_ms = t1.elapsed().as_millis();
|
||||
let extract_opts = ExtractOptions {
|
||||
path: opts.path.clone(),
|
||||
out_dir: opts.out_dir.clone(),
|
||||
};
|
||||
let t2 = std::time::Instant::now();
|
||||
let graph = extract_graph(&extract_opts)?;
|
||||
let extract_ms = t2.elapsed().as_millis();
|
||||
let t3 = std::time::Instant::now();
|
||||
write_projections(&opts.out_dir, &graph)?;
|
||||
let retrieve_write_ms = t3.elapsed().as_millis();
|
||||
let t4 = std::time::Instant::now();
|
||||
write_publish_manifest(&opts.out_dir, &semantic, &graph)?;
|
||||
let manifest_ms = t4.elapsed().as_millis();
|
||||
eprintln!(
|
||||
"marqdo knowledge: {} module(s), {} symbol(s), {} capability(ies), {} knowledge → {} (semantic graph/; retrieval ekc/)",
|
||||
graph.modules.len(),
|
||||
@@ -46,6 +56,10 @@ pub fn compile(opts: KnowledgeOptions) -> Result<KnowledgeGraph> {
|
||||
graph.knowledge.len(),
|
||||
opts.out_dir.display()
|
||||
);
|
||||
eprintln!(
|
||||
"marqdo knowledge timing_ms: sema={sema_ms} sema_write={sema_write_ms} extract={extract_ms} retrieve_write={retrieve_write_ms} manifest={manifest_ms} total={}",
|
||||
t0.elapsed().as_millis()
|
||||
);
|
||||
Ok(graph)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user