Repository navigation
Conversation
…rom Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…rom Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
Filter stages on the real workflow FK; workflow_definition raised FieldError and turned every builder save into a 500. Raise FormBuilderPayloadError instead of returning a JsonResponse from the helper. Its caller unpacks a tuple, so the rejection could never reach the client, and raising also rolls back the partial save. Add tests for stage and field scoping, rollback, and cloned reviewer groups. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolves CVE-2026-119194, CVE-2026-119195, CVE-2026-119196 and CVE-2026-119197, which fail the CI dependency audit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stop stringifying the caught exception in form_builder_save, which CodeQL flagged as py/stack-trace-exposure. The specific validation messages stay available to the builder UI through FormBuilderPayloadError.client_message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
matteius
marked this pull request as ready for review
November 2, 2026 10:35
matteius
deleted the
ai-findings-autofix/django_forms_workflows-form_builder_views.py
branch
November 2, 2026 10:36
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.
This PR applies 2/3 suggestions from code quality AI findings. 1 suggestion was skipped to avoid creating conflicts.