Skip to content

Commit aecc11a

Browse files
chore(deps): bump next, vitest, colord, and tiptap in /moon (#2188)
* fix: show reviewer display names and unblock dep upgrades Resolve campsite ids in CL reviewer timeline events, adapt vault to secp256k1 0.33, bump pnpm to 12.4.1, and clear kebab-case/toml warnings. * feat(cl): persist closed_at and show open/close times in list Add mega_cl.closed_at, set it on close/merge and clear on reopen, and render opened · closed/merged timestamps in the CL list UI. * chore(deps): bump next, vitest, colord, and tiptap in /moon Raise next/eslint-config-next to 16.3.3, vitest to 5, colord to 2.9.4, and align @tiptap/* on 3.30.5. * fix(web): satisfy padding-line-between-statements in ReviewerEventItem Unblocks the ESLint step on the moon dependency bump PR. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent c26d409 commit aecc11a

27 files changed

Lines changed: 1526 additions & 1278 deletions

File tree

‎Cargo.lock‎

Lines changed: 245 additions & 438 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,18 @@ resolver = "3"
2626
[workspace.dependencies]
2727
api-model = { path = "api-model" }
2828
io-orbit = { path = "io-orbit" }
29-
mono = { path = "mono" }
3029
common = { path = "common" }
3130
jupiter = { path = "jupiter" }
3231
jupiter-migrate = { path = "jupiter-migrate" }
3332
ceres = { path = "ceres" }
3433
callisto = { path = "jupiter/callisto" }
3534
vault = { path = "vault" }
3635
saturn = { path = "saturn" }
37-
orion = { path = "orion" }
3836
orion-client = { path = "clients/orion-client" }
3937
orion-scheduler-client = { path = "clients/orion-scheduler-client" }
4038

4139
git-internal = "0.9.0"
42-
libvault = "0.3.0"
40+
libvault = "0.4.0"
4341

4442
#====
4543
anyhow = "1.0.104"
@@ -77,8 +75,8 @@ lettre = { version = "0.11", default-features = false, features = [
7775
"rustls-platform-verifier",
7876
] }
7977
#====
80-
sea-orm = "2.0.2"
81-
sea-orm-migration = "2.0.2"
78+
sea-orm = "2.0.3"
79+
sea-orm-migration = "2.0.3"
8280

8381
#====
8482
rand = "0.10.2"
@@ -98,7 +96,7 @@ uuid = "1.24.1"
9896
regex = "1.13.1"
9997
ctrlc = "3.5.2"
10098
cedar-policy = "4.12.0"
101-
secp256k1 = "0.31.1"
99+
secp256k1 = "0.33.1"
102100
pgp = "0.20.0"
103101
base64 = "0.23.1"
104102

@@ -128,7 +126,7 @@ redis-test = "1.0.4"
128126
rustls = "0.23.43"
129127
object_store = "0.14.1"
130128
parse-display = "0.11.0"
131-
toml = "1.1.3"
129+
toml = "1.1.6"
132130
rkyv = "0.8.18"
133131
percent-encoding = "2.3"
134132

‎ceres/src/application/code_edit/model.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -519,6 +519,7 @@ mod tests {
519519
to_hash: to_hash.to_string(),
520520
created_at: chrono::Utc::now().naive_utc(),
521521
updated_at: chrono::Utc::now().naive_utc(),
522+
closed_at: None,
522523
campsite_user_id: "tester".to_string(),
523524
base_branch: "main".to_string(),
524525
}

‎ceres/src/application/code_edit/on_edit.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ mod tests {
224224
to_hash: "2".repeat(40),
225225
created_at: now,
226226
updated_at: now,
227+
closed_at: None,
227228
campsite_user_id: "tester".to_string(),
228229
base_branch: "main".to_string(),
229230
}

‎ceres/src/application/code_edit/on_push.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ mod tests {
178178
to_hash: "2".repeat(40),
179179
created_at: now,
180180
updated_at: now,
181+
closed_at: None,
181182
campsite_user_id: "tester".to_string(),
182183
base_branch: "main".to_string(),
183184
}

‎ceres/src/application/notification/triggers.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ mod tests {
145145
to_hash: Set("b".to_string()),
146146
created_at: Set(now),
147147
updated_at: Set(now),
148+
closed_at: Set(None),
148149
campsite_user_id: Set("alice".to_string()),
149150
base_branch: Set("main".to_string()),
150151
}
@@ -224,6 +225,7 @@ mod tests {
224225
to_hash: Set("b".to_string()),
225226
created_at: Set(now),
226227
updated_at: Set(now),
228+
closed_at: Set(None),
227229
campsite_user_id: Set("alice".to_string()),
228230
base_branch: Set("main".to_string()),
229231
}

‎ceres/src/model/issue.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl From<ItemDetails> for ItemRes {
6969
author_is_bot: false,
7070
open_timestamp: model.created_at.and_utc().timestamp(),
7171
merge_timestamp: model.merge_date.map(|dt| dt.and_utc().timestamp()),
72-
closed_at: None,
72+
closed_at: model.closed_at.map(|dt| dt.and_utc().timestamp()),
7373
updated_at: model.updated_at.and_utc().timestamp(),
7474
labels: value.labels.into_iter().map(|m| m.into()).collect(),
7575
assignees: value.assignees,
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
//!
4646
//! ```bash
4747
//! # Basic (explicit config path)
48-
//! cargo run -p io-orbit --bin migrate_local_to_s3 -- --config ./config.toml
48+
//! cargo run -p io-orbit --bin migrate-local-to-s3 -- --config ./config.toml
4949
//!
5050
//! # Or via env var
51-
//! MEGA_CONFIG=./config.toml cargo run -p io-orbit --bin migrate_local_to_s3
51+
//! MEGA_CONFIG=./config.toml cargo run -p io-orbit --bin migrate-local-to-s3
5252
//!
5353
//! # Tune concurrency (default: 16)
54-
//! MIGRATE_CONCURRENCY=32 MEGA_CONFIG=./config.toml cargo run -p io-orbit --bin migrate_local_to_s3
54+
//! MIGRATE_CONCURRENCY=32 MEGA_CONFIG=./config.toml cargo run -p io-orbit --bin migrate-local-to-s3
5555
//! ```
5656
//!
5757
//! ## Verification tips
@@ -125,7 +125,7 @@ async fn run() -> Result<(), MegaError> {
125125
.map_err(|e| MegaError::Other(format!("failed to init S3-compatible client: {e}")))?,
126126
other => {
127127
return Err(MegaError::Other(format!(
128-
"migrate_local_to_s3 only supports S3/S3Compatible targets, got {:?}",
128+
"migrate-local-to-s3 only supports S3/S3Compatible targets, got {:?}",
129129
other
130130
)));
131131
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
use sea_orm_migration::prelude::*;
2+
3+
#[derive(DeriveMigrationName)]
4+
pub struct Migration;
5+
6+
#[async_trait::async_trait]
7+
impl MigrationTrait for Migration {
8+
async fn up(&self, manager: &SchemaManager) -> Result<(), DbErr> {
9+
manager
10+
.alter_table(
11+
Table::alter()
12+
.table(MegaCl::Table)
13+
.add_column_if_not_exists(ColumnDef::new(MegaCl::ClosedAt).date_time().null())
14+
.to_owned(),
15+
)
16+
.await
17+
}
18+
19+
async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
20+
manager
21+
.alter_table(
22+
Table::alter()
23+
.table(MegaCl::Table)
24+
.drop_column(MegaCl::ClosedAt)
25+
.to_owned(),
26+
)
27+
.await
28+
}
29+
}
30+
31+
#[derive(DeriveIden)]
32+
enum MegaCl {
33+
Table,
34+
ClosedAt,
35+
}

‎jupiter-migrate/src/migration/mod.rs‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ mod m20260804_120000_actor_to_campsite_user_id;
105105
mod m20260804_130000_data_backfill_ledger;
106106
mod m20260811_100000_create_campsite_member_identity;
107107
mod m20260909_120000_create_orion_vm_image;
108+
mod m20260915_100000_add_closed_at_to_mega_cl;
108109
mod runner;
109110
pub use runner::apply_migrations;
110111

@@ -197,6 +198,7 @@ impl MigratorTrait for Migrator {
197198
Box::new(m20260804_130000_data_backfill_ledger::Migration),
198199
Box::new(m20260811_100000_create_campsite_member_identity::Migration),
199200
Box::new(m20260909_120000_create_orion_vm_image::Migration),
201+
Box::new(m20260915_100000_add_closed_at_to_mega_cl::Migration),
200202
]
201203
}
202204
}

0 commit comments

Comments
 (0)