Skip to content

[stable31] fix: refactor envelope signing flow and envelope status propagation#6266

Merged
vitormattos merged 1 commit intostable31from
backport/6265/stable31
Dec 30, 2025
Merged

[stable31] fix: refactor envelope signing flow and envelope status propagation#6266
vitormattos merged 1 commit intostable31from
backport/6265/stable31

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 <[email protected]>
@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 (31) milestone Dec 30, 2025
@vitormattos vitormattos merged commit dd315b3 into stable31 Dec 30, 2025
62 checks passed
@vitormattos vitormattos deleted the backport/6265/stable31 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