Repository navigation
Conversation
- Engine: paginated history, snapshot sources (history checkpoints, backups, retained copies, .bak and object versions) and reading any of them - ObjectStore.listVersions / openReadVersion for GCS generations, S3 versionId and in-memory - diffSnapshots: by URN, replace on a new cloud id, deps as sets, secrets compared without being revealed, provider-only changes grouped; stack outputs diff - API …/history (history:read) and …/diff?from=&to= (states:read) - Stack detail: History timeline (load more, "show changes") and Changes tab with version pickers, summary and per-property diff; explains what to enable when nothing can be compared - Periodic scan and state_iac.stack.* events stay deferred (ADR 0003) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
|
Incluido en |
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.
Summary
Fase 3 de State IaC (#105). Cada stack tiene su historial de despliegues y muestra qué cambió entre dos versiones del estado. El escaneo periódico y los eventos
state_iac.stack.*se quedan fuera, como decidió el ADR 0003.Va apilada sobre #115 (fase 2).
Closes #108 (salvo la parte opcional de eventos, aplazada)
Cambios
*.history.json:kind,result, inicio, fin y duración,resourceChanges, la config con los secretos enmascarados, y delenvironmentsolo los campos de una lista permitida (commit, rama, repo, autor, versión de Pulumi y tipo de ejecución, sin emails ni rutas).GET …/history(project:stateiac:history:read).backups/, checkpoints retenidos (PULUMI_RETAIN_CHECKPOINTS) y el.bak.ObjectStore.listVersions/openReadVersion, con generations en GCS y versionId en S3. Si el bucket no tiene versionado o faltan permisos, se devuelve una lista vacía.diffSnapshots:replace.providerOnly, y también se comparan los outputs del stack.GET …/diff?from=&to=(project:stateiac:states:read). Por defecto compara el último update con el anterior y devuelve también las fuentes disponibles.resourceChangesy explica qué activar (versionado del bucket oPULUMI_RETAIN_CHECKPOINTS).Tests
bun run checksale sin errores y pasan los 910 tests unitarios.replacedel certificado gestionado.providerOnly.inputs.publicIp.replace.history:readnistates:readno aparecen las pestañas.brand-ui.spec.tssigue fallando de forma intermitente, igual que endevelopment.🤖 Generated with Claude Code