fix(hitl): add missing fields to block configs#3027
Merged
icecrasher321 merged 4 commits intostagingfrom Jan 27, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile OverviewGreptile SummaryThis PR introduces a systematic approach to hiding internal block output fields from display logs and UI while keeping them available for execution. The implementation adds a Key Changes:
Code Quality Improvements:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant UI as Resume UI
participant Executor as Block Executor
participant Filter as Output Filter
participant Config as Block Config
participant Log as Block Log
Note over UI,Log: Human-in-the-loop Block Execution
Executor->>Config: Get block outputs schema
Config-->>Executor: Returns outputs with hiddenFromDisplay flags
Executor->>Executor: Execute HITL block
Executor->>Executor: Generate output (url, response, submission, etc.)
Note over Executor,Filter: Filtering for Display/Logs
Executor->>Filter: filterOutputForLog(blockType, output, options)
Filter->>Config: Check hiddenFromDisplay flag for each field
Config-->>Filter: Return field metadata
Filter->>Filter: Skip fields with hiddenFromDisplay=true
Filter->>Filter: Skip fields starting with '_'
Filter->>Filter: Skip additionalHiddenKeys (e.g., 'resume')
Filter-->>Executor: Return filtered output
Executor->>Log: Write filtered output to block log
Executor->>UI: Send filtered output for display
Note over UI: Only shows: url, resumeEndpoint, submittedAt, and form fields
Note over Log: Hidden: response, submission, resumeInput, cost, providerTiming
|
Collaborator
Author
|
@cursor review |
Collaborator
Author
|
@cursor review |
Sg312
reviewed
Jan 27, 2026
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.
Summary
Cleanup code to hide fields from display logs. Add missing fields for HITL.
Type of Change
Testing
Tested manually
Checklist