-
Notifications
You must be signed in to change notification settings - Fork 0
Update commerce dependencies and configuration #1
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
Changes from all commits
89691fe
87b07ed
239e8c9
9688755
addae86
5f39e92
1b22cad
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,16 @@ | ||
| # CodeRabbit Configuration File | ||
| # Reference: https://docs.coderabbit.ai/spec/configuration | ||
| # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json | ||
|
|
||
| language: "en-US" | ||
| tone_instruction: "Review code as a senior Go software engineer with a focus on commerce domain structures, data isolation, event-native patterns, and API contracts." | ||
|
|
||
| reviews: | ||
| profile: "assertive" | ||
| tone_instructions: "Review code as a senior Go software engineer with a focus on commerce domain structures, data isolation, event-native patterns, and API contracts." | ||
| auto_review: | ||
| enabled: true | ||
| drafts: false | ||
| high_level_summary: true | ||
| reviews_per_file: true | ||
| collapse_dependency_reviews: true | ||
|
|
||
| chat: | ||
| auto_reply: true | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,16 @@ jobs: | |
| permissions: | ||
| contents: write | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Checkout commerce | ||
| uses: actions/checkout@v4 | ||
| - name: Checkout mdk | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| repository: GoHyperrr/mdk | ||
| ref: ${{ github.head_ref || github.ref_name }} | ||
| path: mdk | ||
| - name: Move mdk to parent directory | ||
| run: mv mdk ../mdk | ||
|
Comment on lines
+23
to
+24
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add defensive checks for the move operation. The
Consider adding an explicit cleanup step before the move: 🛡️ Proposed fix: Add defensive cleanup+ - name: Clean up any existing mdk in parent
+ run: rm -rf ../mdk
- name: Move mdk to parent directory
run: mv mdk ../mdkAlternatively, verify the move succeeded: - name: Move mdk to parent directory
- run: mv mdk ../mdk
+ run: |
+ mv mdk ../mdk
+ test -d ../mdk || { echo "Failed to move mdk to parent directory"; exit 1; }🤖 Prompt for AI Agents |
||
| - uses: actions/setup-go@v5 | ||
| with: | ||
| go-version: '1.25' | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to this project will be documented in this file. | ||
|
|
||
| ## [0.1.0] - 2026-06-05 | ||
|
|
||
| ### Added | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add blank line before heading. The heading should be surrounded by blank lines per Markdown best practices. 📝 Proposed fix ## [0.1.0] - 2026-06-05
-
+
### Added🧰 Tools🪛 markdownlint-cli2 (0.22.1)[warning] 7-7: Headings should be surrounded by blank lines (MD022, blanks-around-headings) 🤖 Prompt for AI AgentsSource: Linters/SAST tools |
||
| - Catalog product variant options, pricing normalizations, and image relations. | ||
| - Decoupled commerce/seo and commerce/taxonomy packages. | ||
| - Refactored test suites to link to mdk/mdktest. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # Security Policy | ||
|
|
||
| ## Supported Versions | ||
|
|
||
| For pre-1.0 releases we support the latest release or the latest patch series (e.g., 0.1.x), and for 1.0+ we support the latest major release branch. | ||
|
|
||
| ## Reporting a Vulnerability | ||
|
|
||
| If you discover a security vulnerability within Hyperrr or any of its modules, please do not disclose it publicly. Report it directly by emailing security@hyperrr.org or opening a draft security advisory on GitHub. | ||
|
|
||
| We will acknowledge receipt of your report within 48 hours and work with you to patch the issue promptly. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,3 +23,5 @@ require ( | |
| modernc.org/memory v1.5.0 // indirect | ||
| modernc.org/sqlite v1.23.1 // indirect | ||
| ) | ||
|
|
||
| replace github.com/GoHyperrr/mdk => ../mdk | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Description: Check CI/build configs for references to local mdk path
# Search for references to ../mdk in CI and build files
rg -n --type=yaml --type=toml --type=json '../mdk' -g '!go.mod'
# Check if there are any build/CI workflow files
fd -e yml -e yaml . .github .gitlab-ci.yml .circleciRepository: GoHyperrr/commerce Length of output: 222 Remove/relocate the local
replace github.com/GoHyperrr/mdk => ../mdkGo will apply this 🤖 Prompt for AI Agents |
||
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.
🧹 Nitpick | 🔵 Trivial
🧩 Analysis chain
🏁 Script executed:
Repository: GoHyperrr/commerce
Length of output: 377
🏁 Script executed:
Repository: GoHyperrr/commerce
Length of output: 2084
🏁 Script executed:
Repository: GoHyperrr/commerce
Length of output: 163
🏁 Script executed:
Repository: GoHyperrr/commerce
Length of output: 3361
🏁 Script executed:
Repository: GoHyperrr/commerce
Length of output: 213
🏁 Script executed:
Repository: GoHyperrr/commerce
Length of output: 1185
Schema URL accepts the config (docs link is 404)
yaml-language-serverschema athttps://coderabbit.ai/integrations/schema.v2.jsonis reachable, returns valid JSON, and.coderabbit.yamlvalidates against it.reviews.tone_instructionsis recognized by the schema (no unrecognized-property issue).https://docs.coderabbit.ai/spec/configurationcurrently returns 404; update the reference URL if you want it to work.🤖 Prompt for AI Agents