diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-03 14:50:22 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-03 15:18:23 +0000 |
| commit | 874a8abe1d076cfafd9baf919ec23d7d58200698 (patch) | |
| tree | dce0d0d36bddc496ff32f8555a8790d8dc7be7e4 /docs/archive/2026-01-relay-ngit-dev-migration/README.md | |
| parent | 9fd4350c57bbe986ebf65bf3ea4c996572e81884 (diff) | |
| parent | 92a9a3bfe0bc522e8ae411991a366a3a6310d525 (diff) | |
Merge relay.ngit.dev migration: bug fixes and migration tooling
This merge includes critical bug fixes and comprehensive migration tooling
developed during the relay.ngit.dev migration effort.
Bug Fixes:
- Fix git protocol error handling to return HTTP 200 with ERR pkt-line
- Fix naughty list false positives and DNS failure identification
- Fix database query filters in load_existing_events (remove .since())
- Fix OID fetch tracking to distinguish 0 OIDs from successful fetches
- Fix purgatory event source tracking for filtered expiry logging
- Implement OID retry logic for 'not our ref' errors
Migration Tools & Documentation:
- Complete 5-phase migration analysis pipeline with orchestration script
- Phase 1: Event fetching from source relay
- Phase 2: Git sync verification
- Phase 3: Categorization and relay comparison
- Phase 4: Log extraction (parse failures, purgatory expiry)
- Phase 5: Action classification for migration decisions
- Comprehensive migration guide with lessons learned
- Troubleshooting guide for permission and corruption issues
Configuration:
- Add NGIT_LOG_LEVEL configuration option
- Update git throttle limits to 60/minute
- Improve logging throughout for better observability
Diffstat (limited to 'docs/archive/2026-01-relay-ngit-dev-migration/README.md')
| -rw-r--r-- | docs/archive/2026-01-relay-ngit-dev-migration/README.md | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/docs/archive/2026-01-relay-ngit-dev-migration/README.md b/docs/archive/2026-01-relay-ngit-dev-migration/README.md new file mode 100644 index 0000000..424067c --- /dev/null +++ b/docs/archive/2026-01-relay-ngit-dev-migration/README.md | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | # relay.ngit.dev Migration Archive (January 2026) | ||
| 2 | |||
| 3 | **Status:** Reference only - not maintained | ||
| 4 | |||
| 5 | This directory contains the migration guide and scripts used during the | ||
| 6 | relay.ngit.dev migration from ngit-relay to ngit-grasp in January 2026. | ||
| 7 | |||
| 8 | ## ⚠️ Important | ||
| 9 | |||
| 10 | These materials are **archived for reference only**: | ||
| 11 | |||
| 12 | - **Scripts are specific to the relay.ngit.dev migration context** | ||
| 13 | - **Not designed for general use or other migrations** | ||
| 14 | - **May not work without modification** | ||
| 15 | - **Not maintained or supported** | ||
| 16 | |||
| 17 | Do not expect these scripts to work out of the box for your migration. | ||
| 18 | |||
| 19 | ## What's Here | ||
| 20 | |||
| 21 | - `migration-guide.md` - Lessons learned, approach, and context from the actual migration | ||
| 22 | - `scripts/` - Analysis and validation scripts used during the migration process | ||
| 23 | |||
| 24 | ## Why Archive This? | ||
| 25 | |||
| 26 | The relay.ngit.dev migration uncovered numerous bugs and edge cases that resulted | ||
| 27 | in critical production fixes. See commits in the `4bc5-relay-ngit-dev-migration-v2` | ||
| 28 | branch for details. | ||
| 29 | |||
| 30 | These materials document: | ||
| 31 | |||
| 32 | - Real-world migration challenges encountered | ||
| 33 | - Debugging approaches that worked in practice | ||
| 34 | - Context for production fixes merged from this branch | ||
| 35 | - Iterative script development during active migration | ||
| 36 | |||
| 37 | ## Using This as Reference | ||
| 38 | |||
| 39 | If you're planning a migration to ngit-grasp: | ||
| 40 | |||
| 41 | 1. **Read the migration guide** for conceptual approach and lessons learned | ||
| 42 | 2. **Review the scripts** to understand what kinds of analysis were needed | ||
| 43 | 3. **Expect to write your own scripts** tailored to your specific context | ||
| 44 | 4. **Test extensively** in a non-production environment first | ||
| 45 | |||
| 46 | These materials show what was needed for one specific migration, not a | ||
| 47 | general-purpose migration toolkit. | ||
| 48 | |||
| 49 | ## Context | ||
| 50 | |||
| 51 | This migration was completed in January 2026 and resulted in relay.ngit.dev | ||
| 52 | running ngit-grasp in production. The branch containing these materials also | ||
| 53 | includes critical fixes for: | ||
| 54 | |||
| 55 | - Git protocol error handling | ||
| 56 | - Naughty list false positives | ||
| 57 | - Purgatory event tracking | ||
| 58 | - Sync startup issues | ||
| 59 | - Configuration management | ||
| 60 | |||
| 61 | Those fixes are now part of the main codebase. | ||