We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88f0754 commit 34fe40aCopy full SHA for 34fe40a
src/server/query_processor.py
@@ -68,15 +68,13 @@ async def _check_s3_cache(
68
try:
69
# Use git ls-remote to get commit SHA without cloning
70
clone_config = query.extract_clone_config()
71
- commit_sha = await resolve_commit(clone_config, token=token)
72
- query.commit = commit_sha
73
-
+ query.commit = await resolve_commit(clone_config, token=token)
74
# Generate S3 file path using the resolved commit
75
s3_file_path = generate_s3_file_path(
76
source=query.url,
77
user_name=cast("str", query.user_name),
78
repo_name=cast("str", query.repo_name),
79
- commit=commit_sha,
+ commit=query.commit,
80
include_patterns=query.include_patterns,
81
ignore_patterns=query.ignore_patterns,
82
)
0 commit comments