Repository navigation
feat: Implement artifact upload flow and storage (Task 006) - #72
Merged
Merged
Conversation
…ent hash, blob storage, events) - Add type_detector.py for content-based artifact type detection - Add content_hash.py for SHA-256 content hashing - Add publish_event and build_cloud_event to EventGridPublisher - Add upload_blob, download_blob, download_blob_stream to BlobService - Add blob_path field to Artifact model - Add update method to ArtifactRepository - Implement upload_artifact and download_artifact in ArtifactService - Add POST upload and GET download endpoints to artifact router - Add pyyaml dependency Agent-Logs-Url: https://github.com/christopherhouse/Azure-Integration-Copilot/sessions/4cb396ca-06ce-4a66-999a-7a41a96ba68f Co-authored-by: christopherhouse <748998+christopherhouse@users.noreply.github.com>
- Add test_type_detection.py (11 tests for type detection) - Add test_artifact_upload.py (6 tests for upload endpoint) - Add test_artifact_download.py (3 tests for download endpoint) - Add artifact-status-badge.tsx (color-coded status badges) - Add artifact-list.tsx (table showing artifacts) - Add artifact-upload.tsx (drag-and-drop upload dropzone) - Add use-artifacts.ts (React Query hooks) - Add artifacts page at projects/[projectId]/artifacts Agent-Logs-Url: https://github.com/christopherhouse/Azure-Integration-Copilot/sessions/4cb396ca-06ce-4a66-999a-7a41a96ba68f Co-authored-by: christopherhouse <748998+christopherhouse@users.noreply.github.com>
Agent-Logs-Url: https://github.com/christopherhouse/Azure-Integration-Copilot/sessions/4cb396ca-06ce-4a66-999a-7a41a96ba68f Co-authored-by: christopherhouse <748998+christopherhouse@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement artifact upload flow for Integration Copilot
feat: Implement artifact upload flow and storage (Task 006)
Mar 31, 2026
…exception Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Owner
|
@copilot Uh oh, thought you ran some tests to chck but looks lik a couple failed when running in CI. |
…ifact-upload-flow Co-authored-by: christopherhouse <748998+christopherhouse@users.noreply.github.com>
The tenant context middleware was updated on main to auto-provision tenants. The _setup_context_mocks(None) pattern triggered a 500 'Tenant not found' instead of reaching the route handler's 401 check. Fix: for no-tenant tests, patch settings with empty cosmos_db_endpoint to trigger the dev-mode-no-cosmos path, which sets tenant=None and passes through to the route handler. Agent-Logs-Url: https://github.com/christopherhouse/Azure-Integration-Copilot/sessions/608f2dbb-8eef-4fd8-b20f-c664bc4a09b4 Co-authored-by: christopherhouse <748998+christopherhouse@users.noreply.github.com>
Contributor
Author
... Fixed in da504b0. The CI failures were caused by the auto-provisioning tenant middleware merged from Fix: the no-tenant tests now patch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
src/backend/domains/artifacts/type_detector.py)src/backend/domains/artifacts/content_hash.py)publish_eventmethod to EventGridPublisher + event type constantsblob_pathfield to Artifact model +updatemethod to repositorypyyamldependencystr(exc)with generic error message in upload endpoint