pub struct JobMeta {
pub job: JobMetaJob,
pub schema_version: String,
pub command: Vec<String>,
pub created_at: String,
pub root: String,
pub env_keys: Vec<String>,
pub env_vars: Vec<String>,
pub mask: Vec<String>,
pub cwd: Option<String>,
}Expand description
Persisted in meta.json at job creation time.
Structure:
{
"job": { "id": "..." },
"schema_version": "0.1",
"command": [...],
"created_at": "...",
"root": "...",
"env_keys": [...],
"env_vars": [...],
"mask": [...]
}env_keys stores only the names (keys) of environment variables passed via --env.
Values MUST NOT be stored to avoid leaking secrets.
env_vars stores KEY=VALUE strings with masked values replaced by “***”.
mask stores the list of keys whose values are masked.
cwd stores the effective working directory at job creation time (canonicalized).
Fields§
§job: JobMetaJob§schema_version: String§command: Vec<String>§created_at: String§root: String§env_keys: Vec<String>Keys of environment variables provided at job creation time. Values are intentionally omitted for security.
env_vars: Vec<String>Environment variables as KEY=VALUE strings, with masked values replaced by “***”.
mask: Vec<String>Keys whose values are masked in output.
cwd: Option<String>Effective working directory at job creation time (canonicalized absolute path).
Used by list to filter jobs by cwd. Absent for jobs created before this feature.