Skip to content

Conversation

ChrisLightfootWild
Copy link
Contributor

This PR

Fix broken symlink artefact.

Updates package exports to reduce clutter.

Notes

Prompted by a broken deployment, which was trying to chown files in an entrypoint and falling over with .pre-commit-config.yaml (which links to a non-existent file), causing the container to crash.

It may be easier to read the PR by disabling the whitespace in the diff, as I had to realign the existing spacing.

How to test

Checkout this branch, then git archive HEAD | tar tf -.

You should receive the following:

LICENSE README.md composer.json src/ src/OpenFeatureAPI.php src/OpenFeatureClient.php src/implementation/ src/implementation/.gitkeep src/implementation/common/ src/implementation/common/ArrayHelper.php src/implementation/common/Metadata.php src/implementation/common/StringHelper.php src/implementation/common/ValueTypeValidator.php src/implementation/errors/ src/implementation/errors/FlagValueTypeError.php src/implementation/errors/InvalidResolutionValueError.php src/implementation/flags/ src/implementation/flags/Attributes.php src/implementation/flags/AttributesMerger.php src/implementation/flags/EvaluationContext.php src/implementation/flags/EvaluationContextMerger.php src/implementation/flags/EvaluationDetails.php src/implementation/flags/EvaluationDetailsBuilder.php src/implementation/flags/EvaluationDetailsFactory.php src/implementation/flags/EvaluationOptions.php src/implementation/flags/MutableAttributes.php src/implementation/flags/MutableEvaluationContext.php src/implementation/flags/NoOpClient.php src/implementation/hooks/ src/implementation/hooks/AbstractHook.php src/implementation/hooks/AbstractHookContext.php src/implementation/hooks/BooleanHook.php src/implementation/hooks/FloatHook.php src/implementation/hooks/HookContextBuilder.php src/implementation/hooks/HookContextFactory.php src/implementation/hooks/HookContextTransformer.php src/implementation/hooks/HookExecutor.php src/implementation/hooks/HookHints.php src/implementation/hooks/ImmutableHookContext.php src/implementation/hooks/IntegerHook.php src/implementation/hooks/MutableHookContext.php src/implementation/hooks/ObjectHook.php src/implementation/hooks/StringHook.php src/implementation/provider/ src/implementation/provider/AbstractProvider.php src/implementation/provider/NoOpProvider.php src/implementation/provider/Reason.php src/implementation/provider/ResolutionDetails.php src/implementation/provider/ResolutionDetailsBuilder.php src/implementation/provider/ResolutionDetailsFactory.php src/implementation/provider/ResolutionError.php src/interfaces/ src/interfaces/common/ src/interfaces/common/LoggerAwareTrait.php src/interfaces/common/Metadata.php src/interfaces/common/MetadataGetter.php src/interfaces/common/StringIndexed.php src/interfaces/common/TypeValuePair.php src/interfaces/flags/ src/interfaces/flags/API.php src/interfaces/flags/AttributeByTypeExporter.php src/interfaces/flags/AttributeType.php src/interfaces/flags/Attributes.php src/interfaces/flags/Client.php src/interfaces/flags/EvaluationContext.php src/interfaces/flags/EvaluationContextAware.php src/interfaces/flags/EvaluationDetails.php src/interfaces/flags/EvaluationOptions.php src/interfaces/flags/FeatureDetails.php src/interfaces/flags/FeatureValues.php src/interfaces/flags/FlagValueType.php src/interfaces/flags/MutableAttributes.php src/interfaces/flags/MutableEvaluationContext.php src/interfaces/hooks/ src/interfaces/hooks/Hook.php src/interfaces/hooks/HookContext.php src/interfaces/hooks/HookHints.php src/interfaces/hooks/HooksAdder.php src/interfaces/hooks/HooksAware.php src/interfaces/hooks/HooksAwareTrait.php src/interfaces/hooks/HooksGetter.php src/interfaces/hooks/HooksSetter.php src/interfaces/hooks/MutableHookContext.php src/interfaces/provider/ src/interfaces/provider/ErrorCode.php src/interfaces/provider/Provider.php src/interfaces/provider/ProviderAware.php src/interfaces/provider/Reason.php src/interfaces/provider/ResolutionDetails.php src/interfaces/provider/ResolutionError.php src/interfaces/provider/ThrowableWithResolutionError.php 
Signed-off-by: Chris Lightfoot-Wild <github-clw@wild.me.uk>
Copy link

codecov bot commented Jul 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.71%. Comparing base (2123274) to head (fdc78b5).
Report is 14 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@ ## main #148 +/- ## ============================================ + Coverage 95.19% 95.71% +0.52%  Complexity 227 227 ============================================ Files 40 40 Lines 583 584 +1 ============================================ + Hits 555 559 +4  + Misses 28 25 -3 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
@beeme1mr beeme1mr merged commit 845d9d8 into open-feature:main Jul 9, 2025
10 checks passed
beeme1mr pushed a commit that referenced this pull request Jul 9, 2025
🤖 I have created a release *beep* *boop* --- ## [2.0.11](2.0.10...2.0.11) (2025-07-09) ### 🐛 Bug Fixes * **deps:** update dependency open-feature/flagd-provider to v1 ([#130](#130)) ([398820c](398820c)) ### 🧹 Chore * reduce unnecessary package exports ([#148](#148)) ([845d9d8](845d9d8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants