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
Commit f850e51
Browse filesBrowse the repository at this point in the historyBrowse files
|`--range <duration>`| How far back to look. Format: `<number><unit>` (m/h/d). Max 7d. |`1h`|
112
113
|`--filter <text>`| Case-insensitive text match against log/exception messages. Shows full request entry when any log line matches. | — |
114
+
|`--deployment <id>`| Filter logs to a specific deployment ID. | — |
113
115
114
116
Output shows one line per request (`HH:MM:SS METHOD URL STATUS`) with indented console log and exception lines beneath. Errors and exceptions are colored red, warnings yellow.
115
117
118
+
### `void project rollback [deployId]`
119
+
120
+
```
121
+
void project rollback [deployId]
122
+
```
123
+
124
+
Roll back to a previous deployment. Traffic instantly switches to the target deployment's worker script via KV routing update.
125
+
126
+
- If `[deployId]` is omitted, shows an interactive select menu of retained deployments
127
+
- If the target deployment has fewer applied migrations than the current one, a warning is shown listing the migration diff before confirmation
128
+
129
+
Only **retained** deployments can be rolled back to. The number of retained deployments depends on your plan (free: 1, solo: 5, pro: 25, unlimited for sponsored/custom).
130
+
116
131
### `void project delete [name]`
117
132
118
133
Permanently delete a project and all its resources (databases, KV namespaces, R2 buckets, deployments). Requires typing the project slug to confirm.
0 commit comments