-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathartifacts.rs
More file actions
51 lines (49 loc) · 2.81 KB
/
Copy pathartifacts.rs
File metadata and controls
51 lines (49 loc) · 2.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//! Convenience re-exports for the artifact APIs that callers reach for most.
//!
//! This is a shortcut, not a boundary. The implementation modules
//! (`artifact_manifest`, `artifact_links`, `artifact_postprocess`, ...) stay
//! public, and importing from them directly is equally supported — roughly half
//! of the current call sites already do. Only symbols with a real consumer
//! through this path are re-exported here, so the list stays honest instead of
//! mirroring every artifact type in core.
pub use super::artifact_dom_boxes::{
capture as capture_dom_boxes, DomBoxCaptureSpec, DomBoxReport,
};
pub use super::artifact_links::{
cached_validated_viewer_links, public_artifact_path_url, public_artifact_url,
public_artifact_url_is_reachable_or_legacy, PUBLIC_ARTIFACT_BASE_URL_ENV,
};
pub use super::artifact_manifest::{
ArtifactManifest, ARTIFACT_MANIFEST_SCHEMA, RUNTIME_AGENT_ARTIFACT_PATHS_SCHEMA,
RUNTIME_AGENT_FINAL_OUTPUT_ARTIFACT_PATH, RUNTIME_AGENT_PATCH_DIFF_ARTIFACT_FILE,
RUNTIME_AGENT_PATCH_PATCH_ARTIFACT_FILE, RUNTIME_AGENT_RESULT_ARTIFACT_FILE,
RUNTIME_AGENT_TRANSCRIPT_ARTIFACT_FILE, RUNTIME_AGENT_TRANSCRIPT_ARTIFACT_PATH,
RUN_ARTIFACT_EVENTS_FILE, RUN_ARTIFACT_FANOUT_RUN_FILE, RUN_ARTIFACT_LOOP_POLICY_FILE,
RUN_ARTIFACT_LOOP_RESULT_FILE, RUN_ARTIFACT_OUTCOME_FILE, RUN_ARTIFACT_RESULTS_FILE,
RUN_ARTIFACT_STATUS_FILE,
};
pub use super::artifact_origin::{
inspect, serve, serve_listener, status, status_with_command, ArtifactOriginInspect,
ArtifactOriginServeSpec, ArtifactOriginStatus,
};
pub use super::artifact_postprocess::{
record_artifact_postprocess_outputs, run_artifact_postprocess_plan_for_persisted_root,
run_artifact_postprocess_steps, validate_artifact_postprocess_plan, ArtifactPostprocessAction,
ArtifactPostprocessContext, ArtifactPostprocessHelper, ArtifactPostprocessHelperRegistry,
ArtifactPostprocessOutput, ArtifactPostprocessPlan, ArtifactPostprocessPlanDescription,
ArtifactPostprocessProducedArtifact, ArtifactPostprocessResult, ArtifactPostprocessReviewerRef,
ArtifactPostprocessRoot, ARTIFACT_POSTPROCESS_HELPER_REGISTRY_ENV,
ARTIFACT_POSTPROCESS_HELPER_REGISTRY_SCHEMA, ARTIFACT_POSTPROCESS_PLAN_SCHEMA,
ARTIFACT_POSTPROCESS_RESULT_SCHEMA, ARTIFACT_POSTPROCESS_SCHEMA,
};
pub use super::artifact_preview::{html_preview_entrypoints, ArtifactPreviewEntrypoint};
pub use super::matrix_artifact_summary::{
generic_matrix_summary_from_artifacts, is_matrix_summary_artifact,
render_matrix_artifact_summary_markdown, summarize_matrix_artifacts, GenericMatrixSummary,
MatrixArtifactSummary,
};
pub use super::publication_artifacts::index_remote_published_artifact_refs_for_run;
/// Resolve the artifact root used for copied/downloaded run artifacts.
pub fn root() -> super::Result<std::path::PathBuf> {
super::artifact_root()
}