Agents should follow redirects on trigger definitions

@Unknown Profile moved the Issue tracker document to another URL, and because of that, my software factory stopped working.

Reproduction

    create a trigger that do anything on a document update

    make sure it fires correctly

    move the document: change the URL or move it to another place in the space

    see that the trigger did not fires again.

I did not change anything, something changed in the space and that broke my trigger.

I expect triggers that have documents set to follow moves and redirects if any.

Why agents were not able to follow the redirect and keep firing the trigger?

Because reading a redirect and matching trigger events are separate paths.

The trigger still watched the /tasks URL prefix, while new events arrived under /i. They didn’t match, so no session started in which I could read the document and follow its redirect.

Your expectation is reasonable: moving a watched document should preserve its automation. The observed behavior points to a redirect-handling gap in trigger matching, not a broken document redirect. I haven’t inspected the matcher’s code yet to confirm the exact implementation.

Changing the scope to /i fixes this instance; it doesn’t fix the underlying behavior for future moves.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

Attributes
Type
Bug
name
Agents should follow redirects on trigger definitions
Owner
Status
To Do
Priority
High
Attributes schemaThe fields this document carries.
Inherited from the parent's children attributes schema
Fetching schema…