-
Notifications
You must be signed in to change notification settings - Fork 114
ci: add RelWithDebInfo build and fix free-nonheap-object error #812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1377,9 +1377,9 @@ Result<std::unique_ptr<TableMetadata>> TableMetadataFromJson(const nlohmann::jso | |
| TimePointMs{std::chrono::milliseconds(last_updated_ms)}; | ||
|
|
||
| if (json.contains(kRefs)) { | ||
| ICEBERG_ASSIGN_OR_RAISE( | ||
| table_metadata->refs, | ||
| FromJsonMap<std::shared_ptr<SnapshotRef>>(json, kRefs, SnapshotRefFromJson)); | ||
| ICEBERG_ASSIGN_OR_RAISE(auto refs, FromJsonMap<std::shared_ptr<SnapshotRef>>( | ||
| json, kRefs, SnapshotRefFromJson)); | ||
| table_metadata->refs = std::move(refs); | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. seems like a more readable version of previous version, however it seems disconnected from the change discussed in this PR?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, this is related to the new RelWithDebInfo coverage: that build exposed the |
||
| } else if (table_metadata->current_snapshot_id != kInvalidSnapshotId) { | ||
| table_metadata->refs["main"] = std::make_unique<SnapshotRef>(SnapshotRef{ | ||
| .snapshot_id = table_metadata->current_snapshot_id, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is my understanding correct that the timeout was doubled becuase now for ubuntu 2 build configurations are going to be executed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really. Each build runs as its own job. I doubled that because this is a cold build, no cache can be utilized. Also,
RelWithDebInfomay take longer since it's an -O2 build. It shouldn't take this long once it's merged into main and sccache starts taking effect.