Skip to content

Commit

Permalink
lru cache
Browse files Browse the repository at this point in the history
  • Loading branch information
jennmueng committed Jan 6, 2025
1 parent 9d4c978 commit f7ee3bf
Show file tree
Hide file tree
Showing 7 changed files with 11,593 additions and 16,246 deletions.
2 changes: 1 addition & 1 deletion src/seer/automation/codebase/repo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def check_repo_read_access(repo: RepoDefinition):
return False

@classmethod
@functools.cache
@functools.lru_cache(maxsize=8)
def from_repo_definition(cls, repo_def: RepoDefinition, type: RepoClientType):
if type == RepoClientType.WRITE:
return cls(*get_write_app_credentials(), repo_def)
Expand Down
5,114 changes: 4,087 additions & 1,027 deletions tests/automation/autofix/cassettes/test_autofix_run_coding.yaml

Large diffs are not rendered by default.

12,201 changes: 3,740 additions & 8,461 deletions tests/automation/autofix/cassettes/test_autofix_run_full.yaml

Large diffs are not rendered by default.

1,437 changes: 200 additions & 1,237 deletions tests/automation/autofix/cassettes/test_autofix_run_question_asking.yaml

Large diffs are not rendered by default.

6,035 changes: 1,034 additions & 5,001 deletions tests/automation/autofix/cassettes/test_autofix_run_root_cause_analysis.yaml

Large diffs are not rendered by default.

1,994 changes: 1,994 additions & 0 deletions tests/automation/autofix/cassettes/test_restart_step_with_user_response.yaml

Large diffs are not rendered by default.

1,056 changes: 537 additions & 519 deletions tests/automation/autofix/test_autofix_tasks.py

Large diffs are not rendered by default.

0 comments on commit f7ee3bf

Please sign in to comment.