Task: Implement Hotfix: fix the Linux sccache save

Table of Contents

This page documents a task in the Hotfix: fix the Linux sccache save story. It captures the goal, current status, acceptance, and any notes or results.

1. Goal

(Describe what user-visible-or-internal change this task produces.)

2. Status

Field Value
State DONE
Parent story Hotfix: fix the Linux sccache save
Now Nothing.
Waiting on Nothing.
Next Nothing.
Last touched 2026-10-21

3. Acceptance

4. Plan

(Implementation strategy. Written when work starts; key decisions are distilled into the parent story's * Decisions at close, but the plan itself stays — it is the historical record of what we did.)

5. Measurements

Every number this task claims about a tree, with the command that produced it and the commit it was measured at. A number without both is not a measurement, because a clean-up record describes a tree and trunk moves under a branch: a consumer count, a gate's component count and a suite's size all change with no code changing, and the reader of a bare number cannot tell which tree it came from. Where the raw output matters, put it in an evidence/ file beside the task and name that file in the Command column.

What Value Command Commit
       

6. Notes

7. Test Scenarios

Manual QA scenarios (scaffolded via compass add test_scenario) that verify this task. Link new ones here as they're created; the scenario doc itself links back via its "Verifies task" field.

Scenario State Notes
     

8. PRs

PR Title
#3618 [ci] Wait for sccache to go quiet before the Linux cache save

9. Review

Comment summary File Decision Notes
       

10. Result

The Stop step in continuous-linux.yml and nightly-linux.yml now waits for the sccache process to exit and for the cache directory to go quiet for three seconds before the save starts. The old step returned as soon as --stop-server returned, so tar read files that the server still wrote. A new step asks the service whether the key was stored. If it was not, the workflow waits again and saves once more. The old entry of the variant is still deleted before the save, because three variants do not fit in the 10 GB allowance. Only a CI run proves the fix. The hit rate of about 2% is a separate cause, and this change does not touch it.

Emacs 29.3 (Org mode 9.6.15)