You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4c4ffb0
Browse filesBrowse the repository at this point in the historyBrowse files
feat(plan): say how to fix missing upstreams, and rebuild cloned tables with --changed (#1562)
* fix(clone): leave replaced tables without a completed consumption record
sqb clone (and a build's --defer-clone-from) replaced a destination
table but kept its consumption rows, which describe the build the clone
overwrote, so --changed could treat the cloned table as up to date with
inputs it never read. A clone now appends a 'replaced' row for each
table and seed it replaces; --changed reads that as no completed record
and rebuilds the table once, and a later build supersedes the marker.
* feat(plan): say how to fix missing upstreams in S301 and list them all
S301 named at most five missing upstreams and stopped. It now lists the
first five, says how many more there are, and offers each fix: defer to
or clone from every target configured as a clone origin for this one
(with a copyable `sqb clone` command naming every missing resource), or
build them with `+`. Origins come from configuration only. `sqb plan
--json` lists every missing name in `error.missing`, and the plan page
shows the message as printed with a copy button per clone command.
* fix: keep S301 when its hints fail and mark partly cloned boundaries as replaced
A default target that does not resolve no longer turns S301 into an
unknown-target error; the clone command then names its destination.
--defer-to is offered only for project targets and not when the plan
already defers. A defer clone that fails for one boundary still marks
the boundaries it replaced. A failed marker write still fails the
command, but only after fingerprints are copied, and a defer clone's
C411 is reported first.
0 commit comments