docs: update documentation with marketplace service bug fixes
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m10s
Documentation Validation / validate-docs (push) Failing after 10s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Node Failover Simulation / failover-test (push) Successful in 3s
Some checks failed
Cross-Node Transaction Testing / transaction-test (push) Successful in 2s
Deploy to Testnet / deploy-testnet (push) Successful in 1m10s
Documentation Validation / validate-docs (push) Failing after 10s
Documentation Validation / validate-policies-strict (push) Successful in 3s
Multi-Node Stress Testing / stress-test (push) Successful in 3s
Node Failover Simulation / failover-test (push) Successful in 3s
- Added marketplace service bug fixes to docs/project/5_done.md - Documented 7 bugs fixed on aitbc1 node - Updated version to 6.5 and last updated date to 2026-05-08 - All operations verified working on aitbc1 node
This commit is contained in:
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
**Complete catalog of all documentation files and directories**
|
**Complete catalog of all documentation files and directories**
|
||||||
|
|
||||||
**Last Updated**: 2026-05-03
|
**Last Updated**: 2026-05-08
|
||||||
**Version**: 6.4 (May 3, 2026 Update - documentation consolidation)
|
**Version**: 6.5 (May 8, 2026 Update - marketplace service fixes)
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
**Level**: All Levels
|
**Level**: All Levels
|
||||||
**Prerequisites**: Basic computer skills
|
**Prerequisites**: Basic computer skills
|
||||||
**Estimated Time**: Varies by learning path
|
**Estimated Time**: Varies by learning path
|
||||||
**Last Updated**: 2026-05-03
|
**Last Updated**: 2026-05-08
|
||||||
**Version**: 6.4 (May 3, 2026 Update - documentation reorganization)
|
**Version**: 6.5 (May 8, 2026 Update - marketplace service fixes)
|
||||||
|
|
||||||
## 🧭 **Navigation Path:**
|
## 🧭 **Navigation Path:**
|
||||||
|
|
||||||
|
|||||||
@@ -655,6 +655,62 @@ operational.
|
|||||||
- **Workflow Creation**: Established `/organize-project-files` workflow for
|
- **Workflow Creation**: Established `/organize-project-files` workflow for
|
||||||
future maintenance
|
future maintenance
|
||||||
|
|
||||||
|
## Recent Updates (2026-05-08)
|
||||||
|
|
||||||
|
### Marketplace Service Bug Fixes - aitbc1 Node
|
||||||
|
|
||||||
|
- ✅ **7 Bugs Fixed** - All marketplace service bugs resolved on aitbc1 node
|
||||||
|
- **Async/Sync Session** (Commit: 130a2953)
|
||||||
|
- Removed `@asynccontextmanager` decorator from `get_session()`
|
||||||
|
- Made service layer methods async with `await` for session operations
|
||||||
|
- Changed `Session` to `AsyncSession` in MarketplaceService
|
||||||
|
|
||||||
|
- **Datetime Timezone** (Commit: 6549483b)
|
||||||
|
- Changed `datetime.now(timezone.utc)` to `datetime.utcnow`
|
||||||
|
- Fixed timezone-naive datetime requirement for TIMESTAMP WITHOUT TIME ZONE column
|
||||||
|
- Applied to MarketplaceOffer and MarketplaceBid models
|
||||||
|
|
||||||
|
- **Provider NULL** (Commit: 528c822f)
|
||||||
|
- Added wallet → provider mapping in `create_offer` method
|
||||||
|
- Handles CLI parameter correctly for database NOT NULL constraint
|
||||||
|
- Fixed NotNullViolationError on provider column
|
||||||
|
|
||||||
|
- **JSON Serialization (list_offers)** (Commit: 4ac23bf3)
|
||||||
|
- Converted SQLAlchemy model objects to dictionaries in `list_offers`
|
||||||
|
- Fixed FastAPI jsonable_encoder ValueError and TypeError
|
||||||
|
- Added datetime serialization with isoformat()
|
||||||
|
|
||||||
|
- **BUY/DEAL 404** (Commit: 58784193)
|
||||||
|
- Added POST `/v1/marketplace/offers/{offer_id}/book` endpoint
|
||||||
|
- Implemented `book_offer` method to create bids for offers
|
||||||
|
- Returns bid_id, offer_id, status, and message
|
||||||
|
|
||||||
|
- **JSON Serialization (list_bids)** (Commit: fb09022e)
|
||||||
|
- Converted SQLAlchemy objects to dictionaries in `list_bids`
|
||||||
|
- Same fix applied as for `list_offers` JSON serialization issue
|
||||||
|
- Returns JSON array with bid dictionaries including datetime serialization
|
||||||
|
|
||||||
|
- **ORDERS CLI 404** (Commit: fb09022e)
|
||||||
|
- Added GET `/v1/marketplace/orders` endpoint for CLI compatibility
|
||||||
|
- Endpoint uses `list_bids` with provider filter
|
||||||
|
- Returns bids in format expected by CLI: `{"orders": [...]}`
|
||||||
|
|
||||||
|
- ✅ **All Operations Verified Working on aitbc1**
|
||||||
|
- CREATE OFFER (SELL) - Working
|
||||||
|
- LIST OFFERS - Working
|
||||||
|
- BUY/DEAL (BID) - Working
|
||||||
|
- LIST BIDS - Working
|
||||||
|
- ORDERS CLI - Working
|
||||||
|
- MESSAGES (MSG) - Working with cross-node visibility
|
||||||
|
- AGENT REGISTER - Working
|
||||||
|
|
||||||
|
- ✅ **System Status**
|
||||||
|
- All nodes synced (commit fb09022e)
|
||||||
|
- Pushed to Gitea and GitHub
|
||||||
|
- Production-ready system
|
||||||
|
- 24 services running
|
||||||
|
- Cross-node operations verified
|
||||||
|
|
||||||
## Recent Updates (2026-05-02)
|
## Recent Updates (2026-05-02)
|
||||||
|
|
||||||
### Python 3.13 Compatibility Fixes & Database Migration
|
### Python 3.13 Compatibility Fixes & Database Migration
|
||||||
|
|||||||
Reference in New Issue
Block a user