-
Notifications
You must be signed in to change notification settings - Fork 0
Add SWARM-001 test reports #4754
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?
Changes from all commits
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 |
|---|---|---|
|
|
@@ -35,7 +35,7 @@ jobs: | |
| - name: Install detect-secrets | ||
| run: pip install detect-secrets pytest pytest-asyncio | ||
| - name: Run detect-secrets baseline check | ||
| run: pytest tests/architecture/test_antipatterns.py::test_no_hardcoded_secrets -q --noconftest -o "addopts=" -o "filterwarnings=" -o "timeout=0" | ||
| run: uv run pytest tests/architecture/test_antipatterns.py::test_no_hardcoded_secrets -q -o "addopts=" -o "filterwarnings=" -o "timeout=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.
In the Useful? React with 👍 / 👎.
Contributor
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. 🔴 The Prompt for agentsWas this helpful? React with 👍 or 👎 to provide feedback.
Contributor
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. 🚩 The old Was this helpful? React with 👍 or 👎 to provide feedback. 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
set -euo pipefail
FILE=".github/workflows/security.yml"
echo "=== File head/tail context ==="
python3 - <<'PY'
import itertools
path = ".github/workflows/security.yml"
with open(path, "r", encoding="utf-8") as f:
lines = f.readlines()
print("Total lines:", len(lines))
print("---- Lines 1-120 ----")
for i in range(min(120, len(lines))):
print(f"{i+1:4d}:{lines[i].rstrip()}")
print("---- Lines near 38 (30-60) ----")
for i in range(30, min(60, len(lines))):
print(f"{i+1:4d}:{lines[i].rstrip()}")
print("---- Lines near end (last 80) ----")
start = max(1, len(lines)-80)
for i in range(start-1, len(lines)):
print(f"{i+1:4d}:{lines[i].rstrip()}")
PY
echo
echo "=== Search for uv in this workflow ==="
rg -n --no-heading "uv( |$)|setup-python-uv|pip install uv|actions/setup-python|detect-secrets" "$FILE" || true
echo
echo "=== Search for setup action used in other jobs ==="
rg -n --no-heading "\\./\\.github/actions/" "$FILE" || trueRepository: SatoryKono/BioactivityDataAcquisition Length of output: 7321 🏁 Script executed: #!/bin/bash
set -euo pipefail
ls -R .github/actions/setup-python-uv || true
echo "---- action.yml (or equivalent) ----"
find .github/actions/setup-python-uv -maxdepth 2 -type f -name "action.yml" -o -name "action.yaml" -o -name "Dockerfile" -o -name "README.md" -o -name "*.sh" -o -name "*.yml" -o -name "*.yaml" | sort | sed 's/^/FILE: /'
echo
for f in $(find .github/actions/setup-python-uv -type f -maxdepth 4 | sort); do
echo "==== $f ===="
wc -l "$f"
sed -n '1,200p' "$f"
doneRepository: SatoryKono/BioactivityDataAcquisition Length of output: 3283 Install The 🤖 Prompt for AI Agents |
||
|
|
||
| pip-audit: | ||
| runs-on: ubuntu-latest | ||
|
|
||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
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.
📝 Info:
pip installstep on line 36 is now dead codeThe step
pip install detect-secrets pytest pytest-asyncioinstalls packages into the system Python environment, but the subsequentuv run pytestcommand creates/uses its own managed virtual environment based onpyproject.toml. Packages installed viapipare invisible touv run. Sincedetect-secrets>=1.4is already declared inpyproject.toml:85andpyproject.toml:137,uv runwill install it from the project dependencies. Thepip installstep should either be removed (if switching fully touv run) or the command should revert to barepytest(if keeping the lightweight approach).Was this helpful? React with 👍 or 👎 to provide feedback.