Skip to content

fix: refactor envelope signing flow and envelope status propagation#6265

Merged
vitormattos merged 1 commit intomainfrom
fix/envelope-signing-flow
Dec 30, 2025
Merged

fix: refactor envelope signing flow and envelope status propagation#6265
vitormattos merged 1 commit intomainfrom
fix/envelope-signing-flow

Conversation

@vitormattos
Copy link
Copy Markdown
Member

No description provided.

- 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]>
@vitormattos vitormattos added this to the Next Patch (32) milestone Dec 30, 2025
@vitormattos vitormattos self-assigned this Dec 30, 2025
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 30, 2025
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable31

@vitormattos vitormattos merged commit 9dc4aff into main Dec 30, 2025
65 of 67 checks passed
@vitormattos vitormattos deleted the fix/envelope-signing-flow branch December 30, 2025 17:25
@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

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant