Skip to content

[OpenAI Codex] [Python] Add build.py --check-stale CI gate#33

Open
Autowebassat-blip wants to merge 3 commits into
Saiaaax:mainfrom
Autowebassat-blip:main
Open

[OpenAI Codex] [Python] Add build.py --check-stale CI gate#33
Autowebassat-blip wants to merge 3 commits into
Saiaaax:mainfrom
Autowebassat-blip:main

Conversation

@Autowebassat-blip

Copy link
Copy Markdown

Summary

Adds a read-only build.py --check-stale CI gate for stale diagnostic artifacts from older commits.

Changes

  • Adds diagnostic artifact discovery helpers for .logd, chunked .logd, JSON, and metadata files
  • Adds --check-stale and --max-stale-bytes
  • Reuses artifact discovery in --clean
  • Documents the CI gate in docs/OPERATIONS.md
  • Adds 4 unit tests with temporary diagnostic directories

Testing

  • python3 -m unittest tests/test_build_check_stale.py PASS locally
  • python3 build.py --check-stale --max-stale-bytes 9999999999 PASS locally, finding existing stale artifacts within explicit test budget

Full python3 build.py was not run locally because it executes bundled tools/encryptly/* binaries and full multi-language builds in this environment.

/claim #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant