fix: Restore missing observability.ts lib for pai-hook-system#410
Closed
ajbmachon wants to merge 1 commit intodanielmiessler:mainfrom
Closed
fix: Restore missing observability.ts lib for pai-hook-system#410ajbmachon wants to merge 1 commit intodanielmiessler:mainfrom
ajbmachon wants to merge 1 commit intodanielmiessler:mainfrom
Conversation
The observability.ts file was accidentally deleted during the kai-* to pai-* rebrand in commit 0faf5e4. The file was deleted but not re-added under the new pai- naming convention. This file is required by security-validator.ts and other hooks that import from './lib/observability'. Without it, hooks fail with: "Cannot find module './lib/observability'" Restored from git history (commit 1c34d06).
|
is this a dupe of #368 ? |
Author
|
Yes you are right. Sorry I should have checked this more carefully! |
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
lib/observability.tsthat was accidentally deleted during the kai-* to pai-* rebrandsecurity-validator.tsand other hooksProblem
Without this file, hooks fail with:
Fix
Restored the file from git history (commit 1c34d06).
Test plan