Repository navigation
refactor(dgw): give the gateway state the provisioner task store - #2042
Closed
irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 1 commit into
Closed
irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 1 commit into
irvingouj@Devolutions (irvingoujAtDevolution) wants to merge 1 commit into
Conversation
irvingouj@Devolutions (irvingoujAtDevolution)
added this pull request to stack #2045
October 6, 2026 21:02
irvingouj@Devolutions (irvingoujAtDevolution)
removed this pull request from stack #2045
October 6, 2026 21:26
irvingouj@Devolutions (irvingoujAtDevolution)
force-pushed
the
feat/provisioner-task
branch
from
October 6, 2026 21:26
8366cf7 to
8f796f8
Compare
irvingouj@Devolutions (irvingoujAtDevolution)
force-pushed
the
feat/ai-analysis-plumbing
branch
from
October 6, 2026 21:27
cd1c538 to
e42c0fa
Compare
irvingouj@Devolutions (irvingoujAtDevolution)
added this pull request to stack #2046
October 6, 2026 21:27
irvingouj@Devolutions (irvingoujAtDevolution)
force-pushed
the
feat/ai-analysis-plumbing
branch
from
October 7, 2026 17:22
e42c0fa to
b9bedc0
Compare
irvingouj@Devolutions (irvingoujAtDevolution)
force-pushed
the
feat/provisioner-task
branch
from
October 7, 2026 17:22
8f796f8 to
0bc6448
Compare
irvingouj@Devolutions (irvingoujAtDevolution)
force-pushed
the
feat/ai-analysis-plumbing
branch
from
October 7, 2026 17:39
b9bedc0 to
5496556
Compare
irvingouj@Devolutions (irvingoujAtDevolution)
force-pushed
the
feat/provisioner-task
branch
from
October 7, 2026 17:39
0bc6448 to
33e8f7b
Compare
irvingouj@Devolutions (irvingoujAtDevolution)
force-pushed
the
feat/ai-analysis-plumbing
branch
from
October 7, 2026 17:50
5496556 to
b7ff443
Compare
irvingouj@Devolutions (irvingoujAtDevolution)
force-pushed
the
feat/provisioner-task
branch
from
October 7, 2026 17:50
33e8f7b to
355930e
Compare
The Gateway state now holds the provisioner task store, on its own gateway.db connection, so the work it records can reach it. Building the mock state opens an in-memory database, so `DgwState::mock` is now async. The job queue attempt limit is now the named constant `MAX_ATTEMPTS`, still 5, so a job can refer to it. No behavior change. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
irvingouj@Devolutions (irvingoujAtDevolution)
force-pushed
the
feat/provisioner-task
branch
from
October 7, 2026 20:12
355930e to
40c81df
Compare
irvingouj@Devolutions (irvingoujAtDevolution)
force-pushed
the
feat/ai-analysis-plumbing
branch
from
October 7, 2026 20:12
b7ff443 to
370cccb
Compare
irvingouj@Devolutions (irvingoujAtDevolution)
removed this pull request from stack #2046
October 7, 2026 20:36
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plumbing only, no behavior change:
DgwStategets the provisioner task store, on its owngateway.dbconnection.DgwState::mockbecomes async (it opens an in-memory store), so a few test call sites gain.await.job_queue::MAX_ATTEMPTS(5, same as the current default) is passed to the job queue explicitly, so the AI analysis job can't drift from it.🤖 Generated with Claude Code