Skip to content

Instantly share code, notes, and snippets.

View andrross's full-sized avatar

Andrew Ross andrross

View GitHub Profile
@andrross
andrross / report.md
Last active April 30, 2026 18:28
OpenSearch maintainer inactivity report (generated 2026-04-30)

OpenSearch maintainer inactivity report

Generated: 2026-04-30 UTC

Summary

  • Source: maintainer-inactivity-* indices on metrics.opensearch.org, snapshot current_date = 2026-04-30T00:00:27.670Z (most recent), rollup row event_type = "All" (one row per maintainer per repo).
  • Repo metadata (stars, forks, open issues, open PRs, archived flag, default branch, latest commit): GitHub REST API, fetched at report generation time.
  • "Open issues" column excludes pull requests. GitHub's raw open_issues_count includes PRs, so this column is open_issues_count - open_prs (where open_prs comes from the search API).
  • "Latest commit" is the committer date of the HEAD commit on the default branch. OpenSearch repos mostly squash-merge, so the merge of a PR appears as a single-parent commit and this timestamp is effectively the latest-merge-to-default timestamp.
@andrross
andrross / gist:6ba122540fc6cc6ed551ebae5189e3b2
Created February 7, 2026 01:22
OpenSearch 3.4 Generated Release Notes
## Version 3.4.0 Release Notes (Generated from Git Commits)
Compatible with OpenSearch and OpenSearch Dashboards version 3.4.0
### Added
- Reapply "Switch percentiles implementation to MergingDigest ([#18124](https://github.com/opensearch-project/OpenSearch/pull/18124))
- Add build-tooling to run in the FIPS environment ([#18921](https://github.com/opensearch-project/OpenSearch/pull/18921))
- Add Metrics For The Merged Segment Warmer Flow ([#18929](https://github.com/opensearch-project/OpenSearch/pull/18929))
- Introduce gRPC Interceptor Chain for transport-grpc ([#19005](https://github.com/opensearch-project/OpenSearch/pull/19005))
- Add support for a ForkJoinPool type ([#19008](https://github.com/opensearch-project/OpenSearch/pull/19008))
require 'json'
require 'net/http'
require 'optparse'
require 'set'
require 'uri'
options = {}
OptionParser.new do |opt|
opt.on('-s', '--start BUILD_NUMBER', 'Require start') { |o| options[:start] = o }
opt.on('-e', '--end BUILD_NUMBER', 'Require end') { |o| options[:end] = o }
@andrross
andrross / run-until-failure
Created February 17, 2023 18:10
Bash script to repeat a command until a non-zero exit code
#!/bin/bash
i=1
while [ true ]
do
"$@"
if [ "$?" = 0 ]; then
echo "SUCCESS ($i)"
else
echo "FAILURE ($i)"
require 'json'
require 'net/http'
require 'optparse'
require 'set'
require 'uri'
options = {}
OptionParser.new do |opt|
opt.on('-s', '--start BUILD_NUMBER', 'Require start') { |o| options[:start] = o }
opt.on('-e', '--end BUILD_NUMBER', 'Require end') { |o| options[:end] = o }
#!/bin/bash
read -r -d '' QUERY<<'EOF'
{
"profile": true,
"size": 0,
"query": {
"range": {
"dropoff_datetime": {
"from": "2015-01-01 00:00:00",