Skip to content

History

Revisions

  • sync: wiki updated from main (6d3fe835580537e51f6eae825ff17efb6e892ec5)

    @github-actions github-actions[bot] committed Jun 27, 2026
    dec6bbd
  • sync: wiki updated from main (4fb12c21d585b622948d6e5572fe3723a8735d34)

    @github-actions github-actions[bot] committed Mar 6, 2026
    85eeca7
  • docs: add WebUI screenshots to wiki and README - Add 4 screenshots (Overview, Sessions, Events, Config) to wiki/images/ - Update wiki/WebUI.md with embedded screenshots in relevant sections - Add new WebUI section with 2 screenshots to README.md - Screenshots captured from mock WebUI with realistic data

    Lucas Nishimura committed Mar 6, 2026
    fad38bd
  • feat(webui): expose sync jobs with real-time observability - Add SyncProgress struct with atomic counters for lock-free progress tracking - Add GET /api/v1/sync/status endpoint (running state, progress, last result) - Add SyncStatusDTO, SyncProgressDTO, SyncResultDTO, SyncBucketDTO in dto.go - Implement SyncStatusSnapshot() on Handler (HandlerMetrics interface) - Add Prometheus metrics: sync_running, sync_files_*, sync_bytes_uploaded_total - Add renderSyncStatusCard in WebUI with animated progress bar, ETA, counters - Integrate syncStatus in fetchOverview polling (2s interval) - Add 3 unit tests: TestSyncStatus_Idle/Running/WithLastResult - Update WebUI.md documentation with new endpoint

    Lucas Nishimura committed Mar 5, 2026
    f30dc48
  • docs: add retroactive sync section to Object Storage wiki

    Lucas Nishimura committed Mar 5, 2026
    74ae5d9
  • feat: add verify_integrity option for pre-rotate archive validation Adds a new StorageInfo field 'verify_integrity' (default: false) that validates the integrity of compressed tar archives (.tar.gz / .tar.zst) after commit and before rotation. This prevents deletion of old backups when the newly committed backup is corrupted (fail-safe). The verification reads and decompresses the entire tarball, equivalent to: tar -I zstd -tf archive.tar.zst > /dev/null Changes: - New: internal/server/integrity.go — VerifyArchiveIntegrity() - New: internal/server/integrity_test.go — 9 test cases (valid, corrupt, truncated, empty, unsupported extension, non-existent) - Modified: internal/config/server.go — VerifyIntegrity field in StorageInfo - Modified: internal/server/handler_single.go — integrate between Commit/Rotate - Modified: internal/server/handler_parallel.go — integrate between Commit/Rotate - Modified: configs/server.example.yaml — document new option - Modified: docs/specification.md, docs/usage.md, wiki/Especificacao-Tecnica.md

    Lucas Nishimura committed Mar 3, 2026
    3e3c713
  • docs(wiki): add Object Storage page and update references New wiki/Object-Storage.md with comprehensive documentation. Update _Sidebar, Home, Especificacao-Tecnica, and Arquitetura with links and references to the new Object Storage feature.

    Lucas Nishimura committed Mar 2, 2026
    d3d3df5
  • docs(wiki): atualiza wiki para v3.1.0 - Espelha ParallelJoin com JoinReason Flags na Especificacao-Tecnica - Espelha Final ChunkSACK Drain e SACK Timeout na Especificacao-Tecnica e Arquitetura - Adiciona seção Final Drain no FAQ com exemplo de logs - Adiciona seção Ferramentas de Diagnostico no Guia-de-Uso - Adiciona scripts/ na estrutura do projeto (Arquitetura)

    Lucas Nishimura committed Mar 2, 2026
    df4e7e2
  • docs(wiki): fix WebUI endpoints, port, persistence info and add slot/chunk metrics

    Lucas Nishimura committed Mar 1, 2026
    c5ca9e5
  • docs(wiki): add Per-N-Chunk Port Rotation section to usage guide

    Lucas Nishimura committed Mar 1, 2026
    da16693
  • docs(readme): add Slot-Based Sessions, Port Rotation and Prometheus Metrics to features

    Lucas Nishimura committed Mar 1, 2026
    fd6954b
  • docs(config): add port_rotation to agent example and config reference

    Lucas Nishimura committed Mar 1, 2026
    5cd67c9
  • docs(arch): add Slot struct, ControlSlotPark/Resume and update parallel session internals

    Lucas Nishimura committed Mar 1, 2026
    0d332e4
  • docs(spec): update protocol to v5 with SlotID and new control frames - ChunkHeader: StreamIndex+ChunkSeq → GlobalSeq+Length+SlotID - Protocol version: 0x03 → 0x05 - Add ControlSlotPark (CSLP) and ControlSlotResume (CSLR) frames - Add port_rotation configuration section - Remove WebUI/Zstd from 'out of scope' (already implemented)

    Lucas Nishimura committed Mar 1, 2026
    d907acd
  • refactor: remove GapTracker and NACK/RetransmitResult chain - Delete gap_tracker.go and gap_tracker_test.go - Remove GapTracker field, gapCheckLoop, and all GapTracker calls from handler.go - Remove ControlNACK and ControlRetransmitResult structs, magic bytes, and read/write functions from protocol/control.go - Remove onNACK callback, SetOnNACK, SendRetransmitResult from agent control_channel.go - Remove NACK handler registration block from agent backup.go - Remove ControlRetransmitResult tests from protocol/control_test.go - Add WarnDeprecated() to ServerConfig for graceful deprecation of gap_detection YAML section - Call WarnDeprecated() in server main.go after logger creation - Replace GapDetection config tests with deprecation-aware test - Enrich chunk lifecycle logging: add chunk_receive_failed and chunk_buffered log events in receiveParallelStream - Update server.example.yaml with deprecated gap_detection section - Mark gap_detection as deprecated in docs/usage.md, wiki/Configuracao-de-Exemplo.md, and wiki/Guia-de-Uso.md - Save removal plan to planning/gap_tracker_removal_plan.md ChunkSACK per-chunk acknowledgment and Per-N-Chunk Rotation provide equivalent or superior reliability, making the GapTracker redundant.

    Lucas Nishimura committed Mar 1, 2026
    65d67b9
  • docs: add bandwidth_limit retransmission guarantee notes Document that without a configured bandwidth_limit, there is no guarantee of successful retransmission of lost chunks in parallel backups. Updated usage.md, server.example.yaml, and wiki pages.

    @nishisan nishisan committed Feb 28, 2026
    4f90714
  • Normalize wiki filenames and fix references

    @nishisan nishisan committed Feb 27, 2026
    37a3ba0
  • docs: document storages.<name>.chunk_fsync in docs and wiki

    Lucas Nishimura committed Feb 24, 2026
    991e8de
  • docs(wiki): espelha atualizações de docs/ na wiki - wiki/Arquitetura.md: expande seção 8 com API REST completa, WebUI (SPA), tabela de componentes — alinhando com docs/architecture.md - wiki/Especificação-Técnica.md: porta chunk_shard_levels da seção de Parallel Streaming (doc já tinha, wiki estava desatualizada)

    Lucas Nishimura committed Feb 24, 2026
    a711f0b
  • docs: cobertura de documentação — Fase 1 e Fase 2 Fase 1 (P0/P1 — correções de verdade funcional): - configs/server.example.yaml: remove comentário legado drain_mode; esclarece semântica de drain_ratio nos comentários - docs/specification.md: corrige storage: (singular) → storages: (plural) na seção 4.2; atualiza exemplo com chunk_buffer e assembler_mode - docs/specification.md e wiki/Especificação-Técnica.md: corrige range 1-8 → 1-255 para parallels/MaxStreams (2 ocorrências em cada) - docs/usage.md e wiki/Guia-de-Uso.md: corrige range 1-8 → 1-255; corrige dica com sintaxe inválida parallels: 2-4 → parallels: 2 a 4 Fase 2 (P1 — cobertura de features novas): - docs/specification.md e wiki/Especificação-Técnica.md: adiciona frame ControlIngestionDone (CIDN) na seção 3.6 do protocolo de controle - docs/usage.md e wiki/Guia-de-Uso.md: adiciona seções completas de chunk_buffer (size, drain_ratio, semântica) e DSCP Marking - wiki/Configuração-de-Exemplo.md: adiciona bloco chunk_buffer no server.yaml de exemplo; adiciona campos dscp e chunk_buffer.* nas tabelas de referência de campos - wiki/Cenários-de-Configuração.md: adiciona cenário 11 HDD/NAS lento com chunk_buffer (agent + server YAML completos, guia de tuning)

    Lucas Nishimura committed Feb 24, 2026
    9f6ad35
  • docs(wiki): adiciona página de cenários de configuração com 10 casos de uso - Backup simples (single stream, /etc + /var/www) - Múltiplos diretórios para múltiplos storages (DB + logs) - Backup paralelo via WAN (adaptive, 6 streams, latência ~30ms) - Link saturado — throttling + parallel (bandwidth_limit: 20mb) - Servidor NVMe — alta performance (eager + 128mb mem limit) - Servidor HDD/USB — baixa pressão de I/O (lazy mode) - Múltiplos agents → único server centralizado (5 agents, WebUI) - WebUI com persistência completa (events_file, session_history_file) - Backup noturno crítico — 90 dias de retenção, buffer 1gb - Ambiente de desenvolvimento — snapshot a cada 4h, baixa retenção Atualiza _Sidebar.md com link para nova página

    Lucas Nishimura committed Feb 21, 2026
    5919fcc
  • docs(wiki): atualiza documentação para v2.6.0 - Home: adiciona Chunk Sharding e WebUI persistence na feature table; melhora descrições de Rotação e Retry - Arquitetura: documenta chunk_shard_levels no assembler, fix do retry counter (v2.6.0), persistência JSONL da WebUI, atualiza estrutura do projeto com novos arquivos, adiciona decisões arquiteturais #10 e #11 - Guia-de-Uso: adiciona seção chunk_shard_levels com exemplos por tipo de storage e quando usar 2 níveis - Configuração-de-Exemplo: atualiza server.yaml com chunk_shard_levels, logging.file, stream_stats, web_ui com allow_origins, listen=127.0.0.1:9848, campos de persistência - Especificação-Técnica: adiciona chunk_shard_levels na seção de Parallel Streaming; documenta fix do retry counter - WebUI: reescreve página com novos campos (events_file, session_history_file, active_sessions_file, active_snapshot_interval, allow_origins, listen, timeouts HTTP)

    Lucas Nishimura committed Feb 21, 2026
    8d17c3f
  • docs: add GitHub Wiki structure with 9 pages Create wiki/ directory with complete documentation for the GitHub Wiki: - Home.md: project overview, features, downloads - Arquitetura.md: C4 model, components, data flow, security - Instalação.md: build, PKI/mTLS, systemd setup - Guia-de-Uso.md: CLI, daemon, retry, parallel streaming, throttling - Especificação-Técnica.md: NBKP protocol, binary frames, sessions - Configuração-de-Exemplo.md: annotated agent.yaml and server.yaml - WebUI.md: observability dashboard features and API - FAQ.md: troubleshooting and common questions - _Sidebar.md: wiki navigation All pages use wiki-style [[links]], PlantUML diagrams via uml.nishisan.dev proxy, and PT-BR content.

    Lucas Nishimura committed Feb 18, 2026
    fc9a7da