Skip to content

env-gated cross-check tests need version-alignment guards after dependency bumps #175

Description

@kiki830621

Problem

兩個 env-gated 測試在 ooxml-swift bump(如 1.4.0→1.5.0,#173)後有版本對齊風險,本輪 verify 因 gate 未開而未實證:

  1. testGetScriptCoverageJPATemplateParity 硬編碼真實 template aggregate 0.535±0.01——upstream 覆蓋率變動會使閾值漂移(false failure 或 stale 閾值掩蓋 regression)。
  2. testCLICrossCheckAgainstMacdocBinary 的「MCP vs CLI byte-identical」只在 macdoc CLI 同樣 build 於 1.5.0 時成立;版本不對齊會 false failure。

Type

enhancement(test infra)

Expected

Gate 開啟時:(1) JPA 閾值隨 upstream bump 重新量測或改為動態基線;(2) cross-check 前先驗兩端 ooxml-swift 版本一致(不一致 → XCTSkip with reason 而非 fail)。

Source

Verify #173 finding 4(regression lens):#174 (comment)

Refs #173

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions