Skip to content

Instantly share code, notes, and snippets.

View lcatlett's full-sized avatar
🍕

Lindsey Catlett lcatlett

🍕
View GitHub Profile
@lcatlett
lcatlett / route-diagnostics-report.md
Created May 16, 2025 01:12
Route Diagnostics Report for holly-hunt.live generated on Thu May 15 21:12:18 EDT 2025

Route Diagnostics Report for holly-hunt (live)

Executive Summary

This report analyzes routing issues in the Holly Hunt Drupal site, with a focus on UK path handling. The diagnostics reveal two failing checks (domain path configuration and path alias configuration) and two items needing verification (route cache and environment consistency). The cache backend configuration is correctly implemented and follows best practices.

Summary of Findings:

  • ⚠️ FAILING: Domain Path Configuration - Missing critical settings
  • ✅ PASSING: Cache Backend Configuration - Appropriate backends for different cache bins
  • ⚠️ NEEDS VERIFICATION: Route Cache - Exists but needs validation
@lcatlett
lcatlett / route-diagnostics-report.md
Created May 15, 2025 20:36
Route Diagnostics Report for holly-hunt.live generated on Thu May 15 16:36:37 EDT 2025

Route Diagnostics Report for holly-hunt (live)

Executive Summary

This report analyzes routing issues in the Holly Hunt Drupal site, with a focus on UK path handling. The diagnostics reveal two failing checks (domain path configuration and path alias configuration) and two items needing verification (route cache and environment consistency). The cache backend configuration is correctly implemented and follows best practices.

Summary of Findings:

  • ⚠️ FAILING: Domain Path Configuration - Missing critical settings
  • ✅ PASSING: Cache Backend Configuration - Appropriate backends for different cache bins
  • ⚠️ NEEDS VERIFICATION: Route Cache - Exists but needs validation
@lcatlett
lcatlett / route-diagnostics-report.md
Created May 9, 2025 15:20
Route Diagnostics Report for holly-hunt_live.live generated on Fri May 9 11:20:05 EDT 2025

Route Diagnostics Report for holly-hunt_live (20250509)

Executive Summary

This report analyzes routing issues in the Holly Hunt Drupal site, with a focus on UK path handling. The diagnostics reveal two failing checks (domain path configuration and path alias configuration) and two items needing verification (route cache and environment consistency). The cache backend configuration is correctly implemented and follows best practices.

Summary of Findings:

  • ⚠️ FAILING: Domain Path Configuration - Missing critical settings
  • ✅ PASSING: Cache Backend Configuration - Appropriate backends for different cache bins
  • ⚠️ NEEDS VERIFICATION: Route Cache - Exists but needs validation
<?php
/**
* Plugin Name: Fix JSON Support Detection for Action Scheduler
* Description: Fixes the JSON support detection in Action Scheduler for MariaDB on Pantheon
* Version: 1.0.0
* Author: Lindsey Catlett, Pantheon
*/
// Make sure this runs before Action Scheduler initializes
add_action('plugins_loaded', 'fix_json_support_detection', 5);
@lcatlett
lcatlett / composer.json
Created April 24, 2025 16:12 — forked from kyletaylored/composer.json
How to integrate Monolog with New Relic in Drupal 9
{
"require": {
"drupal/monolog": "^2.2",
"newrelic/monolog-enricher": "^2.0"
}
}
@lcatlett
lcatlett / composer.json
Created April 24, 2025 16:12 — forked from kyletaylored/composer.json
How to integrate Monolog with New Relic in Drupal 9
{
"require": {
"drupal/monolog": "^2.2",
"newrelic/monolog-enricher": "^2.0"
}
}
@lcatlett
lcatlett / ocp.php
Created October 3, 2024 01:58 — forked from nyufeng/ocp.php
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)#ocp #php #opcache #opcode #cache #zend #optimizerplus #optimizer+
<?php
/*
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)
Author: _ck_ (with contributions by GK, stasilok)
Version: 0.1.7
Free for any kind of use or modification, I am not responsible for anything, please share your improvements
* revision history
0.1.7 2015-09-01 regex fix for PHP7 phpinfo
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter
@lcatlett
lcatlett / README.md
Last active August 28, 2024 14:04
Enterprise Site Portfolio Deployments Scripting Library

Enterprise Many Site Deployment and Scripting Recommendations

This repository contains an example set of shell scripts that provide recommendations for Voya to execute CI / CD tasks at scale againt a large portfolio of Pantheon sites. Each script provided has inline docmentation for required functionality and additional examples of how to address common enterprise deployment challenges / requirements.

Features

  • Parallel execution of code and deployment tasks on multiple sites
  • Race condition handling for workflows, terminus commands, and git commands
  • Configuration of environment variables commonly required in enterprise deployment scripts
  • Automatic retries of failed site deployments
@lcatlett
lcatlett / 01-readme.md
Last active June 8, 2024 02:31
Enterprise CI / CD Release - Keepalive / Prime Site Portfolio

Keepalive Checks Script

This script is a wrapper to ensure that services are healthy and ready for code push and deployment tasks on Pantheon sites. It hardens the release process by adding:

  • Parallel execution of healthcheck and deployment tasks on many sites
  • Race condition handling for workflows and terminus commands
  • Automatic retry and wake of failed sites' services

Table of Contents

@lcatlett
lcatlett / call-deploy.yml
Last active May 31, 2024 21:19
Codeserver known host modificcation
name: 'Reusable: Deploy code to configurable Pantheon environment'
on:
workflow_call:
inputs:
environment:
required: true
type: string
site_id:
type: string
clone: