You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Durable mode: checkpoint validation fails with 'damaged or redacted' on first Copilot run #78853
Durable mode (engine.durable) fails on the very first run of a Copilot workflow with:
Error: Durable artifact was damaged or redacted; refusing continuation or publication
at durable_files.cjs:122
The Copilot CLI executes successfully (exit code 0, produces a session ID), but the post-execution "Validate durable checkpoint artifact" step rejects the session files. This happens because the "Redact secrets in logs" step strips secrets from the session state files, corrupting them for resumption purposes. The validator then correctly detects the files are damaged.
Redact secrets in logs — redact_secrets.cjs strips secrets from /tmp/gh-aw/ including durable session files
Validate durable checkpoint artifact — durable_files.cjs validateFiles()FAILS: "damaged or redacted"
The Copilot CLI session state inherently contains token/credential values from the conversation context (tool configurations, API endpoints). When the redactor strips these, the session JSON becomes structurally corrupt and unusable for resumption.
Expected Behavior
Durable checkpoint should be saved successfully so the next run can restore the session via --session-id.
Possible approaches:
Copilot CLI could separate credentials from session state (externalize secrets, reference them by ID)
The redactor could exclude durable session files from secret scrubbing (with appropriate access controls)
Session files could use a sealed/encrypted format that bypasses heuristic redaction
@pelikhan the fix from #78855 didn't resolve this. Still getting Durable artifact was damaged or redacted; refusing continuation or publication on the first durable run (no prior checkpoint to restore).
What I tried:
Recompiled with latest CLI → new checkout-at-HEAD pattern has a separate bug (Post Setup Scripts fails because repo checkout overwrites ./actions/setup path)
Manually pinned setup action to fix commit 57db981 (confirmed new durable_files.cjs is used — line numbers shifted from 122→126)
Activity
eedorenko commentedon Nov 17, 2026
@pelikhan, could you please have a look at this? I was playing with durable workflows and hit the wall.
eedorenko commentedon Nov 19, 2026
@pelikhan the fix from #78855 didn't resolve this. Still getting
Durable artifact was damaged or redacted; refusing continuation or publicationon the first durable run (no prior checkpoint to restore).What I tried:
./actions/setuppath)57db981(confirmed newdurable_files.cjsis used — line numbers shifted from 122→126)Run: https://github.com/eedorenko/agentic-factory-v2/actions/runs/44614945212
Workflow:
executor-durable.mdwithengine: { id: copilot, durable: { retention-days: 7 } }