Skip to content

[Infra][Oil] Restore reproducible Python 3 spec runner environment #40

Closed as not planned

Description

@caomengxuan666

Problem

Oil spec previously ran through a Python-2-to-3 converted sh_spec harness with fixture PATH, spec/bin helpers, temporary directory, and shell environment setup. The current saved oils-py3 copy is not self-contained: direct execution fails without the test package path, then fails on remaining Python-2 API usage (str.decode). Missing helper/timeout environment also makes GNU Bash reference cases fail.

Evidence

  • Prior per-file logs exist under target/issue-suites/results/oils-spec-logs/.
  • Current diagnostic artifact: target/issue-suites/results/oils-probe-5178166-current/.
  • Current Rubash commit: 5178166.

Acceptance

  • Pin or vendor the Python 3-compatible Oil harness and its package layout.
  • Record PATH, spec/bin, TMPDIR, timeout, THIS_SH, Bash path, and Rubash path.
  • Run Oil files with Bash and Rubash reference sides both healthy before counting DIFF.
  • Preserve dated per-file TSV and stdout/stderr artifacts.
  • Only then open per-directory semantic Oil issues.

Activity

  1. caomengxuan666 commented on Aug 21, 2026

    @caomengxuan666
    MemberAuthor

    Evidence refresh on b5e3f7b: Oil remains infrastructure-blocked. No new reproducible Python 3 spec ledger was produced in this turn, so the issue remains open; semantic Oil differences are not being counted until the reference runner is healthy.

  2. caomengxuan666 commented on Sep 7, 2026

    @caomengxuan666
    MemberAuthor

    Oil spec 语料已 vendor(可复现)

    按"vendor + 可复现"的要求完成:third_party/oil/ 现含 222 个 spec/*.test.sh 语料文件与 test/ 下的 sh_spec.py、spec_lib.py、spec.sh、spec-common.sh、spec-runner.sh、spec-util.sh(上游 oilshell/oil 浅克隆,README 记录来源与运行方式)。

    分类规则不变:Oil 特有而 GNU bash 未定义的语义记为宿主/夹具证据,不算 Bash 兼容 bug。下一步(后续轮次):搭建 spec/bin 夹具(recho/zecho 等价物 + osh helper)跑通基线,再逐文件记录 DIFF。

    提交:222a7e3f(vendor)——注意 git push 当前被本机代理(127.0.0.1:7897 拒连)阻塞,代理恢复后推送。

  3. caomengxuan666 commented on Sep 11, 2026

    @caomengxuan666
    MemberAuthor

    Closing in favor of the GNU Bash 5.3.0 true-baseline measurement as the single compatibility yardstick (ledger: #62, status: docs/COMPATIBILITY-STATUS.md).

    Rationale: this is Oil spec-runner infrastructure, and the Oil suite family is no longer maintained in parallel with the GNU baseline (83 suites, 2026-09-11 full rerun: 32 zero-diff suites, 2072 total diff lines). Restoring the Python 3 spec runner environment has no GNU-baseline consumer anymore.

    If Oil-side evidence is ever needed again, re-file against the GNU baseline ledger (#62).

  4. added
    tests
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions