Only mark as seen after having processed
All checks were successful
Run Python tests (through Pytest) / Test (push) Successful in 25s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s

This commit is contained in:
Jon Michael Aanes 2025-04-13 17:46:45 +02:00
parent 877987787b
commit da8ff0177a

View File

@ -186,7 +186,6 @@ def main():
continue
branch_name = generate_branch_name(issue_number, title)
seen_issues_db.mark_as_seen(issue_text)
try:
with tempfile.TemporaryDirectory() as tmpdirname:
process_issue(args, Path(tmpdirname), branch_name, title, issue_description, issue_number)
@ -194,5 +193,7 @@ def main():
logger.exception('Error processing issue')
sys.exit(1)
seen_issues_db.mark_as_seen(issue_text)
if __name__ == "__main__":
main()