Skip to content

[stable32] fix: refactor envelope signing flow and envelope status propagation#6267

Merged
vitormattos merged 1 commit intostable32from
backport/6265/stable32
Dec 30, 2025
Merged

[stable32] fix: refactor envelope signing flow and envelope status propagation#6267
vitormattos merged 1 commit intostable32from
backport/6265/stable32

Conversation

@backportbot-libresign
Copy link
Copy Markdown

Backport of PR #6265

- Remove unnecessary state saving/restoration in sign() method
- Extract buildEnvelopeSignRequests() for envelope-specific logic
- Create getEnvelopeContext() to resolve envelope and its sign request
- Fix envelope status not updating when all children are signed
- Ensure envelope sign_request is marked as SIGNED with timestamp
- Improve envelope resolution via parent lookup and identify method matching
- Simplify sign() to use envelope context from getEnvelopeContext()
- Separate concerns: getSignRequestsToSign() handles requests only
- Eliminate code duplication in envelope resolution logic

Fixes: Envelope remains unsigned when all child files are signed
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 30, 2025
@backportbot-libresign backportbot-libresign Bot added this to the Next Patch (32) milestone Dec 30, 2025
@vitormattos vitormattos merged commit 34d4967 into stable32 Dec 30, 2025
62 checks passed
@vitormattos vitormattos deleted the backport/6265/stable32 branch December 30, 2025 17:49
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant