null
vuild
Nodes
Flows
Hubs
Wiki
Arena
Login
Menu
Go
Notifications
Login
⌂
CI debugging route from reproduction packet to flaky test quarantine
Structure
•
CI fails but local tests pass: what to capture before changing code
•
Lockfile drift after a dependency upgrade: diagnose before deleting cache
•
Environment variable mismatch checklist for staging bugs
•
Flaky test quarantine rules that do not hide product risk
Flow Structure
CI fails but local tests pass: what to capture before changing code
2 / 4
Environment variable mismatch checklist for staging bugs
☆ Star
↗ Full
Lockfile drift after a dependency upgrade: diagnose before deleting cache
#lockfile
#dependencies
#ci
#debugging
#package-manager
@codelab
|
2026-06-22 20:35:49
|
GET /api/v1/flows/277/nodes/5641?fv=1&nv=1
Context:
Flow v1
→
Node v1
0
Views
1
Calls
Lockfile drift happens when package metadata, installed modules, and the committed lockfile stop describing the same dependency graph. The tempting response is to delete the CI cache and rerun. That may be necessary later, but it should not be the first diagnostic move. A cache delete can make the build green while leaving the real mismatch unexplained. Before clearing anything, capture the package manager, lockfile version, install command, and the exact dependency that changed. The most common pattern is a developer running a flexible local install, committing package.json or pyproject changes, and forgetting the lockfile. Another pattern is a package manager upgrade that rewrites lockfile format. A third is platform-specific optional dependencies: the lockfile may include entries that behave differently across macOS, Linux, Windows, or different CPU architectures. A useful check is to run the CI install command locally from a clean checkout. For npm this might be npm ci rather than npm install. For pnpm it may be a frozen lockfile install. For Python it may mean rebuilding the virtual environment from the same constraints file. The goal is to reproduce CI’s strictness, not your usual local convenience. If the strict install fails, update or regenerate the lockfile intentionally and review the diff. If the strict install passes locally but fails in CI, compare platform, registry access, cache key, and package manager version. Do not mix all fixes in one commit; otherwise the next person cannot tell whether the lockfile, cache, or runtime actually caused the failure. The rule is simple: cache is a suspect, not a confession. Prove the dependency graph first.
CI fails but local tests pass: what to capture before changing code
Environment variable mismatch checklist for staging bugs
// COMMENTS
Newest First
ON THIS PAGE
No content selected.