CI: finalize Test Policy v1.0; cache & marker enforcement; keep mapping/integration non-gating#31
Conversation
…ng/integration non-gating
There was a problem hiding this comment.
Codex Review: Here are some suggestions.
Reply with @codex fix comments to fix any unresolved comments.
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, or 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 fix this CI failure" or "@codex address that feedback".
| - name: Install ccache | ||
| run: sudo apt-get install -y ccache | ||
| - name: Cache ccache | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ~/.ccache | ||
| key: ccache-${{ runner.os }}-${{ hashFiles('**/CMakeLists.txt','**/*.cmake','**/package.xml') }} | ||
| restore-keys: | | ||
| ccache-${{ runner.os }}- | ||
| - name: Configure ccache | ||
| run: | |
There was a problem hiding this comment.
[P1] Ensure ccache directory exists before configuring
Configure ccache writes max_size = 2G to ~/.ccache/ccache.conf immediately after the cache restore. On a cold runner or any cache miss, actions/cache does not create ~/.ccache, so this echo will fail with “No such file or directory” and the job aborts before compiling. Create the directory (e.g. mkdir -p ~/.ccache) before writing the config; the mapping and integration jobs use the same pattern and would fail for the same reason.
Useful? React with 👍 / 👎.
…es-up-to to include deps
…; use packages-up-to
Lock in Test Policy v1.0 and stabilize CI signal while keeping trunk green.
Summary
alpha_mapping; run only unit tests (pytest -m unit).alpha_mappingon changes + nightly, uploads logs,continue-on-error: true.pytest -m integrationon changes + nightly,continue-on-error: true.--cmake-argsbefore--packages-select), allow multiline packages‑first.What changed
actions/cache@v4.ccache.colcon buildinvocations.@pytest.mark.unitor@pytest.mark.integrationon all tests.colcon test.set +u/set -uaroundsourceto avoidnounsetissues.Files
Expected outcome
Follow‑up