Skip to content

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 8, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

johnstcn and others added 3 commits August 8, 2025 18:06
…idebar_app_id (#19253)

This is a workaround for #18776

We avoid the foreign key issue by checking the previously inserted
workspace applications before calling UpdateWorkspaceAITask. Now,
affected workspaces will show as "not running an AI task" on the single
task view, which is technically correct.

We also insert a provisioner job log at WARN level to ensure that the
user sees some information that they have run into this issue, as well
as logging on the server side.

Longer term, we plan to modify how the workspace tasks view is
presented. This is a stopgap measure until we solidify that plan.

NOTE: this does **not** address the fact that stopping a workspace with
`has_ai_task: true` will result in the completed stop build no longer
having `has_ai_task: true`, resulting in tasks "disappearing" on stop.
This PR adds a framework to move to a mocked db. And therefore massively speed up these tests.
@pull pull bot locked and limited conversation to collaborators Aug 8, 2025
@pull pull bot added the ⤵️ pull label Aug 8, 2025
@pull pull bot merged commit 4f1db8b into Klomgor:main Aug 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants