Skip to content

Conversation

@maxy-shpfy
Copy link
Collaborator

@maxy-shpfy maxy-shpfy commented Dec 16, 2025

Description

Added a script to hydrate the component library with metadata from component YAML files. The script downloads each component, extracts its name and author information, generates a SHA-256 digest, and adds timestamps. This enhances the component library with additional metadata for better tracking and management.

Type of Change

  • New feature
  • Improvement

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Test Instructions

Screen Recording 2025-12-15 at 4.45.51 PM.mov (uploaded via Graphite)

  1. Run the script with npm run hydrate-component-library
  2. Verify that the output file contains the enhanced metadata for each component
  3. Check that the original component library structure is preserved

Additional Comments

The script adds the following metadata to each component:

  • Component name
  • Author information
  • Content digest (SHA-256)
  • Timestamp of when it was fetched

It also adds metadata to the library itself with augmentation timestamp and script name.

@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_hydrate_component_library_file branch 3 times, most recently from 5d85020 to 14cf3eb Compare December 16, 2025 01:07
@maxy-shpfy maxy-shpfy marked this pull request as ready for review December 16, 2025 01:11
Copy link
Collaborator Author

@maxy-shpfy maxy-shpfy Dec 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script was mostly vibed. So likely it is not ideal from the code standpoint. But it is supposed to be executed manually, no automations yet.

So far it did it's job

@maxy-shpfy maxy-shpfy requested a review from Mbeaulne December 17, 2025 19:32
Copy link
Collaborator Author

maxy-shpfy commented Dec 18, 2025

Merge activity

  • Dec 18, 4:48 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Dec 18, 4:49 PM UTC: Graphite rebased this pull request as part of a merge.
  • Dec 18, 4:53 PM UTC: @maxy-shpfy merged this pull request with Graphite.

@maxy-shpfy maxy-shpfy force-pushed the 12-15-feat_hydrate_component_library_file branch from d437913 to e5f82d7 Compare December 18, 2025 16:49
@maxy-shpfy maxy-shpfy merged commit 2d10327 into master Dec 18, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants