[SF-18] Harden verification architecture - #30
Conversation
SF-18 Audit and resolve all warnings in GitHub PRs before merge; enforce zero-warning standard
🧾 DescriptionAll pull requests must be checked for warnings (lint, type, build, or code quality warnings) before being merged. Codex should:
GitHub code quality tools already surface warnings directly in PRs and can suggest fixes or allow automated remediation via agents. 🎯 Objectives
🛠 Scope of Work1. PR Warning Detection
👉 Warnings are typically visible in PR checks or comments generated by CI tools. 2. Automated Fixing (Codex)
👉 GitHub supports automated fixes via agents that create PRs with corrections. 3. PR Update / New PR Creation
4. CI Enforcement Rule
👉 Best practice: block merges when quality checks fail or warnings exceed threshold. 5. Visibility Improvements (Optional)
👉 Tools exist that automatically comment warnings directly on PRs. ✅ Acceptance Criteria
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 77bf9717dc
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if "platform:iOS Simulator" not in line or "placeholder" in line: | ||
| continue |
There was a problem hiding this comment.
Exclude ineligible simulators when choosing iOS test destination
find_ios_test_destination() currently treats any line containing platform:iOS Simulator as eligible, so it can select IDs from xcodebuild’s “Ineligible destinations” section (for example, simulators with missing runtimes). In that case run_ios_tests_if_available runs xcodebuild ... test with an unusable destination and fails, even though the intended behavior is to skip when no compatible simulator is available. Please filter out ineligible entries (e.g., lines with error: or by parsing only the “Available destinations” block) before assigning fallback.
Useful? React with 👍 / 👎.
Ticket
Summary
make test,make test-android, andmake test-iosas shared verification entry pointsscripts/check_warnings.shwith warning-classifier self-tests plus Chrome, iOS simulator, and Android unit-test coverageVerification
make testmake verify