-
Notifications
You must be signed in to change notification settings - Fork 0
Test local debug #132
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
base: main
Are you sure you want to change the base?
Test local debug #132
Changes from all commits
ccd1562
0623380
4721e9e
f45547f
6e704dc
ee5945e
adc2318
e01d293
b798f41
22a22ac
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
reviews: | ||
tools: | ||
github-checks: | ||
enabled: true | ||
timeout_ms: 900000 |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,28 @@ | ||||||
name: Auto Comment on PR | ||||||
|
||||||
on: | ||||||
pull_request: | ||||||
types: [*] # Triggers on all pull request events | ||||||
# pull_request: | ||||||
# types: [opened] | ||||||
|
||||||
workflow_dispatch: | ||||||
|
||||||
jobs: | ||||||
comment: | ||||||
runs-on: ubuntu-latest | ||||||
steps: | ||||||
# - name: trigger pr | ||||||
# uses: peter-evans/create-or-update-comment@v4 | ||||||
# with: | ||||||
# issue-number: ${{ github.event.pull_request.number }} | ||||||
# body: | | ||||||
# @coderabbitai full review | ||||||
# - name: trigger pr | ||||||
# uses: peter-evans/create-or-update-comment@v4 | ||||||
# with: | ||||||
# issue-number: ${{ github.event.pull_request.number }} | ||||||
# body: | | ||||||
# @coderabbitai sing me a song | ||||||
- name: Wait 300 sec for timeout | ||||||
run: sleep 300 | ||||||
Comment on lines
+27
to
+28
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. 🛠️ Refactor suggestion Remove unnecessary sleep command or implement actual functionality. The workflow currently only sleeps for 5 minutes without providing any value, which wastes CI resources. Consider either:
If this is temporary debugging code, consider removing it: - - name: Wait 300 sec for timeout
- run: sleep 300 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -36,4 +36,4 @@ jobs: | |||||
run: pip install black | ||||||
|
||||||
- name: Run black check | ||||||
run: black --check . | ||||||
run: sleep 200 && black --diff . && black --check . | ||||||
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. 🛠️ Refactor suggestion Remove unnecessary delays and optimize Black formatting step. The 200-second sleep and Apply this diff to optimize the workflow: - run: sleep 200 && black --diff . && black --check .
+ run: black --check . 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -19,6 +19,10 @@ | |||||
from routes.wow import wow_bp | ||||||
from utils.security import add_security_headers, return_safe_html | ||||||
|
||||||
a=1 | ||||||
|
||||||
|
||||||
|
||||||
# Enable Datadog tracing | ||||||
patch_all() | ||||||
profiler = Profiler() | ||||||
|
@@ -920,7 +924,7 @@ def ffxiv_scrip_exchange(): | |||||
|
||||||
|
||||||
if __name__ == "__main__": | ||||||
app.run(host="0.0.0.0") | ||||||
app.run(host="0.0.0.0" | ||||||
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. Fix syntax error - missing closing parenthesis. The Apply this diff to fix the syntax error: - app.run(host="0.0.0.0"
+ app.run(host="0.0.0.0") 📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents
|
||||||
|
||||||
# for testing | ||||||
|
||||||
|
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.
Fix invalid YAML syntax for pull request event types.
The wildcard
*
in YAML arrays must be quoted to be valid.Apply this diff to fix the YAML syntax:
📝 Committable suggestion
🤖 Prompt for AI Agents