Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 9 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,25 @@ jobs:
- "3.3"
- "3.4"
datastore:
- "elasticsearch:9.4.2"
- "elasticsearch:9.0.0"
- "opensearch:2.19.1"
- "opensearch:2.7.0"
- "opensearch:3.6.0"
- "opensearch:3.3.0"
- "opensearch:2.19.0"
include:
# We have 4 build parts. The "primary" one is `run_each_gem_spec`, and we need that to be run on
# every supported Ruby version and against every supported datastore. It's not necessary to run
# these others against every combination of `ruby` and `datastore` so we just run each with one
# configuration here.
- build_part: "run_misc_checks"
ruby: "3.4"
datastore: "elasticsearch:9.0.0"
datastore: "elasticsearch:9.4.2"
- build_part: "run_specs_with_vcr"
ruby: "3.4"
datastore: "elasticsearch:9.0.0"
datastore: "elasticsearch:9.4.2"
- build_part: "run_specs_file_by_file"
ruby: "3.4"
datastore: "elasticsearch:9.0.0"
datastore: "elasticsearch:9.4.2"

steps:
- name: Harden Runner
Expand Down Expand Up @@ -86,7 +88,7 @@ jobs:
contents: read
packages: write
env:
OPENSEARCH_VERSION: "2.19.1"
OPENSEARCH_VERSION: "3.6.0"

steps:
- name: Harden Runner
Expand Down Expand Up @@ -183,7 +185,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install action-validator with asdf
uses: asdf-vm/actions/install@05e0d2ed97b598bfce82fd30daf324ae0c4570e6 # v3.0.2
uses: asdf-vm/actions/install@b7bcd026f18772e44fe1026d729e1611cc435d47 # v4.0.1
with:
tool_versions: |
action-validator 0.5.1
Expand Down
2 changes: 1 addition & 1 deletion .goosehints
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is used by Goose: https://block.github.io/goose/docs/guides/using-goosehints/
# This file is used by Goose: https://goose-docs.ai/docs/guides/using-goosehints/

This is an open source Ruby project. Review CONTRIBUTING.md for information on working in this codebase.

Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand All @@ -10,7 +10,7 @@ source "https://rubygems.org"

# Gems needed by the test suite and other CI checks.
group :development do
gem "aws_lambda_ric", "~> 3.0"
gem "aws_lambda_ric", "~> 3.2"
gem "benchmark-ips", "~> 2.14"
gem "coderay", "~> 1.1", ">= 1.1.3"
gem "factory_bot", "~> 6.5", ">= 6.5.1"
Expand Down
19 changes: 10 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ PATH
remote: elasticgraph-apollo
specs:
elasticgraph-apollo (0.19.3.1.pre)
apollo-federation (~> 3.10, >= 3.10.1)
apollo-federation (~> 3.10, >= 3.10.3)
elasticgraph-graphql (= 0.19.3.1.pre)
elasticgraph-support (= 0.19.3.1.pre)
graphql (~> 2.5.4)
graphql (~> 2.6.6)

PATH
remote: elasticgraph-datastore_core
Expand Down Expand Up @@ -55,7 +55,7 @@ PATH
base64 (~> 0.2)
elasticgraph-datastore_core (= 0.19.3.1.pre)
elasticgraph-schema_artifacts (= 0.19.3.1.pre)
graphql (~> 2.5.4)
graphql (~> 2.6.6)
graphql-c_parser (~> 1.1, >= 1.1.2)

PATH
Expand Down Expand Up @@ -145,7 +145,7 @@ PATH
elasticgraph-query_registry (0.19.3.1.pre)
elasticgraph-graphql (= 0.19.3.1.pre)
elasticgraph-support (= 0.19.3.1.pre)
graphql (~> 2.5.4)
graphql (~> 2.6.6)
graphql-c_parser (~> 1.1, >= 1.1.2)
rake (~> 13.2, >= 13.2.1)

Expand All @@ -171,7 +171,7 @@ PATH
elasticgraph-json_schema (= 0.19.3.1.pre)
elasticgraph-schema_artifacts (= 0.19.3.1.pre)
elasticgraph-support (= 0.19.3.1.pre)
graphql (~> 2.5.4)
graphql (~> 2.6.6)
graphql-c_parser (~> 1.1, >= 1.1.2)
rake (~> 13.2, >= 13.2.1)

Expand Down Expand Up @@ -209,7 +209,7 @@ GEM
public_suffix (>= 2.0.2, < 7.0)
afm (0.2.2)
ansi (1.5.0)
apollo-federation (3.10.1)
apollo-federation (3.10.3)
google-protobuf (< 5)
graphql
ast (2.4.3)
Expand Down Expand Up @@ -247,7 +247,8 @@ GEM
aws-sigv4 (~> 1.5)
aws-sigv4 (1.11.0)
aws-eventstream (~> 1, >= 1.0.2)
aws_lambda_ric (3.0.0)
aws_lambda_ric (3.2.0)
logger (>= 1.4, < 2.0)
base64 (0.2.0)
benchmark (0.4.0)
benchmark-ips (2.14.0)
Expand Down Expand Up @@ -317,7 +318,7 @@ GEM
google-protobuf (4.30.2-arm64-darwin)
bigdecimal
rake (>= 13)
graphql (2.5.4)
graphql (2.6.11)
base64
fiber-storage
logger
Expand Down Expand Up @@ -603,7 +604,7 @@ PLATFORMS
x86_64-linux-android

DEPENDENCIES
aws_lambda_ric (~> 3.0)
aws_lambda_ric (~> 3.2)
benchmark-ips (~> 2.14)
coderay (~> 1.1, >= 1.1.3)
elasticgraph (= 0.19.3.1.pre)!
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 - 2025 Block, Inc.
Copyright (c) 2024 - 2026 Block, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ growing data sets. Modern APIs allow us to:

ElasticGraph is released under the [MIT License](https://opensource.org/licenses/MIT).

[Part of the distributed code](https://github.com/block/elasticgraph/blob/main/elasticgraph-rack/lib/elastic_graph/rack/graphiql/index.html)
[Part of the distributed code](https://github.com/block/elasticgraph/blob/pre-1.0/elasticgraph-rack/lib/elastic_graph/rack/graphiql/index.html)
comes from the [GraphiQL project](https://github.com/graphql/graphiql), also licensed under the
MIT License, Copyright (c) GraphQL Contributors.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion Steepfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion ai_tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Located in [`elasticgraph-mcp-server/`](./elasticgraph-mcp-server/), this provid

You can use the MCP server with a variety of tools and platforms, including:

- in [Goose](https://block.github.io/goose/) as an "extension"
- in [Goose](https://goose-docs.ai/) as an "extension"
- in [Claude](https://docs.anthropic.com/en/docs/agents-and-tools/mcp) Desktop app as an "MCP server"
- in [Cursor](https://docs.cursor.com/context/model-context-protocol) as an "MCP tool"

Expand Down
2 changes: 1 addition & 1 deletion ai_tools/elasticgraph-mcp-server/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 - 2025 Block, Inc.
Copyright (c) 2024 - 2026 Block, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion ai_tools/elasticgraph-mcp-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ make help

## Using Goose to help with development

You can use [Goose](https://block.github.io/goose/) to improve this MCP server. To teach goose about MCP, follow these steps:
You can use [Goose](https://goose-docs.ai/) to improve this MCP server. To teach goose about MCP, follow these steps:

### Setting Up a Goose Session

Expand Down
2 changes: 1 addition & 1 deletion config/docker_demo/Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/release/Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/release/Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/schema.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/schema/teams.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/schema/widgets.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/examples/custom_resolver/schema.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/examples/custom_resolver/validate.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/examples/music/Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/examples/music/schema.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/src/_plugins/doc_versions.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/src/_plugins/external_links.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/src/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ Delete the `artist` schema definition:
Then define your own schema in a Ruby file under `config/schema`.

* Use the [schema definition API docs](/elasticgraph/api-docs/{{ site.data.doc_versions.latest_version }}/ElasticGraph/SchemaDefinition/API.html) as a reference.
* Use our [AI Tools]({% link guides/ai-tools.md %}) together with an LLM such as [Goose](https://block.github.io/goose/) to translate a schema from an existing format such as protocol buffers, JSON schema, or SQL.
* Use our [AI Tools]({% link guides/ai-tools.md %}) together with an LLM such as [Goose](https://goose-docs.ai/) to translate a schema from an existing format such as protocol buffers, JSON schema, or SQL.
* Run `bundle exec rake build` and deal with any errors that are reported.
* Hint: search the project codebase for `TODO` comments to find things that need updating.

Expand Down
4 changes: 2 additions & 2 deletions config/site/src/guides/ai-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ The [elasticgraph-mcp-server](https://pypi.org/project/elasticgraph-mcp-server/)

### Installation

Install and run the MCP server, for example as a [Goose extension](https://block.github.io/goose/docs/getting-started/using-extensions), using:
Install and run the MCP server, for example as a [Goose extension](https://goose-docs.ai/docs/getting-started/using-extensions), using:

{% include copyable_code_snippet.html language="shell" code="uvx elasticgraph-mcp-server" %}

Expand All @@ -53,7 +53,7 @@ Full documentation for [elasticgraph-mcp-server](https://pypi.org/project/elasti

You can use the ElasticGraph MCP server with:

- [Goose](https://block.github.io/goose/) - as an extension
- [Goose](https://goose-docs.ai/) - as an extension
- Claude - in the desktop app as an MCP server
- [Cursor](https://docs.cursor.com/context/model-context-protocol) - as an MCP tool

Expand Down
2 changes: 1 addition & 1 deletion config/site/src/guides/guiding-principles.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ These are the "north stars" that guide ElasticGraph development. They guide the
that the data in your index might "regress" to a prior state.
* It makes it easy to operate multiple ElasticGraph instances (e.g. each in a different AWS region) which are guaranteed to
converge on the same indexed state. (This is how we recommend deploying ElasticGraph for projects that require high availability.)
* It allows you to recover from a [red OpenSearch or Elasticsearch cluster](https://www.elastic.co/guide/en/elasticsearch/reference/current/red-yellow-cluster-status.html#fix-cluster-status-recover-nodes)
* It allows you to recover from a [red OpenSearch or Elasticsearch cluster](https://www.elastic.co/guide/en/elasticsearch/reference/current/red-yellow-cluster-status.html)
by restoring from a snapshot and playing back the indexing events after the snapshot was taken--this is guaranteed to converge
on the indexed state you started with.

Expand Down
2 changes: 1 addition & 1 deletion config/site/support/content_extractor.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/support/doctest_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/support/syntax_theme.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion config/site/support/validate_no_empty_code_snippets.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion elasticgraph-admin/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 - 2025 Block, Inc.
Copyright (c) 2024 - 2026 Block, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion elasticgraph-admin/elasticgraph-admin.gemspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
2 changes: 1 addition & 1 deletion elasticgraph-admin/lib/elastic_graph/admin.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2024 - 2025 Block, Inc.
# Copyright 2024 - 2026 Block, Inc.
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
Expand Down
Loading
Loading