feat: add Skyhook configuration support - #3
Merged
Merged
Conversation
Add support for `.skyhook/skyhook.yaml` configuration format alongside existing Koala format with auto-detection and merging capabilities. Changes: - Add SkyhookConfig class with service and environment models - Add config format auto-detection (Koala, Skyhook, or both) - Add skyhook.yaml parser with validation - Add matrix builder for Skyhook config with per-service counters - Update DeploymentMatrix with merge() method and new fields (namespace, account) - Add detailed logging showing where values are sourced from - Add Jest tests for all new functionality When both configs exist, matrices are merged with deduplication by service_name + overlay. Per-service counters continue from existing Koala entries to ensure unique service_tags. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
eliran-ops
force-pushed
the
feat/skyhook-support
branch
from
January 20, 2026 20:24
286e748 to
1a7bd8c
Compare
- Add unit-tests job to run Jest tests - Add test-skyhook-config job (2 services x 2 environments) - Add test-skyhook-env-filter job (environment filter) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
🎉 This PR is included in version 1.4.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.skyhook/skyhook.yamlconfiguration format alongside existing Koala formatSkyhookConfig,SkyhookService,SkyhookEnvironmentclasses with internal path fieldChanges
New files:
src/config/SkyhookConfig.js- Classes representing skyhook.yaml structure withCONFIG_PATH = '.skyhook/skyhook.yaml'src/config/config-detector.js- Auto-detects config format(s)src/config/skyhook-parser.js- Parses and validates YAMLsrc/matrix/matrix-builder.js- Builds DeploymentMatrix from Skyhook configsrc/DeploymentMatrix.js- DeploymentEntry/DeploymentMatrix classes withnamespace,accountfields andmerge()methodModified files:
src/index.js- New flow: detect → process both configs → merge → outputpackage.json- Addedjs-yamldependencyTest plan
.skyhook/skyhook.yaml)🤖 Generated with Claude Code