GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DataDog/vaccine: Vaccine - A Testing Framework that simulates Datadog's Single Step Instrumention

This repository was archived by the owner on Feb 19, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

84 Commits
84 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
spec
spec
 
 
src/ruby
src/ruby
 
 
.gitignore
.gitignore
 
 
.rspec
.rspec
 
 
.ruby-version
.ruby-version
 
 
Gemfile
Gemfile
 
 
Gemfile.lock
Gemfile.lock
 
 
LICENSE
LICENSE
 
 
LICENSE-3rdparty.csv
LICENSE-3rdparty.csv
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
illustration.png
illustration.png
 
 

Repository files navigation

Vaccine - A Testing Framework that simulates Datadog's Single Step Instrumention

This repository contains a GitHub Actions workflow designed to test Ruby applications across multiple Ruby versions and startup configurations. It uses Docker containers to create isolated testing environments and includes crash reporting capabilities.

Overview

The workflow, named "Vaccine", automatically tests your Ruby application against multiple Ruby versions (from 1.8 to 3.4) with different startup commands. It uses Datadog's catadog mock server for trace collection and includes crash reporting functionality.

Features

  • Supports multiple Ruby versions (1.8 through 3.4)
  • Tests various Rails startup commands
  • Includes crash tracking and reporting
  • Automated trace collection using Datadog's mock server
  • Slack notifications for scheduled runs

Workflow Triggers

The workflow runs on:

  • Push events
  • Daily schedule (7:00 UTC)
  • Manual dispatch with optional commit SHA specification
workflow integrated

Test Matrix

The workflow tests the following combinations:

  • Ruby versions: 1.8, 1.9, 2.0-2.7, 3.0-3.4
  • Startup commands:
    • rails s
    • bin/rails s
    • bundle exec rails s
    • ruby hello.rb (for older Ruby versions)

Configuration

Environment Variables

  • DD_TRACE_DEBUG: Enabled for detailed tracing output
  • DD_INSTRUMENTATION_TELEMETRY_ENABLED: Disabled in test environment to avoid noise.
  • DD_AGENT_HOST: Set to localhost
  • DD_TRACE_AGENT_PORT: Set to 8128
  • DD_CRASHTRACKING_ENABLED: Enabled for crash reporting

Validation

Crash report validation is enabled for Ruby versions:

  • 2.7
  • 3.0
  • 3.1
  • 3.2
  • 3.3

Usage

Manual Trigger

You can manually trigger the workflow through GitHub Actions UI with these parameters:

  • commit_sha: Specific commit to test (defaults to 'latest_snapshot')

Local Development

To run the tests locally, ensure you have:

  1. Docker installed
  2. Ruby development environment
  3. Access to GitHub container registry for catadog and dd-lib-ruby-init

Directory Structure

.
├── .github/workflows/
│   └── vaccine.yml
├── src/
│   └── ruby/
│       └── [version]/
│           └── Dockerfile
└── records/

Contributing

When contributing, ensure your changes:

  1. Maintain compatibility across all supported Ruby versions
  2. Include appropriate Dockerfile updates if needed
  3. Update test cases as necessary

About

Vaccine - A Testing Framework that simulates Datadog's Single Step Instrumention

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

2 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.