feat: v1.0 — auto-update, arranque rápido e fundação de testes - #1
Merged
Merged
Conversation
Recursos da v1.0: - Aviso de nova versão: o app consulta a última release no GitHub e mostra um banner clicável que leva à página de download (version.py, core/updates.py, UpdateBanner.tsx). Falha em silêncio quando offline. - Arranque mais rápido: lazy import das libs de IA (rembg/vtracer) e splash nativo do PyInstaller. Carregar os módulos caiu de ~7,6s para ~0,4s. - Fundação de testes: pytest (14 testes de unidade e integração), ruff e CI no GitHub Actions rodando a cada push/PR (badge no README). - build/release.py automatiza empacotamento e publicação da release com o .exe.
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.
O que muda
e mostra um banner clicável que leva ao download. Falha em silêncio se offline.
nativo do PyInstaller. Carregar os módulos caiu de ~7,6s para ~0,4s.
e GitHub Actions rodando
ruff+pytesta cada push/PR.build/release.pyempacota e publica a release com o.exe.Como testar
python app.py— janela abre rápido; as 3 ferramentas funcionam.pip install -r requirements-dev.txt→ruff check .→pytest -q.python build/release.py 1.0.0 --no-release→ instalar → splash imediato.Notas
winregé opcional).