Skip to content

Open master merge#8

Open
anuragsarkar97 wants to merge 45 commits intoapolloio:masterfrom
toptal:master
Open

Open master merge#8
anuragsarkar97 wants to merge 45 commits intoapolloio:masterfrom
toptal:master

Conversation

@anuragsarkar97
Copy link

No description provided.

dependabot bot and others added 11 commits May 23, 2024 14:52
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.63.4...v1.63.5)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update rubocop requirement from 1.63.5 to 1.64.1

Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.63.5...v1.64.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix rubocop

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Samuel Ebeagu <samuel.ebeagu@toptal.com>
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.64.1...v1.65.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.65.0...v1.65.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ES 8.x upgrade

* Fix termnite after changes

* fixup es

* Elastic security on: configuration example

* Mass index deletion disabled by default in Elastic

* Elastic docker file: increase sleep, bump image

* Spec fixes

* bump dependency

* Bump version, update docs

---------

Co-authored-by: Danil Nurgaliev <danil.nurgaliev@toptal.com>
* Fix id conversion issue in delayed_sidekiq strategy

Ensure ids extracted from Redis remain strings, preventing UUID issues.
Previously, ids were being converted to integers, causing problems
with UUIDs in the `delayed_sidekiq` strategy.

This update also enhances the test suite:
- Existing tests are updated.
- A new test ensures the issue is resolved.

Due to SQLite's lack of UUID support, a `stub_uuid_model` method is
added. This method stubs models with UUIDs, using `SecureRandom.uuid`
for the primary key.

Move table creations to individual methods.

Having every table creation inside a single block casued Rubocop
`Metrics/BlockLength` error. To fix it I moved each table creation
to an individual method.

* Add changelog notes

---------

Co-authored-by: Sundus Yousuf <sundus.yousuf@recruitmilitray.com>
Copy link

@orca-security-us orca-security-us bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@kodem-security
Copy link

kodem-security bot commented Nov 21, 2025

Kodem Security Scan Summary

Status Check Issues by Severity Link
✅ Passed Open Source Security Report Link to Check

@kodem-security
Copy link

kodem-security bot commented Nov 21, 2025

Kodem Security Scan Summary

Status Check Issues by Severity Link
✅ Passed Code Weakness Security Report 🟧 M: 1    Link to Check

Note: Kai marked all findings as likely false positives.

Rails 6.1 and 7.0 have reached EOL, and 7.1 is approaching it.
Requiring Rails >= 7.2 and Ruby >= 3.2 aligns with currently
supported versions and fixes CI incompatibilities with older
combinations.
The pinned 1.65.1 was incompatible with newer rubocop-ast, breaking
CI. Bump to latest, target Ruby 3.2, and regenerate the todo file.
sqlite3 ~> 1.4 conflicts with Rails 8.0 (requires >= 2.1).
Unpinned unparser pulls versions incompatible with Ruby 3.4 AST.
Bump actions/checkout to v6, run rubocop on Ruby 3.4, add
workflow_dispatch for manual CI triggers, and remove the deprecated
docker-compose version key.
ActiveRecord returns frozen arrays from pluck/import_fields in newer
versions. Use map to build new arrays instead of mutating in place.
Ruby 3.4 changed Hash#inspect to use the new syntax ({key: value}
instead of {:key=>value}). Relax the assertions to match substrings
or patterns instead of exact inspect output.
bbatsov and others added 19 commits February 25, 2026 15:15
- "related to other" -> "related to each other"
- "elastisearch" -> "Elasticsearch"
- "ElasticSearch" -> "Elasticsearch" (7 occurrences)
- "city4..do_update!" -> "city4.do_update!"
- "except except" -> "except"
- Fix sentence fragment in Minitest integration section
- Add missing period
- "Describe the brief of the change" -> "Describe the change briefly"
- "all the the" -> "all the"
The README was ~1370 lines mixing tutorial, reference, and configuration
docs. Split the detailed content into focused files under docs/ while
keeping the README as a concise entry point with links.
- Replace `its/should` with `specify/expect` in config_spec and
  repository_spec (also removes a duplicate transport_logger test)
- Remove duplicate specify blocks in query_proxy_spec
- Remove permanently-pending Groovy script tests in response_spec
  (Groovy scripting unsupported since ES 6)
- Modernize version test description in chewy_spec
- Remove broken xdescribe '.massacre' (never called .massacre,
  incorrect setup, untestable with ES 8 defaults)
- Remove xcontext 'applying journal' from actions_spec (timing-
  dependent, full of debug prints, covered by journaling context)
The gem is no longer used anywhere in the test suite after
the earlier test modernization pass.
Chewy works fine without Rails but the docs assume it everywhere.
Add a standalone guide for non-Rails setup and a FAQ answering
recurring user questions (UndefinedUpdateStrategy, versioning policy,
OpenSearch support, Elastic Cloud connection).
A modernized, self-contained tutorial using a media library domain
(books + authors). Covers index definition, model callbacks, import,
strategies, a search form object pattern, controller integration,
sorting, error handling and testing.
- querying.md: add sorting section and error handling for bad user queries
- indexing.md: add keyword sub-field example for sorting on text fields
- testing.md: add end-to-end search testing example (purge/import/query)
Cover Strategy::Base, error classes, Index::Crutch, Search::Scoping,
Adapter::Base, IndicesBoost, AllowPartialSearchResults,
DelayedSidekiq::Scheduler, and DelayedSidekiq::Worker.
* Allow ruby version 4.0 in gemspec

* Add ruby 4.0 to CI matrix
Both services are no longer in use for this project.
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.