Cover three deploy-test gaps the #744 review found

未关闭
#800 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
40/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, python, shell
领域
ci-cd, testing

调研方向

Three separate gaps touch test_deployment_assets.py, test_routing_workflow_invariants.py and test_release_sentinel.py; start with the finalizer step in the deploy workflow and the sentinel reform constant. Each listed mutation (finalizer if: change, removed Modal credential, quoted or builtin MODAL_ENVIRONMENT override, 0.21 to 0.20 reform) should make a test fail when done. The referenced review file is outside the repo, so the issue text is the only spec.

由索引模型根据 Issue 内容生成。

描述

The round-7 independent review of #744 approved the release journal and finalizer. It found three low-severity gaps in test coverage; the current wiring is correct in each case.

  1. Finalizer scheduling and credentials (test_deployment_assets.py). Each of these mutations survives all 239 workflow tests, and each could leave a publication journal pending:

    • adding if: failure() or if: !cancelled() to the finalizer step;
    • removing either Modal credential.

    Test the step's scheduling and its credential bindings.

  2. Quoted and builtin environment overrides (test_routing_workflow_invariants.py). export MODAL_"ENVIRONMENT"=main and read -r MODAL_ENVIRONMENT <<<main both change staging to main, and both survive. Normalize shell quoting and builtin flags, or reject these forms.

  3. Sentinel reform pin (test_release_sentinel.py). Changing the sentinel reform from 0.21 to 0.20 survives all 48 sentinel tests. Pin the reform and its date independently, or assert a non-zero expected impact.

Review: ~/reviews/w4-budget-ci-2026-10-11/simapi744-round7-sol.md.

主要语言
Python
星标
1
派生
1
平均合并
1 天 12 小时
30 天内合并 PR
71

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

PolicyEngine/policyengine-sim-api 的其他 Issue

查看 PolicyEngine/policyengine-sim-api 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。