Skip to content

[Sync] Update project files from source repository (16d1713)#87

Merged
mrz1836 merged 1 commit intomasterfrom
chore/sync-files-bsv-blockchain-sdks-20260207-162836-16d1713
Feb 7, 2026
Merged

[Sync] Update project files from source repository (16d1713)#87
mrz1836 merged 1 commit intomasterfrom
chore/sync-files-bsv-blockchain-sdks-20260207-162836-16d1713

Conversation

@mrz1836
Copy link
Collaborator

@mrz1836 mrz1836 commented Feb 7, 2026

What Changed

  • Deleted the monolithic .github/.env.base configuration file (550 lines)
  • Created a modular environment configuration system with separate files in .github/env/:
    • 00-core.env - Core Go version and module configuration
    • 10-security.env - Security scanning tool configuration
    • 10-coverage.env - Code coverage settings
    • 10-mage-x.env - MAGE-X build tool configuration
    • 10-pre-commit.env - Pre-commit hook settings
    • 20-workflows.env - GitHub workflow configuration
    • 20-redis.env - Redis service configuration
    • README.md - Documentation for the new environment system
    • load-env.sh - Shell script for loading environment files
  • Updated .github/actions/load-env/action.yml to use the new modular configuration loading system
  • Added .github/actions/download-artifact-resilient/action.yml for resilient artifact downloads
  • Updated multiple workflow files to reference the new environment configuration structure
  • Updated documentation in .github/docs/repository-features.md and .github/docs/workflows.md
  • Updated technical conventions documentation in .github/tech-conventions/
  • Added .github/.yamlfmt configuration file
  • Updated .github/CODEOWNERS file

Why It Was Necessary

  • The monolithic 550-line .env.base file was difficult to maintain and navigate
  • Splitting configuration into domain-specific files improves organization and makes it easier to find and modify specific settings
  • The new modular approach allows workflows to load only the environment configurations they need, improving clarity and reducing overhead

Testing Performed

  • Verified that all 32 modified files are consistent with the new modular environment configuration approach
  • Confirmed that the new load-env.sh script properly handles loading multiple environment files
  • Validated that workflow files correctly reference the new environment configuration locations
  • Ensured documentation accurately reflects the new configuration structure

Impact / Risk

  • Breaking Change: Projects using the old .env.base file directly will need to migrate to the new modular structure
  • Risk: Medium - Configuration loading logic has changed, requiring thorough testing of all affected workflows
  • Benefit: Improved maintainability and clarity of configuration management across all workflows and tools

@mrz1836 mrz1836 self-assigned this Feb 7, 2026
@mrz1836 mrz1836 added automated-sync Automated sync PR, e.g. from a fork or external repo automerge Label to automatically merge pull requests that meet all required conditions chore Simple dependency updates or version bumps labels Feb 7, 2026
@github-actions github-actions bot added size/XL Very large change (>500 lines) update General updates labels Feb 7, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 7, 2026

@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2026

Code Coverage Analysis

🟢 Overall Coverage: 97.1%
No Go files modified in this PR

Project coverage remains at 97.1% (339/349 statements)

Changes: 30 config files

Coverage Metrics

Metric Value Grade Trend
Percentage 97.1% 🏆 A+ 📊
Statements 339/349 🏆 A+ No change
Quality Score 97.1/100 🏆 A+ 📈

Coverage Breakdown

██████████████░ 97.1%

Resources


Generated via go-coverage2026-02-07 21:31:54 UTC

@mrz1836 mrz1836 merged commit cb92c2a into master Feb 7, 2026
43 of 45 checks passed
@github-actions github-actions bot deleted the chore/sync-files-bsv-blockchain-sdks-20260207-162836-16d1713 branch February 7, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated-sync Automated sync PR, e.g. from a fork or external repo automerge Label to automatically merge pull requests that meet all required conditions chore Simple dependency updates or version bumps size/XL Very large change (>500 lines) update General updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant