和顺 / 衡律 返回所属 Agent
15.6

方案变更、资格失效与重新审查

原能力

方案、依据或条件变化时使相关资格失效,按明确范围重新审查。(合同附件 R7 15.6)

首选项目

OpenLineage(Apache-2.0)。 OpenLineage

匹配范围

依赖图及重新审阅流程支持失效通知。

源码

OpenLineage · class RunEvent

client/python/src/openlineage/client/run.py · 102–115 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
class RunEvent(RedactMixin):
    eventType: RunState = attr.ib(validator=attr.validators.in_(list(RunState)))  # noqa:  N815
    eventTime: str = attr.ib()  # noqa:  N815
    run: Run = attr.ib()
    job: Job = attr.ib()
    producer: str = attr.ib()
    inputs: list[Dataset] | None = attr.ib(factory=list)
    outputs: list[Dataset] | None = attr.ib(factory=list)
    schemaURL: str = attr.ib(default=SCHEMA_URL)  # noqa: N815

    _skip_redact: ClassVar[list[str]] = ["eventType", "eventTime", "producer", "schemaURL"]

    @eventTime.validator
    def check(self, attribute: str, value: str) -> None:  # noqa: ARG002
  • # Copyright 2018-2026 contributors to the OpenLineage project
  • # SPDX-License-Identifier: Apache-2.0

Flowable · public interface TaskService

modules/flowable-engine/src/main/java/org/flowable/engine/TaskService.java · 46–59 行。 在 GitHub 查看源码 · 许可证与声明

源码片段
public interface TaskService {

    /**
     * Creates a new task that is not related to any process instance.
     * 
     * The returned task is transient and must be saved with {@link #saveTask(Task)} 'manually'.
     */
    Task newTask();

    /** create a new task with a user defined task id */
    Task newTask(String taskId);

    /**
     * Create a builder for the task

实现与验收要点

资格何时失效、保持旧史、阻断后续动作为原专用规则。