Skip to content

Add returnable: false widget fields to the test schema - #1123

Merged
jwils merged 1 commit into
mainfrom
joshauw/returnable-widgets-acceptance
Apr 14, 2026
Merged

Add returnable: false widget fields to the test schema#1123
jwils merged 1 commit into
mainfrom
joshauw/returnable-widgets-acceptance

Conversation

@jwils

@jwils jwils commented Apr 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add internal_name and internal_details as returnable: false fields on the widgets test schema
  • add the WidgetInternalDetails object type and update shared widget factories so generated widget events satisfy the new schema
  • regenerate schema artifacts, including datastore config _source.excludes entries for the hidden widget fields

Testing

  • bundle exec rake schema_artifacts:check VERBOSE=true
  • bundle exec rspec elasticgraph-indexer/spec/unit/elastic_graph/indexer/spec_support/event_matcher_spec.rb elasticgraph-indexer/spec/unit/elastic_graph/indexer/operation/factory_spec.rb
  • bundle exec rspec elasticgraph-indexer/spec/integration/elastic_graph/indexer/processor_spec.rb
  • bundle exec rspec elasticgraph-indexer/spec/acceptance/multi_source_indexing_spec.rb

@jwils
jwils force-pushed the joshauw/returnable-widgets-acceptance branch from 81e87d8 to c006569 Compare April 11, 2026 12:54
@jwils
jwils force-pushed the joshauw/fetchable-false-prototype branch from caabea3 to fd1d61a Compare April 14, 2026 01:28
Base automatically changed from joshauw/fetchable-false-prototype to main April 14, 2026 01:49
@jwils
jwils force-pushed the joshauw/returnable-widgets-acceptance branch from c006569 to 97915e5 Compare April 14, 2026 02:07
@jwils jwils changed the title Exercise returnable: false widgets and preserve highlighting Add \ widget fields to the test schema Apr 14, 2026
@jwils
jwils force-pushed the joshauw/returnable-widgets-acceptance branch from 97915e5 to 4784514 Compare April 14, 2026 02:51
@jwils jwils changed the title Add \ widget fields to the test schema Add returnable: false widget fields to the test schema Apr 14, 2026
Add `internal_name` and `internal_details` to the Widget test schema, along
with the new WidgetInternalDetails object type. Update the shared widget
factories so generated widget events satisfy the new schema, and regenerate
the datastore config artifacts so hidden widget fields are excluded from
_source.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@jwils
jwils force-pushed the joshauw/returnable-widgets-acceptance branch from 4784514 to e96bfd0 Compare April 14, 2026 17:12
@jwils
jwils marked this pull request as ready for review April 14, 2026 18:50
@jwils
jwils merged commit 0ed3256 into main Apr 14, 2026
25 checks passed
@jwils
jwils deleted the joshauw/returnable-widgets-acceptance branch April 14, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants