Skip to content

Do not run scheduled invocations for deleted / recreated agents#3320

Merged
mschuwalow merged 7 commits into
mainfrom
scheduling-deleted-workers
May 5, 2026
Merged

Do not run scheduled invocations for deleted / recreated agents#3320
mschuwalow merged 7 commits into
mainfrom
scheduling-deleted-workers

Conversation

@mschuwalow
Copy link
Copy Markdown
Contributor

resolves #3293

@mschuwalow mschuwalow self-assigned this Apr 30, 2026
@mschuwalow mschuwalow changed the title Scheduling deleted workers Do not run scheduled invocations for deleted / recreated agents Apr 30, 2026
@mschuwalow mschuwalow force-pushed the scheduling-deleted-workers branch from e2f0dfa to adda9ab Compare April 30, 2026 18:34
@mschuwalow mschuwalow marked this pull request as ready for review April 30, 2026 20:16
/// Some entry types (e.g. `AgentInvocationStarted`) cannot be losslessly
/// round-tripped because the public representation discards internal detail.
/// For those cases this conversion returns an error.
impl TryFrom<PublicOplogEntry> for OplogEntry {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this was supposed to replace the similar, older function in debugging-service (debug_session.rs), we just failed to delete that one during the oplog refactoring.

I would like to keep this and remove that so all the conversions stay in golem-common where the types are defined

@vigoo
Copy link
Copy Markdown
Contributor

vigoo commented May 4, 2026

are you going to remove the other one now that the golem-common part was added back?

@mschuwalow
Copy link
Copy Markdown
Contributor Author

are you going to remove the other one now that the golem-common part was added back?

Yes, but I would prefer to do that in a separate pr

@mschuwalow mschuwalow merged commit ec04b5e into main May 5, 2026
98 of 99 checks passed
@mschuwalow mschuwalow deleted the scheduling-deleted-workers branch May 5, 2026 10:49
@github-actions github-actions Bot locked and limited conversation to collaborators May 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleting an agent should delete scheduled invocations for it

2 participants