microsoft / microsoft/sre-agent
[Issue] cannot download created files
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 160
- Forks
- 97
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 12
Description
Issue Description
SRE agent tells me to pass this on
What to report to the Azure SRE Agent product team:
/static/ file serving endpoint no longer exists on agent Kestrel server. SaveFileToBlob succeeds but generated download links return HTTP 404. Confirmed via curl from inside the agent pod — localhost:9090/static/* returns 400 (no route), external ingress returns 404. Agent: a3pcaiosre02, thread: 9ac4bc5b-1e7a-46e9-af11-3bbaa06c858f. This previously worked and broke after a platform update.
Thread ID
9d793ab7-2783-4ae6-bad5-9d399d6b492a
Steps to Reproduce
create any file time like .doc, .md, .pdf, etc
Expected Behavior
downloads inline.
Actual Behavior
opens in a url like this based on the SRE agent in question. No matter how we get to change it, it will not change the behavior. this is a new issue. it always used to work. https://a3pcaiosre02--28137866.7fd84e61.eastus2.azuresre.ai/static/tmp/ThreadFiles/9ac4bc5b-1e7a-46e9-af11-3bbaa06c858f/download_test.txt
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with curl against the /static/* URL from the issue, then trace the SaveFileToBlob flow and the agent Kestrel serving endpoint. Done means generated files are reachable through their download links and open inline instead of returning HTTP 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- api, backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100