# mark_startup_auto_update_failed

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/update_check/mark_startup_auto_update_failed)

Persist a same-version startup auto-update retry cooldown marker.

## Signature

```python
mark_startup_auto_update_failed(
    version: str,
) -> bool
```

## Returns

`bool`

`True` if the marker was written, `False` otherwise.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/e4c1ffe9ee63d7854147de490ca27495ef157a7b/libs/code/deepagents_code/update_check.py#L1306)