mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-08 22:21:45 +00:00
parent
835ed5c694
commit
ea9ca063aa
4 changed files with 54 additions and 24 deletions
|
|
@ -1,50 +1,42 @@
|
|||
{
|
||||
"timestamp": "2026-03-16T12:00:57.577390Z",
|
||||
"current_node": "solve",
|
||||
"timestamp": "2026-03-16T12:00:59.846750Z",
|
||||
"current_node": "extract_patch",
|
||||
"completed_nodes": [
|
||||
"start",
|
||||
"setup",
|
||||
"solve"
|
||||
"solve",
|
||||
"extract_patch"
|
||||
],
|
||||
"node_retries": {
|
||||
"solve": 4,
|
||||
"setup": 1,
|
||||
"extract_patch": 1,
|
||||
"start": 1
|
||||
},
|
||||
"context_values": {
|
||||
"current_node": "solve",
|
||||
"current_node": "extract_patch",
|
||||
"command.stderr": "",
|
||||
"graph.goal": "UsernameValidator allows trailing newline in usernames\nDescription\n\t\nASCIIUsernameValidator and UnicodeUsernameValidator use the regex \nr'^[\\w.@+-]+$'\nThe intent is to only allow alphanumeric characters as well as ., @, +, and -. However, a little known quirk of Python regexes is that $ will also match a trailing newline. Therefore, the user name validators will accept usernames which end with a newline. You can avoid this behavior by instead using \\A and \\Z to terminate regexes. For example, the validator regex could be changed to\nr'\\A[\\w.@+-]+\\Z'\nin order to reject usernames that end with a newline.\nI am not sure how to officially post a patch, but the required change is trivial - using the regex above in the two validators in contrib.auth.validators.\n",
|
||||
"internal.fidelity": "compact",
|
||||
"command.output": "fatal: destination path '.' already exists and is not an empty directory.\n",
|
||||
"command.output": "",
|
||||
"internal.retry_count.solve": 4,
|
||||
"current.preamble": "Goal: UsernameValidator allows trailing newline in usernames\nDescription\n\t\nASCIIUsernameValidator and UnicodeUsernameValidator use the regex \nr'^[\\w.@+-]+$'\nThe intent is to only allow alphanumeric characters as well as ., @, +, and -. However, a little known quirk of Python regexes is that $ will also match a trailing newline. Therefore, the user name validators will accept usernames which end with a newline. You can avoid this behavior by instead using \\A and \\Z to terminate regexes. For example, the validator regex could be changed to\nr'\\A[\\w.@+-]+\\Z'\nin order to reject usernames that end with a newline.\nI am not sure how to officially post a patch, but the required change is trivial - using the regex above in the two validators in contrib.auth.validators.\n\n\n## Completed stages\n- **setup**: fail\n - Script: `git clone https://github.com/django/django.git . && git checkout d26b2424437dabeeca94d7900b37d2df4410da0c && python -m pip install -e .`\n - Stdout:\n ```\n fatal: destination path '.' already exists and is not an empty directory.\n ```\n - Stderr: (empty)\n\n## Context\n- failure_class: deterministic\n- failure_signature: setup|deterministic|script failed with exit code: <n> ## stdout fatal: destination path '.' already exists and is not an empty directory.\n",
|
||||
"thread.solve.current_node": "extract_patch",
|
||||
"current.preamble": "Goal: UsernameValidator allows trailing newline in usernames\nDescription\n\t\nASCIIUsernameValidator and UnicodeUsernameValidator use the regex \nr'^[\\w.@+-]+$'\nThe intent is to only allow alphanumeric characters as well as ., @, +, and -. However, a little known quirk of Python regexes is that $ will also match a trailing newline. Therefore, the user name validators will accept usernames which end with a newline. You can avoid this behavior by instead using \\A and \\Z to terminate regexes. For example, the validator regex could be changed to\nr'\\A[\\w.@+-]+\\Z'\nin order to reject usernames that end with a newline.\nI am not sure how to officially post a patch, but the required change is trivial - using the regex above in the two validators in contrib.auth.validators.\n\n\n## Completed stages\n- **setup**: fail\n - Script: `git clone https://github.com/django/django.git . && git checkout d26b2424437dabeeca94d7900b37d2df4410da0c && python -m pip install -e .`\n - Stdout:\n ```\n fatal: destination path '.' already exists and is not an empty directory.\n ```\n - Stderr: (empty)\n- **solve**: fail\n\n## Context\n- failure_class: transient_infra\n- failure_signature: solve|transient_infra|api_transient|gemini|rate_limited\n",
|
||||
"internal.run_id": "01KKV88DDS8SY5JWAM1XT75QD8",
|
||||
"outcome": "fail",
|
||||
"outcome": "success",
|
||||
"internal.retry_count.setup": 1,
|
||||
"thread.setup.current_node": "solve",
|
||||
"internal.node_visit_count": 1,
|
||||
"failure_class": "transient_infra",
|
||||
"internal.thread_id": "setup",
|
||||
"failure_class": "",
|
||||
"internal.thread_id": "solve",
|
||||
"internal.retry_count.start": 1,
|
||||
"thread.start.current_node": "setup",
|
||||
"failure_signature": "solve|transient_infra|api_transient|gemini|rate_limited",
|
||||
"internal.retry_count.extract_patch": 1,
|
||||
"failure_signature": "",
|
||||
"graph.rankdir": "LR"
|
||||
},
|
||||
"logs": [],
|
||||
"node_outcomes": {
|
||||
"setup": {
|
||||
"status": "fail",
|
||||
"context_updates": {
|
||||
"command.output": "fatal: destination path '.' already exists and is not an empty directory.\n",
|
||||
"command.stderr": ""
|
||||
},
|
||||
"failure": {
|
||||
"message": "Script failed with exit code: 128\n\n## stdout\nfatal: destination path '.' already exists and is not an empty directory.\n",
|
||||
"failure_class": "deterministic"
|
||||
},
|
||||
"duration_ms": 49
|
||||
},
|
||||
"start": {
|
||||
"status": "success",
|
||||
"duration_ms": 0
|
||||
|
|
@ -57,15 +49,37 @@
|
|||
"failure_signature": "api_transient|gemini|rate_limited"
|
||||
},
|
||||
"duration_ms": 63240
|
||||
},
|
||||
"setup": {
|
||||
"status": "fail",
|
||||
"context_updates": {
|
||||
"command.output": "fatal: destination path '.' already exists and is not an empty directory.\n",
|
||||
"command.stderr": ""
|
||||
},
|
||||
"failure": {
|
||||
"message": "Script failed with exit code: 128\n\n## stdout\nfatal: destination path '.' already exists and is not an empty directory.\n",
|
||||
"failure_class": "deterministic"
|
||||
},
|
||||
"duration_ms": 49
|
||||
},
|
||||
"extract_patch": {
|
||||
"status": "success",
|
||||
"context_updates": {
|
||||
"command.stderr": "",
|
||||
"command.output": ""
|
||||
},
|
||||
"notes": "Script completed: git diff",
|
||||
"duration_ms": 50
|
||||
}
|
||||
},
|
||||
"next_node_id": "extract_patch",
|
||||
"next_node_id": "exit",
|
||||
"loop_failure_signatures": {
|
||||
"setup|deterministic|script failed with exit code: <n> ## stdout fatal: destination path '.' already exists and is not an empty directory.": 1
|
||||
},
|
||||
"node_visits": {
|
||||
"setup": 1,
|
||||
"start": 1,
|
||||
"solve": 1
|
||||
"solve": 1,
|
||||
"extract_patch": 1
|
||||
}
|
||||
}
|
||||
5
nodes/extract_patch/script_invocation.json
Normal file
5
nodes/extract_patch/script_invocation.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"command": "git diff",
|
||||
"language": "shell",
|
||||
"timeout_ms": null
|
||||
}
|
||||
5
nodes/extract_patch/script_timing.json
Normal file
5
nodes/extract_patch/script_timing.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"duration_ms": 49,
|
||||
"exit_code": 0,
|
||||
"timed_out": false
|
||||
}
|
||||
6
nodes/extract_patch/status.json
Normal file
6
nodes/extract_patch/status.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"status": "success",
|
||||
"notes": "Script completed: git diff",
|
||||
"failure_reason": null,
|
||||
"timestamp": "2026-03-16T12:00:59.846522+00:00"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue