Skip to content

Mocks changed

A refusal to apply an assistant proposal, because a mock it changes was edited after the proposal was made.

Field Value
type https://mockhub.dev/problems/assistant-proposal-stale
Status 409

A proposal is checked against each mock as it was when the proposal was made. When one of them has been saved since, by another member, an AI assistant or another tab of yours, applying would replace a change nobody reviewed, so nothing is applied: not even the changes that were still current.

The same holds for a scenario whose states were edited since, a scenario name taken since by a new one, and a mock attached to a state removed since. A seed is out of date once its collection holds records, which applying checks again: a seed only fills an empty collection. A change to stored records is out of date once a record it replaces is no longer the one the assistant read.

Always 409.

In the app, from Apply on Review the assistant’s proposal.

When detail
Always Some of these mocks changed after the proposal was made. Ask the assistant again to see the change against them as they are now.

The app reads the proposal again and marks the changes that are out of date, which can no longer be ticked.

Try to fix is refused the same way, in the assistant panel, while any change of the proposal is out of date: the fixed proposal could not be applied either.

operationIds lists the changes concerned, by their id in the proposal.

{
"type": "https://mockhub.dev/problems/assistant-proposal-stale",
"title": "Proposal out of date",
"status": 409,
"detail": "Some of these mocks changed after the proposal was made. Ask the assistant again to see the change against them as they are now.",
"operationIds": ["op2"]
}
  1. Select Apply again to apply the changes that are still current, without the ones marked out of date.
  2. Or select Ask again, so the assistant proposes against the mocks as they are now.

Report a problem with this page