Skip to content

Commit 9929156

Browse files
committed
Merge branch 'qv2' into qv2-merge
2 parents 95cd642 + a51a51e commit 9929156

File tree

14 files changed

+81
-63
lines changed

14 files changed

+81
-63
lines changed

build-config/buildspec-macos_aarch64.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ phases:
1212
commands:
1313
- export AWS_MAX_ATTEMPTS=10
1414
- echo "path - $PATH"
15+
- echo "user - $(whoami)"
1516
- AWS_ACCOUNT=`aws sts get-caller-identity | jq -r '.Account'`
1617
# For now assume there is a suitable EC2 instance running. Obviously, we could add a StepFunction here to
1718
# get a new one, but this is a start
@@ -36,6 +37,7 @@ phases:
3637
# TODO(grant): change bucket name to env var
3738
- aws s3 cp --recursive s3://fig-io-desktop-build-output-$AWS_ACCOUNT-$AWS_REGION/staging .
3839
- aws s3 rm --recursive s3://fig-io-desktop-build-output-$AWS_ACCOUNT-$AWS_REGION/staging
40+
- ls -la
3941

4042
artifacts:
4143
files:

build-scripts/build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
PTY_BINARY_NAME,
5555
PTY_PACKAGE_NAME,
5656
URL_SCHEMA,
57+
CHAT_BINARY_BRANCH,
5758
)
5859

5960
BUILD_DIR_RELATIVE = pathlib.Path(os.environ.get("BUILD_DIR") or "build")

crates/fig_auth/src/session.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ use aws_smithy_runtime_api::client::identity::{
88
IdentityFuture,
99
ResolveIdentity,
1010
};
11+
use fig_settings::sqlite::database;
1112
use tracing::{
1213
info,
1314
warn,
@@ -73,6 +74,12 @@ pub async fn logout() -> Result<()> {
7374
secret_store.delete(SocialToken::SECRET_KEY),
7475
);
7576

77+
if let Ok(db) = database() {
78+
let _ = db.unset_auth_value(BuilderIdToken::SECRET_KEY);
79+
let _ = db.unset_auth_value(DeviceRegistration::SECRET_KEY);
80+
let _ = db.unset_auth_value(SocialToken::SECRET_KEY);
81+
}
82+
7683
let profile_res = fig_settings::state::remove_value("api.codewhisperer.profile");
7784

7885
builder_res?;
-34.7 KB
Loading
-90.7 KB
Loading

crates/fig_desktop/icons/32x32.png

-3.03 KB
Loading

crates/fig_desktop/icons/icon.icns

-339 KB
Binary file not shown.

crates/fig_desktop/icons/icon.ico

187 KB
Binary file not shown.

crates/fig_desktop/icons/icon.png

-221 KB
Loading

crates/fig_integrations/src/shell/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ pub mod inline_shell_completion_plugin {
4545

4646
#[cfg(test)]
4747
mod tests {
48-
use fig_util::CLI_BINARY_NAME;
4948

5049
use super::*;
5150

0 commit comments

Comments
 (0)