Skip to content

Comments

feat(core): Sharing context between layers and service#5662

Merged
Xuanwo merged 14 commits intomainfrom
context
Feb 26, 2025
Merged

feat(core): Sharing context between layers and service#5662
Xuanwo merged 14 commits intomainfrom
context

Conversation

@Xuanwo
Copy link
Member

@Xuanwo Xuanwo commented Feb 25, 2025

Signed-off-by: Xuanwo [email protected]

Which issue does this PR close?

Part of #5480

Rationale for this change

Prepare for using context's http client.

What changes are included in this PR?

Are there any user-facing changes?

@Xuanwo Xuanwo requested review from koushiro and meteorgan February 25, 2025 10:58
@github-actions github-actions bot added the releases-note/feat The PR implements a new feature or has a title that begins with "feat" label Feb 25, 2025
}
}

/// Get service's full capabilities.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the docs

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing that out. I'll fix it in my next PR.

use reqsign::AzureStorageCredential;
use reqsign::AzureStorageLoader;
use reqsign::AzureStorageSigner;
use std::fmt;
Copy link
Member

@koushiro koushiro Feb 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should enable group_imports = "StdExternalCrate" in rustfmt.toml? although this only works with nightly, we can use cargo +nightly fmt -- --check when developing locally and still use cargo fmt -- --check in CI, wdyt?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer not to introduce unnecessary complexity into our development workflow, even if it adds some burden to our code.

However, feel free to propose a discussion on this—I’m open to feedback from the community.

Copy link
Member

@koushiro koushiro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this, a lot of dirty work 🤣

@koushiro
Copy link
Member

BTW, I think we can close #4896 once we merge this PR.

@Xuanwo Xuanwo merged commit 1c30624 into main Feb 26, 2025
280 checks passed
@Xuanwo Xuanwo deleted the context branch February 26, 2025 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/feat The PR implements a new feature or has a title that begins with "feat"

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants