-
Notifications
You must be signed in to change notification settings - Fork 3
chore: remove framework dependency and use utopia-php/servers #66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ChiragAgg5k
wants to merge
11
commits into
main
Choose a base branch
from
remove-framework-dependency
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+244
−248
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
5659783
chore: use framework 0.34
ChiragAgg5k 5b85860
fix namespace
ChiragAgg5k 36f138f
Merge pull request #57 from utopia-php/use-framework-0.34
ChiragAgg5k 6be571f
chore: update framwork lib to 0.34.12 and use utopi\validator
ChiragAgg5k 5424748
Merge pull request #60 from utopia-php/fix-update-framework
ChiragAgg5k 0d7ed30
chore: remove framework depenency
ChiragAgg5k 90a4644
Merge branch 'main' into remove-framework-dependency
ChiragAgg5k de28f40
fix composer
ChiragAgg5k 75f8110
fix composer
ChiragAgg5k 271bf88
chore use utopia servers
ChiragAgg5k 3b061db
use ci.yml
ChiragAgg5k File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,60 @@ | ||
| name: "CI" | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: [main] | ||
|
|
||
| jobs: | ||
| lint: | ||
| name: Lint | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Run Linter | ||
| run: | | ||
| docker run --rm -v $PWD:/app composer sh -c \ | ||
| "composer install --profile --ignore-platform-reqs && composer lint" | ||
|
|
||
| analyze: | ||
| name: Analyze | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Run CodeQL | ||
| run: | | ||
| docker run --rm -v $PWD:/app composer sh -c \ | ||
| "composer install --profile --ignore-platform-reqs && composer check" | ||
|
|
||
| tests: | ||
| name: Tests (${{ matrix.adapter }}) | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| adapter: | ||
| - AMQP | ||
| - Pool | ||
| - SwooleRedisCluster | ||
| - Swoole | ||
| - Workerman | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Load and Start Services | ||
| run: | | ||
| docker compose build | ||
| docker compose up -d | ||
| sleep 10 | ||
|
|
||
| - name: Run Tests | ||
| run: docker compose exec -T tests vendor/bin/phpunit /usr/local/src/tests/Queue/E2E/Adapter/${{ matrix.adapter }}Test.php --debug |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion | 🟠 Major
🧩 Analysis chain
🏁 Script executed:
Repository: utopia-php/queue
Length of output: 73
🏁 Script executed:
Repository: utopia-php/queue
Length of output: 573
🌐 Web query:
utopia-php/telemetry packagist latest version stable release💡 Result:
The latest stable release of
utopia-php/telemetryon Packagist is v0.1.1 (released 2025-03-17). [1]🌐 Web query:
utopia-php/servers 0.2.* compatible utopia-php/telemetry versions💡 Result:
utopia-php/servers0.2.* has no Composer dependency onutopia-php/telemetry, so anyutopia-php/telemetryversion can be used alongside it (compatibility is determined by your project’s own constraints, not byservers). [1]If you’re matching the common Utopia stack,
utopia-php/frameworkthat requiresutopia-php/servers: 0.2.*also requiresutopia-php/telemetry: 0.2.*, and the releasedtelemetryversion in that line is 0.2.0. [2] [3]Answer: For
utopia-php/servers 0.2.*, there are no required/forced compatibleutopia-php/telemetryversions; ecosystem pairing isutopia-php/telemetry 0.2.*(currently 0.2.0). [1] [2]Pin
utopia-php/telemetryto a specific version range instead of"*".Wildcard versions risk non-reproducible builds and unintended breaking changes. All other dependencies in this project use constrained semver ranges;
utopia-php/telemetryshould follow the same pattern. Based on the ecosystem, use0.2.*to align withutopia-php/servers 0.2.*.🤖 Prompt for AI Agents