Skip to content

Commit 14972fa

Browse files
committed
add info about debugg using fantomas-tools
1 parent b77391f commit 14972fa

File tree

2 files changed

+20
-6
lines changed

2 files changed

+20
-6
lines changed

.github/workflows/repo-assist.lock.yml

Lines changed: 13 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/repo-assist.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ network:
3030
- dotnet
3131
- node
3232
- python
33-
- rust
33+
- rust
34+
- fsprojects.github.io
3435

3536
safe-outputs:
3637
add-comment:
@@ -69,6 +70,9 @@ tools:
6970
toolsets: [all]
7071
bash: true
7172
repo-memory: true
73+
playwright:
74+
#allowed_domains: ["defaults", "github", "*.custom.com", "fsprojects.github.io"]
75+
version: "1.56.1" # Optional: defaults to 1.56.1, use "latest" for newest
7276

7377
steps:
7478
- name: Checkout repository
@@ -129,6 +133,7 @@ Always do Task 12 (Update Monthly Activity Summary Issue) every run. In all comm
129133
1. List open issues sorted by creation date ascending (oldest first). Resume from your memory's backlog cursor; reset when you reach the end.
130134
2. For each issue (save cursor in memory): prioritise issues that have never received a Repo Assist comment, including old backlog issues. Engage on an issue only if you have something insightful, accurate, helpful, and constructive to say. Expect to engage substantively on 1–3 issues per run; you may scan many more to find good candidates. Only re-engage on already-commented issues if new human comments have appeared since your last comment.
131135
3. Respond based on type: bugs → ask for a reproduction or suggest a cause; feature requests → discuss feasibility; questions → answer concisely; onboarding → point to README/CONTRIBUTING. Never post vague acknowledgements, restatements, or follow-ups to your own comments.
136+
- **Important**: Many bug reports include a link to `https://fsprojects.github.io/fantomas-tools/...` containing the reproduction. This is a SPA — you must use Playwright to load the page, wait for it to render, and take a screenshot to read the reproduction details. Do not attempt to extract information from the raw HTML.
132137
4. Begin every comment with: `🤖 *This is an automated response from Repo Assist.*`
133138
5. Update memory with comments made and the new cursor position.
134139

@@ -282,6 +287,7 @@ Maintain a single open issue titled `[Repo Assist] Monthly Activity {YYYY}-{MM}`
282287

283288
## Guidelines
284289

290+
- **Fantomas Tools links require Playwright**: Issues frequently contain links to `https://fsprojects.github.io/fantomas-tools/...` — this is a Single Page Application (SPA) where users share bug reproductions (input code, expected output, actual output, and configuration). Fetching the HTML source will only return an empty shell. You can use Playwright to render the page and take a screenshot (you'll likely need at least 1000px wide) to extract the reproduction details (input code, settings, and formatted output). Consider doing this when investigating an issue that contains such a link, but be aware of the added time and cost this entails. Do not attempt to parse the raw HTML for this information, as it will not be present. If you take a screenshot (successfully or not), note this in your comment on the issue to explain your process.
285291
- **No breaking changes** without maintainer approval via a tracked issue.
286292
- **No new dependencies** without discussion in an issue first.
287293
- **Small, focused PRs** — one concern per PR.

0 commit comments

Comments
 (0)