instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
socialincome-san__public__714 | socialincome-san/public | 714 | defect | 6a335f259a7b85a83fca23462f701e9e4f204274 | f27f3618e04419b0134d7b33d870b5921e56176f | feature(functions): update campaign amount_collected_chf in stripe hook | More an outline of how it could be done, rather than the final implementation.
Needs testing if the metadata appended here https://github.com/socialincome-san/public/pull/713 actually gets appended to a charge by stripe. | diff --git a/admin/src/App.tsx b/admin/src/App.tsx
index 1118b7629f..2ac59aae65 100644
--- a/admin/src/App.tsx
+++ b/admin/src/App.tsx
@@ -8,6 +8,7 @@ import {
performAlgoliaTextSearch,
} from 'firecms';
import { adminsCollection } from './collections/Admins';
+import { campaignsCollection } from './collections/Cam... | 2 | 2 | 2 | [{"id": "G0", "claim": "The campaign increment should use charge.balanceTransaction.amount instead of charge.amount, because charge.amount can be in a currency other than CHF, as done in constructContribution().", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ... | null |
socketio__socket.io-redis-adapter__525 | socketio/socket.io-redis-adapter | 525 | defect | ef5f0da0b4928fd422afc985aec0e233d34400c0 | 7fcf6115cd4f5f4fdbccad3c3f649a9fc7e999e4 | fix(sharded): private room broadcast in dynamic mode | Fixes #524 by adding a check for `expectSingleResponse` flag, which is added for `RemoteSocket` instances [here](https://github.com/socketio/socket.io/blob/54dabe5bffeb705fd006729725dd2fa194f70ecf/lib/broadcast-operator.ts#L491). I couldn't find any documentation about that flag, but it seems to be the only way of iden... | diff --git a/lib/sharded-adapter.ts b/lib/sharded-adapter.ts
index ce4920e..a8a9129 100644
--- a/lib/sharded-adapter.ts
+++ b/lib/sharded-adapter.ts
@@ -128,7 +128,8 @@ class ShardedRedisAdapter extends ClusterAdapter {
this.opts.subscriptionMode === "dynamic" &&
message.type === MessageType.BROADCAST &&
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The added !expectSingleResponse check is not sufficient, since it only works with RemoteSocket objects and not when calling io.to(someSocketId).emit(...).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
socketio__socket.io__4773 | socketio/socket.io | 4,773 | defect | 03046a64adbfd021a01449027401cab639fd244e | 4c521e7af13b60e5a7f0139fc022f71af9469e66 | Clean up namespaces after client is rejected in middleware | ### The kind of change this PR does introduce
* [x] a bug fix
* [ ] a new feature
* [ ] an update to the documentation
* [ ] a code change that improves performance
* [ ] other
Change is fixing bug described here: https://github.com/socketio/socket.io/issues/4772
| diff --git a/lib/socket.ts b/lib/socket.ts
index 89b5eeaf31..4825c67c1e 100644
--- a/lib/socket.ts
+++ b/lib/socket.ts
@@ -758,9 +758,6 @@ export class Socket<
}
this._cleanup();
- this.nsp._remove(this);
- this.client._remove(this);
- this.connected = false;
this.emitReserved("disconnect", re... | 2 | 1 | 1 | [{"id": "G0", "claim": "this.nsp._remove(this) should be called in all the places where _cleanup() is invoked — the disconnect path at this site and the two call sites in lib/namespace.ts.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "this.client._remov... | null |
socketio__socket.io__4817 | socketio/socket.io | 4,817 | defect | d744fda77207ecf1fa4bc1cd3d32eaa403deca9f | c188ab6db35e1764eed280a19252d24312c3969e | improve emit types | ### The kind of change this PR does introduce
* [x] a bug fix
* [ ] a new feature
* [ ] an update to the documentation
* [ ] a code change that improves performance
* [ ] other
### Current behavior
The types of the `emit`, `emitWithAck`, `serverSideEmit`, and `serverSideEmitWithAck` have issues with their ty... | diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000000..25fa6215fd
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "typescript.tsdk": "node_modules/typescript/lib"
+}
diff --git a/lib/broadcast-operator.ts b/lib/broadcast-operator.ts
index 0dbeebb42d..880e31ea82... | 5 | 3 | 2 | [{"id": "G0", "claim": "The emitWithAck/serverSideEmitWithAck functions should only allow event names that have ack functions.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "RemoveAcknowledgements should filter out the events with an acknowledgement inst... | null |
socketry__cool.io__29 | socketry/cool.io | 29 | defect | 6cd991590d46efd4c6f076df17d934da54bd24bf | 7453ed1ff1e20de4c99002e24407fcacdb0ad081 | timeout option for Coolio::Loop#run_once | @repeatedly I implemented the timeout option for Coolio::Loop#run_once to solve the problem https://github.com/fluent/fluentd/pull/257
The implementation is basically porting from celluloid/nio4r. See https://github.com/celluloid/nio4r/blob/568263ba27dc4b2744f72781c8d4d0a19223caa0/ext/nio4r/nio4r.h#L16 and https://git... | diff --git a/ext/cool.io/cool.io.h b/ext/cool.io/cool.io.h
index 364d4ae..c1a168c 100644
--- a/ext/cool.io/cool.io.h
+++ b/ext/cool.io/cool.io.h
@@ -32,6 +32,7 @@ struct Coolio_Event
struct Coolio_Loop
{
struct ev_loop *ev_loop;
+ struct ev_timer timer; /* for timeouts */
int running;
int events_received... | 4 | 3 | 0 | [{"id": "G0", "claim": "Use `if (` with a space instead of `if(`, in this spot and in the other `if` and `while` conditions of the change.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The `#else`/`if(0)` fallback code block is not needed becau... | null |
socketry__cool.io__45 | socketry/cool.io | 45 | defect | 8a330815d6505cb3cd97cfb07d619e36967f4906 | 5e175cca4417627446a1f0bc99703beed06d0d39 | bumping ev version | This is needed for cool.io to be compiled under the new OS X version, El Capitan
| diff --git a/ext/libev/Changes b/ext/libev/Changes
index 3df761b..1ed0c4d 100644
--- a/ext/libev/Changes
+++ b/ext/libev/Changes
@@ -15,6 +15,12 @@ TODO: document portability requirements for atomic pointer access
TODO: possible cb aliasing?
TODO: document requirements for function pointers and calling conventions.
... | 2 | 2 | 1 | [{"id": "G0", "claim": "The refactored ev_backend_poll no longer returns a value; 'return Qnil;' is needed to avoid a compiler warning.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The marker comments in the patch read 'NIO4R PATCHERY' - asking wh... | null |
socketry__cool.io__79 | socketry/cool.io | 79 | defect | 6956af81732b29319ad9ff10933a7c50f07d47a1 | 026b94b76887ac1ca43862a3145e6958b9aba696 | Support Ruby 3.3 | Fix #77
This follows the example fix shown in [[Feature #19057]](https://bugs.ruby-lang.org/issues/19057#note-18) at [94dbdd9497](https://github.com/casperisfine/raindrops/commit/94dbdd94977d895f98c084d0ca31c2b9cf0d25d3). I also changed `#if HAVE_RB_IO_T` to `#if defined(HAVE_RB_IO_T)` so that it will not print warn... | diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 976f798..d92113e 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -24,7 +24,7 @@ jobs:
- "3.0"
- "3.1"
- "3.2"
- # - "head"
+ - "head"
experimen... | 3 | 2 | 1 | [{"id": "G0", "claim": "In both IO_Buffer_read_from and IO_Buffer_write_to the new HAVE_RB_IO_DESCRIPTOR branch returns just rb_io_descriptor(io) instead of passing it to buffer_read_from/buffer_write_to, so on Ruby 3.3 the functions return the file descriptor without reading or writing the buffer.", "category": "corre... | null |
socketry__io-event__139 | socketry/io-event | 139 | defect | 4848faf2e29f84f4e7a9a68bf4070643f1a94213 | f9164a2e5ae9b7e99652f365a19a1db347a729c2 | Introduce `IO::Event::WorkerPool` for `blocking_operation_wait`. | This implements a thread-based worker pool that integrates with Ruby's experimental fiber scheduler `blocking_operation_wait` hook to handle blocking operations asynchronously. The WorkerPool uses feature detection to support the new `rb_fiber_scheduler_blocking_operation_*` functions introduced in recent Ruby versions... | diff --git a/ext/extconf.rb b/ext/extconf.rb
index 7aa6d0f8..483e59ca 100755
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -23,7 +23,7 @@
append_cflags(["-DRUBY_DEBUG", "-O0"])
end
-$srcs = ["io/event/event.c", "io/event/time.c", "io/event/fiber.c", "io/event/selector/selector.c"]
+$srcs = ["io/event/event.c", "io/... | 4 | 2 | 1 | [{"id": "G0", "claim": "Consider adding unit tests for WorkerPool#call to verify that submitted tasks execute and that the returned promise resolves or rejects correctly.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The build list includes io/event/wo... | null |
socketry__io-event__72 | socketry/io-event | 72 | defect | 54b8352eb01bda1c5385593639da450b7b141146 | cb275fc99b3614c6dddcd2ec14fc363ef2696cc0 | NetBSD/OpenBSD compatibility for KQueue selector, some FreeBSD fixes | NetBSD/OpenBSD do not support EVFILT_USER. Use self-pipe trick already implemented for EPoll.
Fix two tests on NetBSD. One failed because NetBSD does not have bidirectional pipes (and did not return the expected errno). The other seems related to SIGCHLD timing.
Fix #process_wait failing erratically on BSDs. keve... | diff --git a/ext/extconf.rb b/ext/extconf.rb
index 8d5bfabc..6b640018 100755
--- a/ext/extconf.rb
+++ b/ext/extconf.rb
@@ -50,9 +50,7 @@
$srcs << "io/event/selector/epoll.c"
end
-# The order matters, because we MUST have EVFILT_USER.
-# The `have_header` call is just to add the -D to the compiler flags.
-if have_c... | 1 | 1 | 0 | [{"id": "G0", "claim": "Wrap the EVFILT_USER-based conditional compilation in a dedicated feature macro (e.g. IO_EVENT_SELECTOR_KQUEUE_USE_INTERRUPT) defined early in the file, to keep the feature independent of the reason for enabling it, and consider a similar treatment for the process_prewait code path.", "category"... | null |
socketry__nio4r__188 | socketry/nio4r | 188 | defect | 0036ccb0595ac1365d7e4a7b6d3061f3be7b12d3 | 0c27b7bd0b62c316630151acba3f5b4303c8c984 | Fix remove interests | @tarcieri can you please review, merge and release? Thanks. | diff --git a/ext/nio4r/monitor.c b/ext/nio4r/monitor.c
index af04f5b..a448aa8 100644
--- a/ext/nio4r/monitor.c
+++ b/ext/nio4r/monitor.c
@@ -111,7 +111,8 @@ static VALUE NIO_Monitor_initialize(VALUE self, VALUE io, VALUE interests, VALUE
object where it originally came from */
monitor->selector = selector;... | 1 | 1 | 0 | [{"id": "G0", "claim": "The body of the newly added `if (monitor->interests)` in NIO_Monitor_initialize should be wrapped in braces.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
socketry__nio4r__246 | socketry/nio4r | 246 | defect | 60b3d74af052c07ccad4c6d97868393243d5e42e | 3afa3f753d34065b0711a57697b998d9c40daec0 | Use clang-format for consistent styles, as discussed in PR #242 | This PR currently has only the clang-format file, avoiding any changes to other files.
The style matches the discussion in #242 , where we strive for the minimal amount of changes in the code while also setting:
```yaml
AlignConsecutiveMacros: false
AlignConsecutiveAssignments: false
BreakBeforeBraces: Attach
... | diff --git a/ext/nio4r/.clang-format b/ext/nio4r/.clang-format
new file mode 100644
index 0000000..315f9b2
--- /dev/null
+++ b/ext/nio4r/.clang-format
@@ -0,0 +1,14 @@
+---
+Language: Cpp
+BasedOnStyle: WebKit
+AllowAllParametersOfDeclarationOnNextLine: false
+BinPackArguments: false
+BinPackParameters: false
+... | 2 | 1 | 0 | [{"id": "G0", "claim": "The pull request should not apply the clang-format styling to the libev code base, since that code comes from upstream and needs to be diffed/merged occasionally.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The added `Language:` ... | null |
socketry__nio4r__297 | socketry/nio4r | 297 | defect | fbd65ff2b327d839512fc3a3727981ed11ceb3d1 | fd58571e8162c116262a8984d6336daff5eef5ae | Fix conversion loses int precision | For: https://github.com/socketry/nio4r/issues/298
```zsh
compiling bytebuffer.c
bytebuffer.c:308:20: warning: implicit conversion loses integer precision: 'ssize_t' (aka 'long') to 'int' [-Wshorten-64-to-32]
return INT2NUM(bytes_read);
~~~~~~~ ^~~~~~~~~~
bytebuffer.c:338:20: warning: implicit con... | diff --git a/ext/nio4r/bytebuffer.c b/ext/nio4r/bytebuffer.c
index 2bd7635..5e0e9e5 100644
--- a/ext/nio4r/bytebuffer.c
+++ b/ext/nio4r/bytebuffer.c
@@ -305,7 +305,7 @@ static VALUE NIO_ByteBuffer_read_from(VALUE self, VALUE io)
buffer->position += bytes_read;
- return INT2NUM(bytes_read);
+ return INT2N... | 1 | 1 | 1 | [{"id": "G0", "claim": "Use SIZET2NUM instead of casting bytes_read to int in NIO_ByteBuffer_read_from, since the value can be assumed positive at that point and the (int) cast can lose precision.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
socketry__nio4r__49 | socketry/nio4r | 49 | defect | 43297a67f892107185e4eed6d6708c7fcb3ec0d9 | f321860d9fd8178645feed2bca8f9ccba826229c | fix most of the compiler warnings | except strict-aliasing warnings when using libev API
| diff --git a/ext/nio4r/extconf.rb b/ext/nio4r/extconf.rb
index 4ddb38d..c8e4dc7 100644
--- a/ext/nio4r/extconf.rb
+++ b/ext/nio4r/extconf.rb
@@ -32,6 +32,10 @@
$defs << '-DHAVE_SYS_RESOURCE_H'
end
+if RUBY_VERSION.to_f < 1.9
+ $defs << '-DHAVE_RUBYSIG_H'
+end
+
dir_config 'nio4r_ext'
create_makefile 'nio4r_ext... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the now-orphaned `/* Internal functions */` comment in ext/nio4r/monitor.c, left dangling by the pull request's removal of the NIO_Monitor_callback declaration under it.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
socketsupply__tonic__102 | socketsupply/tonic | 102 | defect | 6cdf0d5e6c4d0eafd636537e54d35f3cfdc4c795 | 733bf3717cca62e89fe0edae6ce56c44e49b7a4f | add support for passing Map, Set, and WeakMap instances as props | Closes #69 | diff --git a/dist/tonic.min.js b/dist/tonic.min.js
index c9ab2235..19437320 100644
--- a/dist/tonic.min.js
+++ b/dist/tonic.min.js
@@ -1,2 +1,2 @@
-var f=Object.defineProperty;var h=(d,t)=>f(d,"name",{value:t,configurable:!0});class l{constructor(t,e,r){this.isTonicTemplate=!0,this.unsafe=r,this.rawText=t,this.template... | 3 | 2 | 0 | [{"id": "G0", "claim": "Given #101, the PR should omit the dist/tonic.min.js and index.js diffs; author offers to fix if necessary.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new case labels in src/index.js should use single quotes everywher... | null |
sockudo__sockudo__113 | sockudo/sockudo | 113 | defect | e794b52ea48419e442f3988a12863d6632abcf92 | ca5a2b8e2d851582bb9c8d2b538e291d77a4866a | Feat/multinode comms improvements | ## Description
Reduce internode communications when single node instance, optimisation to avoid unecessary work in single node deployments.
## Type of Change
<!-- Mark the relevant option with an "x" -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds fu... | diff --git a/src/adapter/horizontal_adapter.rs b/src/adapter/horizontal_adapter.rs
index bf289f5a..151a9f73 100644
--- a/src/adapter/horizontal_adapter.rs
+++ b/src/adapter/horizontal_adapter.rs
@@ -1067,6 +1067,12 @@ impl HorizontalAdapter {
socket_id, channel, node_id
);
}
+
+ /// Get co... | 3 | 3 | 1 | [{"id": "G0", "claim": "The integration test test_should_skip_horizontal_communication calls should_skip_horizontal_communication, which is private on HorizontalAdapterBase, so the integration-test crate will fail to compile; make it public (or otherwise expose the logic).", "category": "correctness", "verdict": "suppo... | null |
sockudo__sockudo__116 | sockudo/sockudo | 116 | defect | e794b52ea48419e442f3988a12863d6632abcf92 | cdc23f2f8bfd3ad8843caf1771fe8a708520206d | Fix/unsupported character for channel | ## Description
<!-- Provide a brief description of the changes in this PR -->
## Type of Change
<!-- Mark the relevant option with an "x" -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would... | diff --git a/src/utils.rs b/src/utils.rs
index b344df7df..abc7eb114 100644
--- a/src/utils.rs
+++ b/src/utils.rs
@@ -73,6 +73,7 @@ pub async fn validate_channel_name(app: &App, channel: &str) -> crate::error::Re
|| c == '@'
|| c == '.'
|| c == ':'
+ || c == '#'
}) ... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new tests test_user_data_as_object and test_structured_message_format in tests/github_issue_fixes.rs assume user_data can be a JSON object while the implementation only supports a JSON string, so these tests will fail with the current codebase and the issue must be addressed before merging (... | null |
sockudo__sockudo__119 | sockudo/sockudo | 119 | defect | 1880ee775ca1795cc9fb641df9a03e6f6b8593f1 | e1c8dc43fa90b284294b2306ccbf0ef0caa70023 | Use Arc<T> instead of &Arc<T> | ## Description
In places where Arc<T> can be moved (for example: initialize_socket_with_quota_check in src/adapter/handler/mod.rs), Arc<T> should be more performant than passing it by reference.
## Type of Change
<!-- Mark the relevant option with an "x" -->
- [ ] Bug fix (non-breaking change which fixes an issue... | diff --git a/src/adapter/connection_manager.rs b/src/adapter/connection_manager.rs
index 4027669d..05700987 100644
--- a/src/adapter/connection_manager.rs
+++ b/src/adapter/connection_manager.rs
@@ -49,7 +49,7 @@ pub trait ConnectionManager: Send + Sync {
socket_id: SocketId,
socket: WebSocketWrite<Wr... | 2 | 1 | 0 | [{"id": "G0", "claim": "The Arc::clone of connection_manager before calling lock() in src/presence/mod.rs is unnecessary because lock() only borrows the Arc, and it adds atomic increment/decrement overhead, so it should be removed.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introdu... | null |
sockudo__sockudo__64 | sockudo/sockudo | 64 | defect | 495de0d235d2f5082be3a3a8b9fa5f4cea7b38f8 | a289b09ebfc4c83f56538064421aa78008aa7031 | Feat/broadcast metrics | ## Description
Added new metric to keep track of broadcast latency (the time it takes Sockudo to fully process and send a broadcast message to all clients)
## Type of Change
<!-- Mark the relevant option with an "x" -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking chan... | diff --git a/docker-compose.multinode.yml b/docker-compose.multinode.yml
index 990080934..f464beb3d 100644
--- a/docker-compose.multinode.yml
+++ b/docker-compose.multinode.yml
@@ -36,7 +36,6 @@ services:
- SSL_ENABLED=true
- SSL_CERT_PATH=/etc/ssl/certs/sockudo.crt
- SSL_KEY_PATH=/etc/ssl/private/... | 10 | 8 | 3 | [{"id": "G0", "claim": "track_broadcast_latency should return early when recipient_count is 0, because a broadcast to zero recipients currently falls into the \"xl\" bucket, which is misleading.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "process... | null |
sockudo__sockudo__75 | sockudo/sockudo | 75 | defect | 47383d4788c4552b3d14294e41711d4e00f9408c | e387280d4b7465dafee7f44705e175daaac72531 | Fix/member removed not sent on cleanup | ## Description
Fix presence channel events in single-node and multi-node setups
Problem: Presence channel member_added and member_removed events were not firing correctly:
- member_added never fired on first connection
- member_removed only worked on explicit unsubscribe, not on disconnect
- Multi-node d... | diff --git a/docker-compose.multinode.yml b/docker-compose.multinode.yml
index a445719a..f464beb3 100644
--- a/docker-compose.multinode.yml
+++ b/docker-compose.multinode.yml
@@ -56,7 +56,7 @@ services:
- ./target:/app/target:ro
- ./config:/app/config:ro
environment:
- - DEBUG=false
+ - DEB... | 3 | 2 | 0 | [{"id": "G0", "claim": "The remove_user_socket implementation can be made more efficient: since socket_id should be unique per user, it should stop after finding the first match instead of iterating all of a user's sockets, collecting matches, and iterating again to remove them.", "category": "performance", "verdict": ... | null |
sockudo__sockudo__85 | sockudo/sockudo | 85 | defect | 343cb666b5ef20dc4b67ad49faab484ac5924c1a | 0e1ef475ef86b0e72228dbc780777fb8c6b34695 | Fix cache TTL response format in API response | ## Description
Fix #81
## Type of Change
<!-- Mark the relevant option with an "x" -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)... | diff --git a/src/protocol/messages.rs b/src/protocol/messages.rs
index 9b592b9d6..86339a2a2 100644
--- a/src/protocol/messages.rs
+++ b/src/protocol/messages.rs
@@ -258,7 +258,7 @@ impl PusherMessage {
if let Some((data, ttl)) = cache_data {
response["cache"] = json!({
"data": dat... | 1 | 1 | 1 | [{"id": "G0", "claim": "Add a unit test in tests/protocol_compliance.rs verifying that channel_info produces the correct JSON structure, especially that the cache field's ttl is a number, to keep the TTL format fix robust and prevent regressions.", "category": "testing", "verdict": "supported", "priority": "P1", "scope... | null |
sockudo__sockudo__86 | sockudo/sockudo | 86 | defect | 21feef3a88907678b64c06e49bb39e3777a86ef9 | 82c959afa5d81f67602c356e1f12ea7051c85e23 | Improved client event validation | ## Description
Fix #80
## Type of Change
<!-- Mark the relevant option with an "x" -->
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)... | diff --git a/src/adapter/handler/validation.rs b/src/adapter/handler/validation.rs
index 513d1d08..71f9e46f 100644
--- a/src/adapter/handler/validation.rs
+++ b/src/adapter/handler/validation.rs
@@ -87,6 +87,13 @@ impl ConnectionHandler {
));
}
+ // Check for reserved prefixes that client... | 3 | 1 | 0 | [{"id": "G0", "claim": "The reserved-prefix check could use an iterator with any() instead of two starts_with calls for better readability and easier extension to more prefixes.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Error assertions in ... | null |
sodafoundation__api__1082 | sodafoundation/api | 1,082 | defect | 00f8b14a5d87827a9b3b7dc22fa8c984cdb67f88 | 87201672000842d831c8cb2e1e41989383837171 | Add host api validation and filtering | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #1039
**Special notes for your reviewer**:
**Release note**:
<!-... | diff --git a/pkg/api/controllers/attachment.go b/pkg/api/controllers/attachment.go
index d2d96ebf7..aa1c15be6 100644
--- a/pkg/api/controllers/attachment.go
+++ b/pkg/api/controllers/attachment.go
@@ -79,6 +79,14 @@ func (v *VolumeAttachmentPortal) CreateVolumeAttachment() {
return
}
+ if !utils.Contains(host.Av... | 5 | 4 | 0 | [{"id": "G0", "claim": "The host-name-uniqueness check block in CreateHost could be put into a named helper function like isHostExisted to make it quicker to understand.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "strings.Title could replace the custom ... | null |
sodafoundation__api__1300 | sodafoundation/api | 1,300 | defect | 0d23448879b580d65492503d6c7f34e512507f2d | a94b77781485beb8fc98f881b9b3e0871e476ffc | Unit test cases for block volume group | <!-- Thanks for sending a pull request! Here are some tips for you:
1. Please give clear description and fill all the needed fields in the PR template below
2. Provide all the test report and results for the PR. It is mandatory. Otherwise,
your PR may get rejected without any review/discussion
3. If the PR ... | diff --git a/pkg/api/controllers/volumeGroup_test.go b/pkg/api/controllers/volumeGroup_test.go
index 76dc2b0ea..d3e345c89 100644
--- a/pkg/api/controllers/volumeGroup_test.go
+++ b/pkg/api/controllers/volumeGroup_test.go
@@ -15,13 +15,22 @@
package controllers
import (
+ "bytes"
+ ctx "context"
"encoding/json"
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new update-volume-group test asserts a 500 response for a bad request, and the reviewer questions why 500 is the expected status code instead of 400.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sodafoundation__api__168 | sodafoundation/api | 168 | defect | 3ccf0c934b637c126666e86408d717516a5d54be | ea848206b872823b64856fabe8a0d4eee42f7b62 | Adjust the cli directory structure.Fixed some bug. | This pr fixed some bugs, and modfied the cli directory structure. | diff --git a/client/client.go b/client/client.go
index bd6717a39..85ae7b528 100755
--- a/client/client.go
+++ b/client/client.go
@@ -33,9 +33,12 @@ type Config struct {
func NewClient(c *Config) *Client {
// If endpoint field not specified, the info will be fetched from
- // environment variable.
+ // environment ... | 2 | 2 | 1 | [{"id": "G0", "claim": "The client should not silently hardcode a default endpoint: the reviewer asked that the user be reminded, or an error be raised, when OPENSDS_ENDPOINT is unset rather than quietly assigning 127.0.0.1:50040, and suggested storing the default endpoint in a unified file with the client defaulting t... | null |
sodafoundation__api__255 | sodafoundation/api | 255 | defect | a98b41c525008d50962d999f86666175c54086c7 | 9ed5970d4454476fa74e5fb27539eadb7f0e95ad | add lvm e2e test to travis and optimize some shell scripts | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
add lvm e2e test to travis and optimize some shell scripts
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Speci... | diff --git a/.travis.yml b/.travis.yml
index d0bfd7635..48f3e689e 100755
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,9 +1,6 @@
dist: trusty
sudo: required
-services:
- - docker
-
language: go
go_import_path: github.com/opensds/opensds
@@ -40,10 +37,9 @@ matrix:
env: TARGET=ppc64le
install:
- ... | 1 | 1 | 0 | [{"id": "G3", "claim": "Also you need to rebase this patch and push it into the development branch.", "category": "process", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}] | null |
sodafoundation__api__271 | sodafoundation/api | 271 | defect | 9e2c4ce18eef28b1e103040ca952953f297d7ad9 | c846a33e7dbae8a96d38b9dc239c97ffc00562c2 | Modify Extend Volume error message | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
Solve Issue [#268](https://github.com/opensds/opensds/issues/268)
**... | diff --git a/openapi-spec/swagger.yaml b/openapi-spec/swagger.yaml
index 596a2d8a5..8204f370f 100755
--- a/openapi-spec/swagger.yaml
+++ b/openapi-spec/swagger.yaml
@@ -476,6 +476,32 @@ paths:
description: The resource does not exist.
'500':
$ref: '#/responses/HTTPStatus500'
+ '/v1beta/{... | 1 | 1 | 1 | [{"id": "G0", "claim": "The OpenAPI definitions for the extend-volume action should be removed from swagger.yaml for now, because the feature is at alpha stage and should be thought over before being pushed to the standard.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sodafoundation__api__325 | sodafoundation/api | 325 | defect | bbd209262e35f116a0200febf3803fe47c40c673 | 944771d91d553501242f4dd434be2afa2361ae52 | When extending a volume, check the upper limit of the new size of the… | … volume.
<!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
Solve Issue [#324](https://github.com/opensds/opensds/is... | diff --git a/pkg/api/volume.go b/pkg/api/volume.go
index 18eca8b91..9e7ec1ed7 100755
--- a/pkg/api/volume.go
+++ b/pkg/api/volume.go
@@ -216,7 +216,27 @@ func (this *VolumePortal) ExtendVolume() {
}
if extendRequestBody.Extend.NewSize > volume.Size {
- volume.Size = extendRequestBody.Extend.NewSize
+ poolId := ... | 1 | 1 | 1 | [{"id": "G0", "claim": "The pool-capacity check logic for extending a volume should live in the scheduler, not in the API layer.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sodafoundation__api__348 | sodafoundation/api | 348 | defect | c818d79c934a365e6e5f5a3cd099a6a53914139d | e7a3fed5316b5eb8c62ab24dad8b2de123477d45 | Since the StoragePoolSpec has changed, modify the selector | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
design spec [#6](https://github.com/opensds/design-specs/pull/6)
des... | diff --git a/pkg/controller/selector/filter.go b/pkg/controller/selector/filter.go
index 84a2fc2b7..784975530 100644
--- a/pkg/controller/selector/filter.go
+++ b/pkg/controller/selector/filter.go
@@ -57,20 +57,23 @@ func GetPoolCapabilityMap(pool *model.StoragePoolSpec) (map[string]interface{},
return nil, err
}
... | 3 | 3 | 2 | [{"id": "G0", "claim": "GetPoolCapabilityMap should not use an unlimited loop because it could cause the thread to be stuck in it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The filter test fake pools should add the ***LoS fields (DataStorage,... | null |
sodafoundation__api__379 | sodafoundation/api | 379 | defect | 5f49751aa7e461d05ad2f4957677731f093f8ca5 | 02cfeb793a613dca12f7194df4fd193fd7cfda9a | Add replication api unit test | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
1. Add replication api unit test
2. Fixed some typos.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special n... | diff --git a/pkg/api/replication.go b/pkg/api/replication.go
index a3b3b0451..521d776f6 100755
--- a/pkg/api/replication.go
+++ b/pkg/api/replication.go
@@ -100,7 +100,7 @@ func (this *ReplicationPortal) CreateReplication() {
this.Ctx.Output.Body(body)
}
-func (this *ReplicationPortal) ListReplication() {
+func (t... | 2 | 1 | 0 | [{"id": "G0", "claim": "ReplicationMode should have some standard definition; the sync and async options can be added now, though the definition could be changed after the profile design proposal is finished.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":... | null |
sodafoundation__api__386 | sodafoundation/api | 386 | defect | ac325d2d4b945728315be152ce37c0c7a0892370 | 68e1805714cb829e497df6d687689fcb3de5094b | Modify extend volume api | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
design spec [#11](https://github.com/opensds/design-specs/pull/11/fil... | diff --git a/client/volume.go b/client/volume.go
index 18cb91791..bdf6f44ed 100755
--- a/client/volume.go
+++ b/client/volume.go
@@ -132,7 +132,7 @@ func (v *VolumeMgr) ExtendVolume(volID string, body ExtendVolumeBuilder) (*model
var res model.VolumeSpec
url := strings.Join([]string{
v.Endpoint,
- urls.Generate... | 2 | 1 | 0 | [{"id": "G0", "claim": "In client/volume.go the ExtendVolume URL should be built as urls.GenerateNewVolumeURL(urls.Client, v.TenantId, volID, \"resize\"), passing \"resize\" as a separate argument, rather than concatenating volID+\"/resize\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "s... | null |
sodafoundation__api__387 | sodafoundation/api | 387 | defect | ac325d2d4b945728315be152ce37c0c7a0892370 | f8311fe9798a4592767c7ea47e4b99512c6e5cd4 | Change replication action url from unify name to actual action name | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
Change replication action url from unify name to actual action name
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #... | diff --git a/client/replication.go b/client/replication.go
index a66cda167..a06a748fa 100644
--- a/client/replication.go
+++ b/client/replication.go
@@ -107,8 +107,8 @@ func (v *ReplicationMgr) UpdateReplication(replicaId string, body ReplicationBui
func (v *ReplicationMgr) EnableReplication(replicaId string) error {
... | 3 | 3 | 0 | [{"id": "G0", "claim": "The empty body object defined for the enable replication request should be removed from the spec if nothing needs to be passed in the request body.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The disable method's spec has the s... | null |
sodafoundation__api__404 | sodafoundation/api | 404 | defect | dd199c969f56b00a1d2d08be42b3be2ba949ef43 | 88c66fb1ff5bef206e70560672c41a2cb4dfdf2b | Fixed a bug about capacity unit | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
1. Using cmd vgs instead of vgdisplay.
2. Fixed a bug about capacity unit.
3. Using VG UUID to generate pool UUID.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will... | diff --git a/contrib/drivers/lvm/lvm.go b/contrib/drivers/lvm/lvm.go
index d0ca4711b..fa3278d95 100755
--- a/contrib/drivers/lvm/lvm.go
+++ b/contrib/drivers/lvm/lvm.go
@@ -381,35 +381,29 @@ type VolumeGroup struct {
}
func (d *Driver) getVGList() (*[]VolumeGroup, error) {
- const vgInfoLineCount = 10
- info, err :... | 1 | 1 | 0 | [{"id": "G0", "claim": "Please change the code style here, in the newly added sampleVGS block of contrib/drivers/lvm/lvm_test.go.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
sodafoundation__api__449 | sodafoundation/api | 449 | defect | 0744c074dc3001c94c573d533e3a6ec97325bbf8 | 09a8921a3637104fd0630237d5b0c85c5bb18c04 | add filter to cli | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special notes for your reviewer**:
**Release note**:
<!-- St... | diff --git a/client/client.go b/client/client.go
index ca6c4bc22..ac32c57a9 100755
--- a/client/client.go
+++ b/client/client.go
@@ -17,6 +17,9 @@ package client
import (
"log"
+ "errors"
+ "strings"
+
"github.com/opensds/opensds/pkg/utils/constants"
)
@@ -117,3 +120,31 @@ func (c *Client) Reset() *Client {
... | 2 | 1 | 0 | [{"id": "G0", "claim": "The volumes returned by ListVolumes in TestListVolumes should be asserted using reflect.DeepEqual().", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "GroupSnapshots should not be added to the VolumeGroup definition in swagger.yaml ... | null |
sodafoundation__api__488 | sodafoundation/api | 488 | defect | 692741ab5147077602deb2bd86e157a4df5e7e3f | 4241867c6e4ee186c2bf9103707a826f10c3cb58 | Add volume already in replication check | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
1. Add "volume already been used in replication" check
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special n... | diff --git a/contrib/connector/fc/linuxfc.go b/contrib/connector/fc/linuxfc.go
index f1d382c34..fdd95e1cd 100644
--- a/contrib/connector/fc/linuxfc.go
+++ b/contrib/connector/fc/linuxfc.go
@@ -29,7 +29,7 @@ func (l *linuxfc) getSCSIWWN(devicePath string) (string, error) {
out, err := exec.Command("/lib/udev/scsi_id",... | 3 | 2 | 0 | [{"id": "G0", "claim": "The comment in CreateReplication should read \"has already been used\" instead of \"has already used\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The typo \"spcified\" in the not-found message of GetReplicationByVolume... | null |
sodafoundation__api__611 | sodafoundation/api | 611 | defect | 564afc84ba1439bd4018c82622bdfcae342ee4bf | 31889f68d54c08ded2029fe00286950fdb016e18 | Password encryption and decryption | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
This PR provides a password security mechanism for OpenSDS. Please see [design spec](https://github.com/opensds/design-specs/pull/19) for more details.
**Which issue this PR fixes**: fixes #603
**Special notes for your revi... | diff --git a/Makefile b/Makefile
index e92f71d32..ae65c38c8 100755
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,7 @@ ubuntu-dev-setup:
sudo apt-get update && sudo apt-get install -y \
build-essential gcc librados-dev librbd-dev
-build:osdsdock osdslet osdsctl
+build:osdsdock osdslet osdsctl pwdEncrypter
prebui... | 2 | 2 | 0 | [{"id": "G0", "claim": "The pwdEncrypter Makefile target should be structured the same way as the existing test and protoc module targets.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Graceful and SocketOrder fields should be removed from the OsdsA... | null |
sodafoundation__api__613 | sodafoundation/api | 613 | defect | 0c6954e0d6eb3e095f4e32cc8f6634cef761a17f | b4061bdbdad2eb0c5cf72095b78c40d6f0a11969 | optimize configuration feature and remove some un-used code | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
optimize configuration feature and remove some un-used code
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Spec... | diff --git a/cmd/osdsapiserver/osdsapiserver.go b/cmd/osdsapiserver/osdsapiserver.go
index 2dcc3eb5b..aa8d1dfbc 100644
--- a/cmd/osdsapiserver/osdsapiserver.go
+++ b/cmd/osdsapiserver/osdsapiserver.go
@@ -20,26 +20,24 @@ This module implements a entry into the OpenSDS REST service.
package main
import (
+ "flag"
+
... | 1 | 1 | 1 | [{"id": "G0", "claim": "Removing the log_file line from the dev-script config template requires updating the other related files that still contain it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sodafoundation__api__615 | sodafoundation/api | 615 | defect | 3acb0c2b8fb64b4431a7c6b9bf059a58c95f0948 | 97685d081f24b369895dce89a55b2668c2531a3a | hotpot iscsi enhancement | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
In order to match the sushi modification, hotpot did some enhancements to ISCSI driver.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets... | diff --git a/client/auth.go b/client/auth.go
index c701635ca..e663895a2 100644
--- a/client/auth.go
+++ b/client/auth.go
@@ -79,25 +79,24 @@ func (n *NoAuthOptions) GetTenantId() string {
return n.TenantID
}
-func LoadKeystoneAuthOptionsFromEnv() *KeystoneAuthOptions {
+func LoadKeystoneAuthOptionsFromEnv() (*Keys... | 1 | 1 | 1 | [{"id": "G0", "claim": "The decryption-failure error in LoadKeystoneAuthOptionsFromEnv should be formatted with a %v verb instead of fmt.Errorf(\"Decryption failed.\", err).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sodafoundation__api__65 | sodafoundation/api | 65 | defect | 856fe48ef8ae13e299ab69828cac72ba88aacc02 | 85d0dfa8ab5437b21627389db4bd5bd5d33429d8 | Add global configuration utils | Add global configuration utils. The configuration data is read from the user specified configuration file and initialized to the corresponding variables.So user can simplely use configuration like this:
```
utils.CONF.Load("/etc/opensds/opensds.conf")
...
ds := dockServer.NewDockServer(utils.CON... | diff --git a/pkg/utils/config.go b/pkg/utils/config.go
new file mode 100644
index 000000000..445bc4a3d
--- /dev/null
+++ b/pkg/utils/config.go
@@ -0,0 +1,100 @@
+package utils
+
+import (
+ "github.com/Unknwon/goconfig"
+ "log"
+ "reflect"
+ "strconv"
+ "strings"
+)
+
+const (
+ CONF_NAME=iota
+ CONF_DEFULT_VLAUE
+)
+
... | 3 | 2 | 1 | [{"id": "G0", "claim": "The pull request should use a maintained configuration library such as github.com/go-ini/ini instead of the unmaintained github.com/Unknwon/goconfig.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When the osdsdock or osd... | null |
sodafoundation__api__702 | sodafoundation/api | 702 | defect | 95fb76734d8142073d1b769b3790c458bec2deed | 92c77dec4857e52d6332075ebb157d2f6c74ac66 | Issue 693:CANNOT get profile data when creating sanpshot | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #693
**Special notes for your reviewer**:
**Release note**:
<!--... | diff --git a/osdsctl/cli/volume.go b/osdsctl/cli/volume.go
index ad8d21640..a9b290ab7 100644
--- a/osdsctl/cli/volume.go
+++ b/osdsctl/cli/volume.go
@@ -109,7 +109,7 @@ func init() {
volumeListCommand.Flags().StringVarP(&volProfileId, "profileId", "", "", "list volume by profile id")
volumeListCommand.Flags().Strin... | 2 | 1 | 1 | [{"id": "G0", "claim": "The profile logic added by this pull request should also be appended to the DeleteVolumeSnapshot method.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Not only create snapshot: all rpc methods should include profile detailed... | null |
sodafoundation__api__731 | sodafoundation/api | 731 | defect | 44e1ec7885c2ffc46fb03d1da9d7f8f8a806e5a7 | cedc97526bd308c90d4ed70a8155833f1153bcc8 | Fusionstorage driver support for Fusionstorage storage device version 8.0 | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
This pr implements fusionstorage driver in hotpot support for the fusionstorage storage device version 8.0.
**Special notes for your reviewer**:
@wisererik @leonwanghui please take a look at this pr. | diff --git a/contrib/connector/iscsi/helper.go b/contrib/connector/iscsi/helper.go
index 2b9385410..12b745c07 100644
--- a/contrib/connector/iscsi/helper.go
+++ b/contrib/connector/iscsi/helper.go
@@ -120,14 +120,14 @@ func getInitiator() ([]string, error) {
}
// Discovery ISCSI Target
-func discovery(portal string... | 4 | 3 | 1 | [{"id": "G0", "claim": "Define a constant for the magic number (the target-IQN index) used when splitting the discovery output in helper.go.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In connect(), the discovery error should be returned as `... | null |
sodafoundation__api__735 | sodafoundation/api | 735 | defect | e41ff0c75dacd764b7a6d363426666420cc56947 | 6140c639850a3ec006ac0ff2fa3283a625c02f54 | Fileshare dock discovery code | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
Dock was discovering always volume driver, to discover fileshare driver this piece of code is required.
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that is... | diff --git a/pkg/dock/discovery/discovery.go b/pkg/dock/discovery/discovery.go
index ef71882ee..e809bffa3 100755
--- a/pkg/dock/discovery/discovery.go
+++ b/pkg/dock/discovery/discovery.go
@@ -21,6 +21,7 @@ package discovery
import (
"fmt"
+ "github.com/opensds/opensds/contrib/drivers/utils/config"
"os"
"runti... | 3 | 2 | 1 | [{"id": "G0", "claim": "The Discover() fileshare branch is hard-coded to NFSDriverType, and wisererik asks how a file share driver other than NFSDriverType would be supported.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new Discover() code flow is... | null |
sodafoundation__api__764 | sodafoundation/api | 764 | defect | 6eadaa2fa448b748afdb7d03f8d3b4677d50c71c | 4aa67f0d144ba2a0fe580ea7011d1f81fd0f1c4b | Telemetry: Metric collection from all resources |
**What this PR does / why we need it**:
Earlier metric driver was designed to collect for one instance at a time. With these approach we can collect only instances available in etcd (hotpot DB) . Driver interface change is required to collect for all resources. This change set contains
1. Driver interface change ... | diff --git a/contrib/drivers/ceph/ceph_metrics.go b/contrib/drivers/ceph/ceph_metrics.go
index fb7f92d4d..05913ba16 100644
--- a/contrib/drivers/ceph/ceph_metrics.go
+++ b/contrib/drivers/ceph/ceph_metrics.go
@@ -101,9 +101,12 @@ func (d *MetricDriver) ValidateMetricsSupportList(metricList []string, resourceT
// metri... | 7 | 5 | 1 | [{"id": "G0", "claim": "Format the pull request's code with the project's `make goimports` target.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In TestCollectMetrics, use `t.Log()` instead of `fmt.Printf` for the 'expected metric spec' and 're... | null |
sodafoundation__api__774 | sodafoundation/api | 774 | defect | 8c504aa2abb9b57e7bb8dc2dea2a8ec2bad389d3 | 6e1eaf4d3f13e85bb731f271108fc460f6e1b09a | Creation of sample pool and volume group for fileshare | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
Create sample pool and volume group for fileshare
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special notes ... | diff --git a/install/devsds/lib/lvm.sh b/install/devsds/lib/lvm.sh
index 5ad696e1b..e629d2920 100755
--- a/install/devsds/lib/lvm.sh
+++ b/install/devsds/lib/lvm.sh
@@ -22,7 +22,10 @@ set +o xtrace
# --------
# Name of the lvm volume groups to use/create for iscsi volumes
VOLUME_GROUP_NAME=${VOLUME_GROUP_NAME:-opens... | 1 | 1 | 1 | [{"id": "G0", "claim": "Enable the nfs backend by extending OPENSDS_BACKEND_LIST (e.g. lvm,nfs) instead of defining a separate OPENSDS_BACKEND_LIST_NFS variable and appending nfs to enabled_backends in opensds.sh.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sodafoundation__api__792 | sodafoundation/api | 792 | defect | 7377b2ef127a4b461677303a579e6b3025be45c2 | a99a1443dff491fcab73db27b169ab1af5d18aee | Add fileshare controller unit test cases for create/delete fileshare and create/delete filesharesnapshots | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
Add fileshare controller unit test cases for create/delete fileshare and create/delete filesharesnapshots
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that ... | diff --git a/pkg/controller/fileshare/filesharecontroller_test.go b/pkg/controller/fileshare/filesharecontroller_test.go
new file mode 100644
index 000000000..004035aa4
--- /dev/null
+++ b/pkg/controller/fileshare/filesharecontroller_test.go
@@ -0,0 +1,217 @@
+// Copyright 2019 The OpenSDS Authors.
+//
+// Licensed und... | 6 | 6 | 0 | [{"id": "G0", "claim": "The error message in TestCreateFileShare (\"Failed to create fileshare...\") should start with a lower-case letter.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The error message in TestCreateFileShare (\"Expected %v, got %v...\"... | null |
sodafoundation__api__794 | sodafoundation/api | 794 | defect | 7377b2ef127a4b461677303a579e6b3025be45c2 | 33f1d17a1dee037074eb48937f6af253ec71593d | Adding profile to CreateFileShareAcl and snapshot issue | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
It add Profile to CreateFileShareAcl controller and fix issue related to snapshot metadata.
It also has dock and controller logic for deleteaccessAPI
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<... | diff --git a/contrib/drivers/filesharedrivers/nfs/cli.go b/contrib/drivers/filesharedrivers/nfs/cli.go
index 451013caf..fce62e43b 100644
--- a/contrib/drivers/filesharedrivers/nfs/cli.go
+++ b/contrib/drivers/filesharedrivers/nfs/cli.go
@@ -106,6 +106,16 @@ func (c *Cli) CreateDirectory(dirName string) error {
return... | 1 | 1 | 1 | [{"id": "G0", "claim": "The field number of the added `metadata` field in DeleteFileShareSnapshotOpts should be 6, not 9.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sodafoundation__api__901 | sodafoundation/api | 901 | defect | a27f71cd4da86b499da272c6a6ad99da5d2846c4 | 2fb2c32fd0c9e9a8265f04b21f6441ee13825f45 | Solve some fileshare problems | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
Solve some fileshare problems
**Special notes for your reviewer**:
... | diff --git a/contrib/drivers/filesharedrivers/manila/manila.go b/contrib/drivers/filesharedrivers/manila/manila.go
index 4569481a5..b5255bcb9 100644
--- a/contrib/drivers/filesharedrivers/manila/manila.go
+++ b/contrib/drivers/filesharedrivers/manila/manila.go
@@ -397,7 +397,7 @@ func (d *Driver) CreateFileShareSnapsho... | 2 | 2 | 1 | [{"id": "G0", "claim": "The code added by the pull request should be formatted with goimports (the new var block in osdsctl/cli/fileshare.go is misaligned and has a trailing tab).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`osdsctl fileshare... | null |
sodafoundation__api__94 | sodafoundation/api | 94 | defect | 9b456320cbf424a1374494c44190c4188f8a907c | c4b8a0c00a9359dc25f3168b78a15f63a9460751 | Fix bug when finding version by specified version name | ### Changes
- Fix bug when finding version by specified version name.
- Add unit test for version.go. | diff --git a/pkg/api/router.go b/pkg/api/router.go
index 53c22cf5c..17a6e0e7e 100644
--- a/pkg/api/router.go
+++ b/pkg/api/router.go
@@ -40,6 +40,7 @@ const (
)
func Run(host string) {
+
ns :=
beego.NewNamespace("/api",
beego.NSCond(func(ctx *context.Context) bool {
@@ -53,7 +54,7 @@ func Run(host string) ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The reviewer suggests declaring KnownVersions as a []map[string]string literal with the outer element type omitted (var KnownVersions = []map[string]string{ { ... } }) instead of repeating map[string]string for each element.", "category": "maintainability", "verdict": "supported", "priority": "P... | null |
sodafoundation__api__948 | sodafoundation/api | 948 | defect | 27e7a9acda7281745310ac750475b8e45f703797 | f185fe6ebad4ebfd9ba06f4c0b2cda41bb14380e | File Share ACL create and delete services updating file share status are corrected - Fix #930 | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
Problem statement:
==============
Create file share acl code was updating file share status when it fails to create and deletion of acl as well.
There was not status field in Fileshareaclspec to update it's status when it is succ... | diff --git a/pkg/api/util/db.go b/pkg/api/util/db.go
index 0334c0e52..4b3dbc5af 100644
--- a/pkg/api/util/db.go
+++ b/pkg/api/util/db.go
@@ -80,6 +80,7 @@ func CreateFileShareAclDBEntry(ctx *c.Context, in *model.FileShareAclSpec) (*mod
return nil, errors.New(errMsg)
}
}
+
// validate accesscapability
acces... | 7 | 5 | 4 | [{"id": "G0", "claim": "Remove the blank spaces (whitespace-indented empty line) added in testutils/collection/data.go.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The status field should not be persisted in the CreateFileShareAclOpts and Del... | null |
sodafoundation__api__969 | sodafoundation/api | 969 | defect | 690c1825a5095e199ecb996cd80b1f5068f250c9 | 0431dc4ba30adc3509d6904834314ee478e8746e | API server test cases for fileshare | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
Added ACL API test cases
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special notes for your reviewer**:
*... | diff --git a/pkg/api/util/db_test.go b/pkg/api/util/db_test.go
index 81043a853..d09e28693 100644
--- a/pkg/api/util/db_test.go
+++ b/pkg/api/util/db_test.go
@@ -600,7 +600,7 @@ func TestDeleteFileShareDBEntry(t *testing.T) {
assertTestResult(t, err.Error(), expectedError)
})
- var sampleAcls = []*model.FileShare... | 13 | 1 | 0 | [{"id": "G0", "claim": "The code should use error codes instead of literal error strings, otherwise handling multi-language error messages becomes a nightmare.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test cases needlessly set ProfileId (and Ty... | null |
sodafoundation__api__973 | sodafoundation/api | 973 | defect | 690c1825a5095e199ecb996cd80b1f5068f250c9 | ed414246f90a1591c5d25de919ef7c98118aed46 | Fileshare feature: Adding capability to create fileshare from snapshots | <!-- Thanks for sending a pull request! -->
**What this PR does / why we need it**:
Adding capability to create fileshare from snapshots
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special not... | diff --git a/contrib/drivers/filesharedrivers/nfs/cli.go b/contrib/drivers/filesharedrivers/nfs/cli.go
index 6c0fae602..97d187d66 100644
--- a/contrib/drivers/filesharedrivers/nfs/cli.go
+++ b/contrib/drivers/filesharedrivers/nfs/cli.go
@@ -160,6 +160,21 @@ func (c *Cli) CreateFileShare(lvPath string) error {
return ... | 9 | 5 | 1 | [{"id": "G0", "claim": "In the controller's snapshot branch of CreateFileShare, errors from GetFileShareSnapshot, GetFileShare and GetPool are only logged, and those errors should be handled (returned) instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "... | null |
sofastack__sofa-ark__1000 | sofastack/sofa-ark | 1,000 | defect | c083fdf343c3c57fdf4fddf6f0498f74db513e06 | 456075859a7cecb4cf454cc9280c60b5e6b60fde | <feat> 模块瘦身排除间接依赖 | fix https://github.com/koupleless/koupleless/issues/197
功能描述:
在模块瘦身时,根据用户配置的 exclude, excludeGroupId, excludeArtifactId,排除该依赖及其依赖的所有依赖。
该功能是默认开启的。关闭方式:
在 conf/ark/bootstrap.properties 中配置:
```properties
excludeWithIndirectDependencies=false
```
或在 conf/ark/bootstrap.yaml 中配置:
```yaml
excludeWithIndire... | diff --git a/sofa-ark-parent/support/ark-maven-plugin/src/main/java/com/alipay/sofa/ark/boot/mojo/ModuleSlimConfig.java b/sofa-ark-parent/support/ark-maven-plugin/src/main/java/com/alipay/sofa/ark/boot/mojo/ModuleSlimConfig.java
index 12667a6bb..ba98ba845 100644
--- a/sofa-ark-parent/support/ark-maven-plugin/src/main/j... | 1 | 1 | 0 | [{"id": "G0", "claim": "The new exclude flag should be renamed (e.g. excludeWithIndirectArtifacts), since the include side deliberately does not consider indirect dependencies.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sofastack__sofa-ark__1012 | sofastack/sofa-ark | 1,012 | defect | 88fb8e2f89b171fac610977e62292014361757c5 | ba8cbc5de65cae2b69d415255908c0cb6be9989b | gradle implementation for the Ark plugin |
Relate issue #73
This PR provides the implementation for packaging the Ark plugin in a Gradle environment.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced `ArkPluginCopyAction` for streamlined JAR file creation from processing st... | diff --git a/sofa-ark-parent/support/ark-plugin-gradle-plugin/src/main/java/com/alipay/sofa/ark/boot/mojo/ArkPlugin.java b/sofa-ark-parent/support/ark-plugin-gradle-plugin/src/main/java/com/alipay/sofa/ark/boot/mojo/ArkPlugin.java
new file mode 100644
index 000000000..8f85a5418
--- /dev/null
+++ b/sofa-ark-parent/suppo... | 15 | 2 | 0 | [{"id": "G0", "claim": "Refactor BaseConfig.toAttributes to use Optional and Map.of for more elegant null handling and readability.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Annotate the ArkPluginExtension constructor with @Inject for bette... | null |
sofastack__sofa-ark__1013 | sofastack/sofa-ark | 1,013 | defect | 9513968f26528bf58eebfd53da36c9dbce1876fa | 66f05a9734e3c01e339509d549662cb9e5b1ebd8 | enable not clean biz instance when stop biz failed | fix https://github.com/koupleless/koupleless/issues/284
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Enhanced error handling during business startup and stop processes.
- Introduced new event classes for failed startup and stop operati... | diff --git a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java b/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java
index 1e523aba0..03a8f97b1 100644
--- a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa... | 20 | 1 | 1 | [{"id": "G0", "claim": "Assert the exception behaviour in the new BizModelTest tests: use assertThrows so testStopFailedWithClean fails when bizModel.stop() does not throw the expected RuntimeException instead of catching and ignoring it, and fail on unexpected exceptions in the success path.", "category": "testing", "... | null |
sofastack__sofa-ark__1017 | sofastack/sofa-ark | 1,017 | defect | 9ce12e640f1ba5105870ad1c19a675e9c2f56a78 | 7a8201c7c0b9abdfd283de4022bdfa08993c907e | feat: 模块瘦身检查 && 允许不自动排除和基座相同的依赖 | 在模块瘦身时,检查模块被插件排除的依赖是否:
● 基座运行时存在该依赖
● 基座运行时的依赖是否和模块里的该依赖版本一致
使得:对于模块被插件排除的依赖,保证模块在编译期和运行期所用的依赖 GAV 一致。
具体技术细节:
● sofa-ark-maven-plugin:
如果基座中没有被瘦身的依赖,那么直接构建报错。
此外增加字段:
○ buildFailWhenExcludeBaseDependencyWithDiffVersion (检查被瘦身的包的版本是否和基座运行时版本一致)
■ false(默认) -> 如果不一致,就构建报错,但不会构建失败;
■ true -> 如果不一致,就... | diff --git a/sofa-ark-parent/support/ark-maven-plugin/src/main/java/com/alipay/sofa/ark/boot/mojo/MavenUtils.java b/sofa-ark-parent/support/ark-maven-plugin/src/main/java/com/alipay/sofa/ark/boot/mojo/MavenUtils.java
index a540e850a..1b4ed6463 100644
--- a/sofa-ark-parent/support/ark-maven-plugin/src/main/java/com/alip... | 10 | 1 | 0 | [{"id": "G0", "claim": "MavenUtils line 148 uses org.apache.commons.lang3.StringUtils while the rest of the class uses com.alipay.sofa.ark.common.util.StringUtils, and the same StringUtils utility class should be used throughout the file for consistency.", "category": "maintainability", "verdict": "uncertain", "priorit... | null |
sofastack__sofa-ark__1026 | sofastack/sofa-ark | 1,026 | defect | 9c3de2662c6c4608a849a862f07661c7338612cd | 0a772290f08f4208e9c592cf9bfd8fdc833a61ef | add stop biz state |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced a new `STOPPED` state in the business model to indicate a successful uninstallation.
- **Bug Fixes**
- Corrected a typographical error in the GPG plugin property name.
- **Improvement... | diff --git a/pom.xml b/pom.xml
index 93e9738ce..5969ca1f5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -14,7 +14,7 @@
</modules>
<properties>
- <sofa.ark.version>2.2.15</sofa.ark.version>
+ <sofa.ark.version>2.2.16-SNAPSHOT</sofa.ark.version>
<sofa.ark.version.old>2.2.14</sofa.ark.version.ol... | 6 | 1 | 0 | [{"id": "G0", "claim": "Fix the minor formatting issue in the else condition of BizState.of() by changing '}else {' to '} else {'.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Consider updating the overall biz lifecycle documentation to reflec... | null |
sofastack__sofa-ark__1029 | sofastack/sofa-ark | 1,029 | defect | 7ab39b4aa62cec6154a84fc1247b96e355f5e31f | ef6826b74984a54b2e2e846eddc80bfdfe0af5c6 | feat: 支持模块启动时通过传递env参数动态指定模块的启动类 (#999) |
模块启动时,可以通过 envs["sofa.ark.biz.main.class"] 参数传递指定的类作为模块的启动类
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Enhanced dynamic configuration of the main class during startup based on environment variables.
- Introduced a new constant `BIZ_M... | diff --git a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java b/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java
index d157a7b45..3ecf41a22 100644
--- a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa... | 3 | 1 | 1 | [{"id": "G0", "claim": "Add test coverage for the new environment-based main class configuration, which at S1 had no tests at all.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Validate the main class read from the environment — e.g. treat empty values... | null |
sofastack__sofa-ark__1105 | sofastack/sofa-ark | 1,105 | defect | f214b74faa233daae51e477d769d127065f90af9 | a5c44cff894dac26a958ebf43864c01f87640a45 | Fix jar utils 未考虑解析 unpack jar的 parseArtifactId | ### 问题描述
在 SOFAArk 的 unpack 模式下,当 Biz 模块以解压形式安装时(路径形如 xxx.jar-unpack),JarUtils.parseArtifactId 方法无法正确解析此类路径的 artifactId。
### 问题原因
在 unpack 模式下,ExplodedBizArchive 会将解压目录本身添加到类路径 URL 列表中
BizModel.doCheckDeclared 方法会遍历这些 URL 并调用 JarUtils.parseArtifactId 进行解析
原有的 parseArtifactId 方法未处理以 .jar-unpack 结尾的目录路径
### 影响范... | diff --git a/sofa-ark-parent/core-impl/archive/src/main/java/com/alipay/sofa/ark/loader/jar/JarUtils.java b/sofa-ark-parent/core-impl/archive/src/main/java/com/alipay/sofa/ark/loader/jar/JarUtils.java
index 1eadfcf01..cb78868f7 100644
--- a/sofa-ark-parent/core-impl/archive/src/main/java/com/alipay/sofa/ark/loader/jar/... | 7 | 4 | 2 | [{"id": "G0", "claim": "searchPomProperties can return null, so calling pomPropsFile.exists() without a null check will throw a NullPointerException when no pom.properties file is found.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The path is nor... | null |
sofastack__sofa-ark__531 | sofastack/sofa-ark | 531 | defect | 27df24d4b42f004359cb2411f2cbf08b8b7d5262 | 22764db77baf696e1dd8dc512011bcb94cd97336 | Embed Mode: get all resources from delegatedMasterBiz | ### Motivation:
内嵌模式下的DeclaredMode:在BizClassLoader调用getResources时,不仅需要从当前Biz中查找Biz声明过的资源,还需要从postFindResources处查找Biz声明过的资源,即查找基座的资源。
### Modification:
- AbstractClasspathClassLoader#getResources()
- 增加单元测试DefaultClassLoaderHookTest#testGetAllResources()
### Result:
- DeclaredMode开关位于ark-biz打包配置中,如:
```
<b... | diff --git a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/service/classloader/AbstractClasspathClassLoader.java b/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/service/classloader/AbstractClasspathClassLoader.java
index 32b861a14..1c6272004 100644
---... | 1 | 1 | 1 | [{"id": "G0", "claim": "Provide a configuration switch (plus a whitelist/blacklist of the resources the biz declares) so that existing services can upgrade smoothly, because widening the resources loading scope this much may load large amounts of masterbiz resources and cause unknown problems.", "category": "design", "... | null |
sofastack__sofa-ark__881 | sofastack/sofa-ark | 881 | defect | e6ab184e8956b01059d05b5f3eac2a0bc786797a | 50ae7a087a00ff6f7a5fb568e847550d638657a8 | <feature> add bizFailedEvent | ### Motivation
To record failed biz for health check
### Modification
add bizFailedEvent
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced a new event `AfterBizFailedEvent` to handle scenarios after a business operation fail... | diff --git a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java b/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java
index 50ea12fbb..79214fb01 100644
--- a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa... | 3 | 1 | 0 | [{"id": "G0", "claim": "The event class's `throwable` field should be made private with a public getter method so that event handlers can access the exception associated with the failed business operation.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
sofastack__sofa-ark__889 | sofastack/sofa-ark | 889 | defect | e4adbcb32fa98547f78f8ca4c67b6ced71b6c952 | d23f3924036192aed1cc5b040f87354a02b4c0fa | add bizStateChangeLog | ### Motivation
排查Biz状态变更问题更方便
### Modification
添加 bizStateChangeLog
### result
Ark Biz: biz1:0.0.1-SNAPSHOT, classloader: sun.misc.Launcher$AppClassLoader@18b4aac2, current state: unresolved, history states: [date: 2024-03-28 11:13:35.310, to resolved, date: 2024-03-28 11:13:35.313, to activated, date: 202... | diff --git a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java b/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java
index 58714c654..80dfdbdfe 100644
--- a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa... | 11 | 7 | 1 | [{"id": "G0", "claim": "BizStateChangeInfo.toString should use a static SimpleDateFormat instance instead of creating a new one on every call, which can be costly.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The testBizStateChanged test should ad... | null |
sofastack__sofa-ark__897 | sofastack/sofa-ark | 897 | defect | 38405da579d444bfb0fc50c2850f8f3f301a8ebf | 8398ec9a8dfdb0c86eb8fb809f48aa66efa1adcf | 优化biz信息显示 |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **Refactor**
- Updated the output format of the `toString()` method in `BizModel` to improve the representation of state history by changing terminology.
- Modified the `toString` method in `BizStateRecord` to en... | diff --git a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java b/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java
index fa4c6b5ef..c9b2e17d3 100644
--- a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa... | 3 | 2 | 0 | [{"id": "G0", "claim": "Add a comment explaining the rationale for reordering state and date in the BizStateRecord toString method, for future maintainers.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Ensure that bizStateChangeLogs, referenced i... | null |
sofastack__sofa-ark__907 | sofastack/sofa-ark | 907 | defect | ca7ff812e24ae43d8fd1b086fd90d98672412a23 | f49ba2f3723058e98ec763dc87ccb1fb1cb41e25 | 1. 删除前先标记文件夹已经被回收 2.即使删除失败也不会影响下次模块安装 | ### Motivation
Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.
fix #906
### Modification
Describe the idea and modifications you've done.
### Result
Resolved or fixed #<GitHub issue number>.
If there is no issue then desc... | diff --git a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java b/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java
index d5f5fde23..013c83c48 100644
--- a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa... | 2 | 1 | 1 | [{"id": "G0", "claim": "The broad try-catch in recycleBizTempWorkDir swallows all exceptions and can obscure root causes, and the directory delete is attempted even when its contents were not all successfully deleted; refactor to log or rethrow with context and only delete the directory once its contents are gone.", "c... | null |
sofastack__sofa-ark__918 | sofastack/sofa-ark | 918 | defect | a6a4a3f7763836417e2fdd3332e9ed2640c0b1b5 | 18ca6bfe141631ed30e72867e367bf60cae9f382 | 优化排包配置 | ### Motivation
优化排包配置
### Modification
Describe the idea and modifications you've done.
### Result
fix https://github.com/koupleless/koupleless/issues/117
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduced YAML-based co... | diff --git a/sofa-ark-bom/pom.xml b/sofa-ark-bom/pom.xml
index b18d20cf2..c58c645fd 100644
--- a/sofa-ark-bom/pom.xml
+++ b/sofa-ark-bom/pom.xml
@@ -369,6 +369,12 @@
<version>2.14.3</version>
</dependency>
+ <dependency>
+ <groupId>org.yaml</groupId>
+ ... | 5 | 1 | 0 | [{"id": "G0", "claim": "The comments in the new ark.properties and ark.yml test resources should be translated to English to keep codebase documentation consistent.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The original rules.txt exclusion me... | null |
sofastack__sofa-ark__936 | sofastack/sofa-ark | 936 | defect | 6493494b2327c6d1777629cb162d9ed451bdf40c | ca19bc32c78264745491cce9dfa4fd6226a76ed8 | fix:sofa-ark-plugin-maven-plugin remove unnecessary shade lib | fix [issue-935](https://github.com/sofastack/sofa-ark/issues/935)
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **Bug Fixes**
- Corrected the artifact handling in the archiver to avoid adding conflicting project artifacts.
- Updated artifact declarati... | diff --git a/sofa-ark-parent/support/ark-plugin-maven-plugin/src/main/java/com/alipay/sofa/ark/plugin/mojo/ArkPluginMojo.java b/sofa-ark-parent/support/ark-plugin-maven-plugin/src/main/java/com/alipay/sofa/ark/plugin/mojo/ArkPluginMojo.java
index e1aea1be6..b4bb8b806 100644
--- a/sofa-ark-parent/support/ark-plugin-mave... | 3 | 1 | 0 | [{"id": "G0", "claim": "The shades value \"shadeGroup:shadeArtifact:shadeVersion:shadeClassifier\" introduced by the test is not found in or generated by the main implementation, so the test and ArkPluginMojo.java should be cross-verified for consistency.", "category": "testing", "verdict": "uncertain", "priority": "P3... | null |
sofastack__sofa-ark__939 | sofastack/sofa-ark | 939 | defect | 6493494b2327c6d1777629cb162d9ed451bdf40c | 36cea80b99586908e132bc1eebfe4eaf671ec53d | not stop after startup failure | 如果配置Ark变量 sofa.ark.auto.uninstall.when.failed.enable=false,那么安装失败不自动卸载;否则,将自动卸载
配置方式:
在基座中的 conf/ark/bootstrap.properties 中,配置 sofa.ark.auto.uninstall.when.failed.enable=false
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Introduce... | diff --git a/sofa-ark-parent/core-impl/container/src/test/java/com/alipay/sofa/ark/container/service/api/ArkClientTest.java b/sofa-ark-parent/core-impl/container/src/test/java/com/alipay/sofa/ark/container/service/api/ArkClientTest.java
index e9a721154..3fa47ebc4 100644
--- a/sofa-ark-parent/core-impl/container/src/tes... | 5 | 3 | 1 | [{"id": "G0", "claim": "The new autoUninstall logic in doInstallBiz appears not covered by tests; add appropriate unit tests to cover it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Follow the ark.properties configuration approach for this setting in... | null |
sofastack__sofa-ark__949 | sofastack/sofa-ark | 949 | defect | ab9352c5897c226f115e272035d5edcff0d975b4 | 28fc2f829da6d51020e32f067538e90eb23ddf7c | 统一静态合并部署 | to fix: https://github.com/koupleless/koupleless/issues/221
使用方式
1. springboot 的配置文件(application.properties)中配置 sofa.ark.embed.static.biz.in.resource.enable=true (默认为 true)
2. 基座启动后,会注册 BOOT-INF/classes/SOFA-ARK/biz 下和 lib 里的 ark-biz 模块包
3. 调用用户自定义的 AddBizToStaticDeployHook 接口
4. 执行模块安装
<!-- This is an au... | diff --git a/sofa-ark-parent/core-impl/archive/src/main/java/com/alipay/sofa/ark/loader/EmbedClassPathArchive.java b/sofa-ark-parent/core-impl/archive/src/main/java/com/alipay/sofa/ark/loader/EmbedClassPathArchive.java
index 8fcd2b4fb..772d0f7ac 100644
--- a/sofa-ark-parent/core-impl/archive/src/main/java/com/alipay/so... | 6 | 3 | 2 | [{"id": "G0", "claim": "Ensure the beforeEmbedStaticDeployBizHook is properly initialized before use to avoid null pointer exceptions (guard the loaded hook before calling it).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The import of SOFA_ARK_MO... | null |
sofastack__sofa-ark__983 | sofastack/sofa-ark | 983 | defect | 61e8a4f26870ba69985e32892aa21687f73542e9 | 0a55b15dc7c62bb0b2080ca08641a0f52b6b3731 | Dev lipeng parse exclude without version | to fix #982
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Enhanced artifact parsing capabilities to accommodate multiple formats in the ArtifactItem class.
- Improved version comparison logic allowing flexibility for unspecified versions.
... | diff --git a/sofa-ark-parent/support/ark-maven-plugin/src/main/java/com/alipay/sofa/ark/boot/mojo/ModuleSlimStrategy.java b/sofa-ark-parent/support/ark-maven-plugin/src/main/java/com/alipay/sofa/ark/boot/mojo/ModuleSlimStrategy.java
index 3443130b9..0102a6b1d 100644
--- a/sofa-ark-parent/support/ark-maven-plugin/src/ma... | 2 | 2 | 0 | [{"id": "G0", "claim": "Drop support for the rarely used {groupId:artifactId:*:classifier} pattern, including its documentation in the parseArtifactItem javadoc and in the bootstrap.properties/bootstrap.yml test-resource comments.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"},... | null |
sofastack__sofa-ark__984 | sofastack/sofa-ark | 984 | defect | 61e8a4f26870ba69985e32892aa21687f73542e9 | 4ee84150b75642531219018da4627a5d18dc93dc | Support plugin management and dynamic plugin installation with extensions | fix https://github.com/koupleless/koupleless/issues/383
1. support plugin management for biz.
2. support dynamic plugin installation in runtime.
3. support biz/plugin installation in runtime with extension params.
4. fix enforcement for embed.
<!-- This is an auto-generated comment: release notes by coderabbit... | diff --git a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java b/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa/ark/container/model/BizModel.java
index 1c05e4e79..d84097a4e 100644
--- a/sofa-ark-parent/core-impl/container/src/main/java/com/alipay/sofa... | 22 | 4 | 2 | [{"id": "G0", "claim": "Parsing the extension-library URLs with new URL(extension) should catch and handle MalformedURLException instead of letting a malformed value fail the install operation.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "PluginOp... | null |
sofastack__sofa-ark__996 | sofastack/sofa-ark | 996 | defect | 61e8a4f26870ba69985e32892aa21687f73542e9 | ec0e99181f1b77f926be19ab9e47db59ed84904e | 支持 Spring Management Context 也在端口相同的情况下也共享 Tomcat | ### Motivation
Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.
当模块与基座在 Spring 配置文件 application.yml 中指定了相同的 management.server.port 时, 由于 managementContext 未经历 applicationContextStart 生命周期, ArkServiceInjectProcessor 未被注入到 managementConte... | diff --git a/sofa-ark-parent/core/spi/src/main/java/com/alipay/sofa/ark/spi/web/EmbeddedServerServiceFactory.java b/sofa-ark-parent/core/spi/src/main/java/com/alipay/sofa/ark/spi/web/EmbeddedServerServiceFactory.java
new file mode 100644
index 000000000..edad0feee
--- /dev/null
+++ b/sofa-ark-parent/core/spi/src/main/j... | 7 | 4 | 1 | [{"id": "G0", "claim": "In ArkTomcatEmbeddedServerServiceFactory, instantiate EmbeddedServerServiceImpl only when the container is non-null (the suggestion returns null for a null container) to avoid unnecessary instantiation.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id"... | null |
sofastack__sofa-bolt__138 | sofastack/sofa-bolt | 138 | defect | 7a978512dc21285d14b6dd27868ee36d8f279039 | 151f9e29372c5b8ff3be39bf71e6e9c4e2aabbd0 | Support config strategy | 1. 支持用户提供ConnectionSelectStrategy实现(fix issue: https://github.com/alipay/sofa-bolt/issues/128)
2. RemotingServer增加LifeCycle接口实现,统一生命周期 | diff --git a/src/main/java/com/alipay/remoting/AbstractRemotingServer.java b/src/main/java/com/alipay/remoting/AbstractRemotingServer.java
index ce5497a5..f9eb8f42 100644
--- a/src/main/java/com/alipay/remoting/AbstractRemotingServer.java
+++ b/src/main/java/com/alipay/remoting/AbstractRemotingServer.java
@@ -17,11 +17... | 4 | 2 | 0 | [{"id": "G0", "claim": "The contains() call before get() in the netty_buffer_low_watermark()/netty_buffer_high_watermark() methods of AbstractRemotingServer is unnecessary; a single get() suffices.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
sofastack__sofa-bolt__166 | sofastack/sofa-bolt | 166 | defect | 8495d99aa684f639d9ad749344af4d809b71b86e | 64e52be38705d490c25c78da8cf854687e93c0f3 | handling reconnection situation with no connection binding with channel | 1. upgrade version to 1.4.8
2. fix NPE in channelInactive
3. handling reconnection situation with no connection binding with channel
4. do not scan connection pool associated with task that has not been done | diff --git a/.travis.yml b/.travis.yml
index 88d3d69c..bc44c946 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,8 @@ jdk:
- oraclejdk8
- openjdk7
+dist: trusty
+
before_install:
- echo "Downloading Maven 3.2.5"
&& wget https://archive.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5... | 3 | 3 | 1 | [{"id": "G0", "claim": "In channelInactive, the CLOSE event should not be fired through the pipeline again (it loops back to this same handler on this same thread); call userEventTriggered directly instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "... | null |
sofastack__sofa-bolt__230 | sofastack/sofa-bolt | 230 | defect | 94c3623cf02052adb0a378c0b607d993459f9e33 | a96a26ca0bd6b3d492577c77e3a9801318154a41 | Dev 1.6.2 | 1. fix https://github.com/sofastack/sofa-bolt/issues/210
2. fix https://github.com/sofastack/sofa-bolt/issues/212
3. fix https://github.com/sofastack/sofa-bolt/issues/222
4. fix https://github.com/sofastack/sofa-bolt/issues/227 | diff --git a/pom.xml b/pom.xml
index 20d9d50b..20d2689f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.alipay.sofa</groupId>
<artifactId>bolt</artifactId>
- <version>1.6.1</version>
+ <version>1.6.2-SNAPSHOT</version>
<packaging>jar</packag... | 2 | 2 | 1 | [{"id": "G0", "claim": "In RpcClient.checkConnection, the createAsync branch should return false (rather than true) after issuing the async connection creation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The save/restore of the context ClassLoad... | null |
sofastack__sofa-bolt__319 | sofastack/sofa-bolt | 319 | defect | 021f12d6ac9557c7f4d19d7e98de5aede2664c5e | 31231badcbf4cc6cd63c507cb2f5f89686d17573 | [ISSUE #317] async context support send exception, make the async processor keep t… | async context support send exception, make the async processor keep the same exception handling semantics as the sync processor。releated [issue](https://github.com/sofastack/sofa-bolt/issues/317) | diff --git a/src/main/java/com/alipay/remoting/AsyncContext.java b/src/main/java/com/alipay/remoting/AsyncContext.java
index 16f569ad..6867e248 100644
--- a/src/main/java/com/alipay/remoting/AsyncContext.java
+++ b/src/main/java/com/alipay/remoting/AsyncContext.java
@@ -29,4 +29,10 @@ public interface AsyncContext {
... | 1 | 1 | 1 | [{"id": "G0", "claim": "For backward compatibility, the newly added sendException method on the AsyncContext interface should have a default implementation, which would require upgrading bolt's language level from JDK 1.6 to 1.8.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sofastack__sofa-bolt__335 | sofastack/sofa-bolt | 335 | defect | 829be5568bb06e9c599f86b06f3b4dc1d282db97 | fabfee6880902c7a896ecc309b1b3226fe37cc40 | Fix: serialize exception response | ## Why make this change?
https://github.com/sofastack/sofa-bolt/blob/master/src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java#L180
response forgot to serialize
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **Bug Fixes**
- Improved e... | diff --git a/src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java b/src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java
index 9b92adc1..5a2369c5 100644
--- a/src/main/java/com/alipay/remoting/rpc/protocol/RpcRequestProcessor.java
+++ b/src/main/java/com/alipay/remoting/rpc/protoco... | 3 | 1 | 1 | [{"id": "G0", "claim": "A unit test should be added for the exception-response serialization change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A comment explaining the rationale behind re-serializing the response in the exception path would be bene... | null |
sofastack__sofa-bolt__366 | sofastack/sofa-bolt | 366 | defect | 9f388ab91104b2f3d6bdb9632c5c76b7f31cae7e | f1a87a247d5542c151e459564b3ac739427ce0ff | feat: support io_uring |
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
## Summary by CodeRabbit
- **New Features**
- Added configuration support for Netty IO Uring, a new Linux asynchronous I/O interface.
- Introduced a configuration switch to enable/disable IO Uring functionality.
- Enhanced event loop ha... | diff --git a/src/main/java/com/alipay/remoting/config/ConfigManager.java b/src/main/java/com/alipay/remoting/config/ConfigManager.java
index e7da8f6c..c1574cd4 100644
--- a/src/main/java/com/alipay/remoting/config/ConfigManager.java
+++ b/src/main/java/com/alipay/remoting/config/ConfigManager.java
@@ -74,6 +74,10 @@ pu... | 5 | 1 | 1 | [{"id": "G0", "claim": "The import statements for IOUringEventLoopGroup, IOUringServerSocketChannel and IOUringSocketChannel cannot be resolved because the required Netty io_uring dependency is missing from the build configuration; add it to pom.xml.", "category": "correctness", "verdict": "supported", "priority": "P0"... | null |
sofastack__sofa-bolt__87 | sofastack/sofa-bolt | 87 | defect | 1836c1a0339fc4dcb441248e185d190d37a49669 | 7262340c4f2f1327fc0d12c201a68e40dc3aa8fd | Fix the bug that RemotingServer can be closed repeatedly. | * 修复AbstractRemotingServer#stop并发控制的BUG
* 移除了inited状态和init方法
* 修复了相关的单测 | diff --git a/src/main/java/com/alipay/remoting/AbstractRemotingServer.java b/src/main/java/com/alipay/remoting/AbstractRemotingServer.java
index 31115ec4..965e39a8 100644
--- a/src/main/java/com/alipay/remoting/AbstractRemotingServer.java
+++ b/src/main/java/com/alipay/remoting/AbstractRemotingServer.java
@@ -37,7 +37,... | 2 | 1 | 1 | [{"id": "G0", "claim": "The rewritten stop() should also reset the inited flag and handle the case where only init() was called, per the suggested replacement body, instead of tracking started alone.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "It... | null |
sofastack__sofa-bolt__97 | sofastack/sofa-bolt | 97 | defect | 9fccbc3d826439b37c68595645ce9199a62e7041 | 6fe8fefe9df317df272663d4b2eca237f864e33d | 修复Bolt死锁的问题 | fix https://github.com/alipay/sofa-bolt/issues/96
* 通过暴露Connection的closed状态,如果Connection的closed为true(说明是主动关闭的),在channelInactive时不再从ConnectionManager中执行remove操作
* RpcHeartbeatTrigger如果出现心跳失败而关闭连接,不修改Connection的closed状态,等待channelInactive执行remove操作(因为RpcHeartbeatTrigger中无法拿到ConnectionManager进行remove操作) | diff --git a/pom.xml b/pom.xml
index 5908472b..43d80ca2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.alipay.sofa</groupId>
<artifactId>bolt</artifactId>
- <version>1.4.4</version>
+ <version>1.4.5</version>
<packaging>jar</packaging>
... | 1 | 1 | 0 | [{"id": "G0", "claim": "The close failure log should add \"cause by heartbeat loss\" to its message.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sofastack__sofa-boot__1029 | sofastack/sofa-boot | 1,029 | defect | 5e153c899eb69df239d1b09368b2f61b9efabb31 | 75243d1a24c0f1d12ca2624b313fc68c91cf23be | Support singleton PostProcessor | 1. 支持通过 @SingletonSofaPostProcessor 注解指定 PostProcessor 以单例形式共享;
2. 优化一些 PostProcessor 实现,减少 byType 注入,避免触发 FactoryBean 提前初始化 | diff --git a/sofa-boot-project/sofa-boot-autoconfigure/src/main/java/com/alipay/sofa/boot/autoconfigure/runtime/SofaRuntimeAutoConfiguration.java b/sofa-boot-project/sofa-boot-autoconfigure/src/main/java/com/alipay/sofa/boot/autoconfigure/runtime/SofaRuntimeAutoConfiguration.java
index 819affbc0..86e6fcc5f 100644
--- a... | 1 | 1 | 0 | [{"id": "G0", "claim": "The import of com.alipay.sofa.runtime.spring.singleton.SingletonSofaPostProcessor in SofaShareBeanFactoryPostProcessor.java is unused and fails the PMD UnusedImports check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sofastack__sofa-boot__1106 | sofastack/sofa-boot | 1,106 | defect | 26e93b1649cc3313d5916e87346349f6c7defd77 | 243dcd32957ae952f96e18e71697adf51d22d180 | reactor switch on scenes | reactor switch on scenes
1. add sofa.boot.scenes.enable env key to open scene
2. scenes config files on sofa-boot/scenes | diff --git a/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/env/ScenesEnvironmentPostProcessor.java b/sofa-boot-project/sofa-boot/src/main/java/com/alipay/sofa/boot/env/ScenesEnvironmentPostProcessor.java
new file mode 100644
index 000000000..d9ca55632
--- /dev/null
+++ b/sofa-boot-project/sofa-boot/src... | 3 | 3 | 1 | [{"id": "G0", "claim": "The scene switch key should not be sofa.boot.scenes.enable (with its boolean-sounding .enable suffix), since values of sofa.boot.scenes=xxx are scene names rather than true/false.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The... | null |
sofastack__sofa-boot__1116 | sofastack/sofa-boot | 1,116 | defect | 451b5c513ceb13317ea7b53c656dde2a597867df | 8c60a32951eb90806856f03da69cc008e5c30832 | Feature same module inject | 1.componentinfo add more details for components endpoint.
2.reference check support skip by interface & uniqueId | diff --git a/pom.xml b/pom.xml
index cf7eb903e..23e9712d6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,7 +37,7 @@
<description>SOFABoot Build</description>
<properties>
- <revision>3.17.0</revision>
+ <revision>3.18.0-SNAPSHOT</revision>
<sofa.boot.version>${revision}</sofa.boot.version>... | 9 | 6 | 0 | [{"id": "G0", "claim": "The reviewer suggests the component display could simply use Map<String,Object> for properties instead of introducing a dedicated PropertyInfo wrapper class.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new config key skipJv... | null |
sofastack__sofa-boot__1124 | sofastack/sofa-boot | 1,124 | defect | 081a24c240e6848372e34ad0b37cbe907dd19b63 | adc9d6607c791b65bc0f364d038799ab2b2d3b99 | fix(test): update library causing flaky test behavior | Bumped version for the Maven surefire plugin, where concurrent JVM runs for testcases in JDK 11 were causing race conditions (and therefore flaky test failures).
Flaky test evidence using the NonDex tool: https://github.com/msalman-abid/sofa-boot/actions/runs/4457234377
Closes #1123 | diff --git a/sofa-boot-project/sofa-boot-parent/pom.xml b/sofa-boot-project/sofa-boot-parent/pom.xml
index 36b426834..a3057ec3a 100644
--- a/sofa-boot-project/sofa-boot-parent/pom.xml
+++ b/sofa-boot-project/sofa-boot-parent/pom.xml
@@ -27,7 +27,7 @@
<maven.source.plugin>3.0.0</maven.source.plugin>
<m... | 1 | 1 | 0 | [{"id": "G0", "claim": "Use the surefire 3.0.0 release version instead of the 3.0.0-M6 milestone in sofa-boot-parent/pom.xml.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sofastack__sofa-boot__1129 | sofastack/sofa-boot | 1,129 | defect | b7f7ab29103f9273b7a8420ca93309bd4f558b44 | 69d6873a465aae1d35426f0083afd0db71c3a5e9 | Support custom healthheck and healthindicator config | Support for customizing single healthCheck and healthIndicator | diff --git a/sofa-boot-project/sofa-boot-core/healthcheck-sofa-boot/src/main/java/com/alipay/sofa/healthcheck/HealthCheckProperties.java b/sofa-boot-project/sofa-boot-core/healthcheck-sofa-boot/src/main/java/com/alipay/sofa/healthcheck/HealthCheckProperties.java
index 07760605f..9fb58ce95 100644
--- a/sofa-boot-project... | 1 | 1 | 1 | [{"id": "G0", "claim": "The new HealthCheckerConfig class should be placed under the healthcheck-sofa-boot module rather than the top-level sofa-boot module.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sofastack__sofa-boot__1135 | sofastack/sofa-boot | 1,135 | defect | b7f7ab29103f9273b7a8420ca93309bd4f558b44 | d326ca99508a4ed96ea47df8559841dae2b76be7 | Support sofareference required optional | Add a required property for SofaReference, including annotation/xml/api registration.
If required=false, the health check will still pass even if no corresponding service exists. | diff --git a/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/test/java/com/alipay/sofa/rpc/boot/test/bean/reference/RequireService.java b/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/test/java/com/alipay/sofa/rpc/boot/test/bean/reference/RequireService.java
new file mode 100644
index 000000000..b9d835907
--- /... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new `required` field on ReferenceParam defaults to false, which would change the validation behavior of references created through the API from true to false.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add test cases ... | null |
sofastack__sofa-boot__12 | sofastack/sofa-boot | 12 | defect | 528d46502443c07631e9c2c5891450d7af181e0c | f8e9cfc7b1b822ce6ae00c044dda2d3eb0e72f45 | Add test sofa boot starter | fix #11 | diff --git a/pom.xml b/pom.xml
index 70a276bca..6808be687 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,7 +40,7 @@
<module>infra-sofa-boot-starter</module>
<module>healthcheck-sofa-boot-starter</module>
<module>runtime-sofa-boot-starter</module>
- <module>sofaboot-samples</module>
+ ... | 8 | 7 | 0 | [{"id": "G0", "claim": "The README reads as a standalone SOFAArk document; it should be rewritten to explain how to use SOFABoot's class isolation capability.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The second occurrence of SOFABoot in the ... | null |
sofastack__sofa-boot__1290 | sofastack/sofa-boot | 1,290 | defect | 35020926a3695fc131b2475d663b6ed97f6f6109 | f3ce43cd142aa656d42f936f55a42bedd85657f4 | fix #1276 after healthcheck double check success, register async | # 方案
在`rpc-sofa-boot`里定义一个否允许延迟服务发布至注册中心的扩展点,然后在`sofa-boot-actuator`里判断应用的健康状态,通过后再继续注册到注册中心。
# 修复后验证
demo地址:https://github.com/wangchengming666/sofa-boot-delay-demo
需要在配置里加上这两行
```
sofa.boot.rpc.enable-auto-publish=true
sofa.boot.rpc.enable-delay-register=true
```
我的demo验证情况如下,我有一个接口配置了延时10s发布、然后应用启动后会2s循... | diff --git a/sofa-boot-project/sofa-boot-actuator/src/main/java/com/alipay/sofa/boot/actuator/extension/ProviderConfigDelayRegisterCheckerSupport.java b/sofa-boot-project/sofa-boot-actuator/src/main/java/com/alipay/sofa/boot/actuator/extension/ProviderConfigDelayRegisterCheckerSupport.java
new file mode 100644
index 00... | 12 | 12 | 5 | [{"id": "G0", "claim": "Add javadoc to the ProviderConfigDelayRegisterChecker class and its method explaining what the feature does.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename isDelayRegisterHealthCheck to allowRegister, which is simple... | null |
sofastack__sofa-boot__1299 | sofastack/sofa-boot | 1,299 | defect | 2e8af92ee6cc73e8608b1c6abcff67b4aa5b9aa2 | 1790b70eaddab5062e46175036be75cdc6634ab6 | Test: add new test cases. | 1) Overall branch coverage increased from 49.1% to 51.8% and Line coverage increased from 52.9% to 56.1% for sofa-boot/sofa-boot-project.
2) New Test cases for these classes:
- VerificationResult
- StartupReporter
- SofaBootEnvUtils
- SofaGenericApplication
<!-- This is an auto-generated comment: rel... | diff --git a/sofa-boot-project/sofa-boot/pom.xml b/sofa-boot-project/sofa-boot/pom.xml
index 2b160377f..441089bcc 100644
--- a/sofa-boot-project/sofa-boot/pom.xml
+++ b/sofa-boot-project/sofa-boot/pom.xml
@@ -45,6 +45,12 @@
<artifactId>logback-classic</artifactId>
<scope>test</scope>
... | 3 | 2 | 2 | [{"id": "G0", "claim": "The testng dependency added to sofa-boot's pom.xml is unnecessary and should not be added.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The CI run fails and needs to be checked and fixed before the pull request can merge.", "cat... | null |
sofastack__sofa-boot__233 | sofastack/sofa-boot | 233 | defect | 7a60e687a1389c3a020c7c95f21aa835f8a8ea41 | c34e99533932ed2ef45c9f19a5962c2b09f33952 | Provide one util to distinguish bootstrap context and application context when compatible running with Spring Cloud | ### Modification
Provide one util to distinguish bootstrap context and application context when compatible running with Spring Cloud. Through this util we can distinguish bootstrap context loaded by spring cloud and application context loaded by application and expected! And Use this util compatible running with Spri... | diff --git a/infra-sofa-boot-starter/pom.xml b/infra-sofa-boot-starter/pom.xml
index 58a335389..c877040d3 100644
--- a/infra-sofa-boot-starter/pom.xml
+++ b/infra-sofa-boot-starter/pom.xml
@@ -170,6 +170,12 @@
<version>2.3</version>
<scope>test</scope>
</dependency>
+ <dependen... | 3 | 2 | 1 | [{"id": "G0", "claim": "The javadoc @since tag of SOFABootEnvUtils should record the version 2.5.0 instead of the date 2018/10/08.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The util's parameter type should be changed from Environment to appli... | null |
sofastack__sofa-boot__237 | sofastack/sofa-boot | 237 | defect | aa1c001c41277b31dac0b5fb9cbff918f21c2358 | 6f5ea99d4edadb50abbed54bd93a9bdcbbb038ec | Add health check retry | fix #234 | diff --git a/healthcheck-sofa-boot-starter/src/main/java/com/alipay/sofa/healthcheck/configuration/HealthCheckConfigurationConstants.java b/healthcheck-sofa-boot-starter/src/main/java/com/alipay/sofa/healthcheck/configuration/HealthCheckConfigurationConstants.java
index 2e4321ba2..ed981c025 100644
--- a/healthcheck-sof... | 1 | 1 | 1 | [{"id": "G0", "claim": "The default module health check retry interval of 0 could be a problem when the user configures only the retry count, so the default should be changed to 1000.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sofastack__sofa-boot__353 | sofastack/sofa-boot | 353 | defect | e550731eb960a06ed1c847829261b032d82b77d9 | c3119e61c35ba52e2a711f29eaabae99915ad4e4 | fix_sofa_module_factory_post_processor | fix #350 | diff --git a/isle-sofa-boot-starter/src/main/java/com/alipay/sofa/isle/spring/listener/SofaModuleBeanFactoryPostProcessor.java b/isle-sofa-boot-starter/src/main/java/com/alipay/sofa/isle/spring/listener/SofaModuleBeanFactoryPostProcessor.java
index 3304ee0f4..fb31bfe2e 100644
--- a/isle-sofa-boot-starter/src/main/java/... | 1 | 1 | 1 | [{"id": "G0", "claim": "The returned beanNames should be transformed via BeanFactoryUtils.transformedBeanName, otherwise beans that implement FactoryBean or are defined in a Configuration class would be ignored.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
sofastack__sofa-boot__521 | sofastack/sofa-boot | 521 | defect | 5bd77fd894be60a9c018dcfc430f379254faeab2 | a74507965242d21be83a95cab45ab13c66050c1c | fix *postProcessors inherited problem (#442) | Add **UnshareSofaModulePostProcessor** and **SofaModulePostProcessorShareFilter** to avoid
*postProcessors being added to submodules. | diff --git a/sofa-boot-project/sofa-boot-autoconfigure/src/main/java/com/alipay/sofa/boot/autoconfigure/isle/SofaModuleAutoConfiguration.java b/sofa-boot-project/sofa-boot-autoconfigure/src/main/java/com/alipay/sofa/boot/autoconfigure/isle/SofaModuleAutoConfiguration.java
index 630689d4a..0b5e6d07d 100644
--- a/sofa-bo... | 9 | 9 | 0 | [{"id": "G0", "claim": "Please remove the unused import com.alipay.sofa.boot.util.StringUtils from SofaModuleBeanFactoryPostProcessor.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The explicit assignment of the default value to isShareParentCo... | null |
sofastack__sofa-boot__649 | sofastack/sofa-boot | 649 | defect | 5ca4641e1b3ac78348e60a99e78ee2d479388cc7 | 149d06c24ddf81b3b03220e160b801f712fceba9 | add switch for terminating app when health check fails | fix: https://github.com/sofastack/sofa-boot/issues/648 | diff --git a/sofa-boot-project/sofa-boot-actuator-autoconfigure/src/main/java/com/alipay/sofa/boot/actuator/autoconfigure/health/SofaBootHealthCheckAutoConfiguration.java b/sofa-boot-project/sofa-boot-actuator-autoconfigure/src/main/java/com/alipay/sofa/boot/actuator/autoconfigure/health/SofaBootHealthCheckAutoConfigur... | 2 | 2 | 0 | [{"id": "G0", "claim": "The new field health_checker_insulator in ReadinessCheckListener should use camelCase naming.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The insulator test can be written using @Test(expected = HealthCheckException.cl... | null |
sofastack__sofa-boot__689 | sofastack/sofa-boot | 689 | defect | fcff6e64334a376404d7e5902060566c60be5680 | c746219de84ebe84f1c9a7ed8d317896324ecc64 | Add JVM service invoking filter support | fix: https://github.com/sofastack/sofa-boot/issues/688 | diff --git a/sofa-boot-project/sofa-boot-autoconfigure/src/main/java/com/alipay/sofa/boot/autoconfigure/runtime/SofaRuntimeAutoConfiguration.java b/sofa-boot-project/sofa-boot-autoconfigure/src/main/java/com/alipay/sofa/boot/autoconfigure/runtime/SofaRuntimeAutoConfiguration.java
index ae79a5c48..0ac78e179 100644
--- a... | 4 | 3 | 0 | [{"id": "G0", "claim": "The name `comparator` for the JvmFilter ordering lambda in FilterHolder has too weak semantics and should be named more meaningfully.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "onMasterBiz() only runs at startup, so a... | null |
sofastack__sofa-boot__740 | sofastack/sofa-boot | 740 | defect | 4adffcada308abfa765351ab9735ec9a0da2cbb2 | 90df809cbe24db02d5cd3ee5a1f382b2bccbf623 | Register module ApplicationContext as sofa components | fix: https://github.com/sofastack/sofa-boot/issues/667 | diff --git a/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/main/java/com/alipay/sofa/isle/ApplicationRuntimeModel.java b/sofa-boot-project/sofa-boot-core/isle-sofa-boot/src/main/java/com/alipay/sofa/isle/ApplicationRuntimeModel.java
index a928db54b..5622129dd 100644
--- a/sofa-boot-project/sofa-boot-core/isle-sof... | 3 | 3 | 1 | [{"id": "G0", "claim": "ModelCreatingStage should fetch the SofaRuntimeManager with BeanFactory#getBean(Class<T>) so that Spring's own exceptions (missing or ambiguous bean) propagate and block application startup, instead of the added getBeansOfType logic that logs and lets startup continue.", "category": "correctness... | null |
sofastack__sofa-boot__842 | sofastack/sofa-boot | 842 | defect | 3c837dbeb9b059f6e26f5cc8b51d0338626ee88c | 15ecf01c3eee17c0ea5313f47262519e14f24831 | Upgrade JDK version to 11 | fix: https://github.com/sofastack/sofa-boot/issues/838 | diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 869f5315c..acd9455c5 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -11,14 +11,14 @@ on:
jobs:
build:
- runs-on: ubuntu-16.04
+ runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The CI workflow should keep JDK 1.8 alongside JDK 11 (e.g. a build matrix over JDK 7, 8 and 11) instead of replacing JDK 1.8 with JDK 11.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sofastack__sofa-boot__849 | sofastack/sofa-boot | 849 | defect | 96a0e9de408c7efefb343b98f92d5a38e2213668 | d2bb80ff01d791bf41bb33a1382332783c67431a | adjust timeout priority | adjust timeout priority
https://github.com/sofastack/sofa-rpc/issues/1036 | diff --git a/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/converter/RpcBindingConverter.java b/sofa-boot-project/sofa-boot-core/rpc-sofa-boot/src/main/java/com/alipay/sofa/rpc/boot/runtime/converter/RpcBindingConverter.java
index 26fc4d1dd..d4498023b 100644
--- a/sofa-bo... | 2 | 1 | 1 | [{"id": "G0", "claim": "Add a unit test verifying that when the timeout is 0 the invocation uses the default 3000 ms timeout.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Changing the client-side timeout annotation default from 3000 to 0 may affect ex... | null |
sofastack__sofa-boot__875 | sofastack/sofa-boot | 875 | defect | 9b3d35503e6ca9ed092d1d9022e8df8fe9d7e316 | 88ff618abb4fe3f0b23baa8f5522adf7dcfcaced | Add tracer autoconfigure. (#847) | # 为 SOFATracer 中的 plugin 增加 SOFABoot auto-configuration
fix #847
以下plugin的autoconfigure,是从SOFATracer 3.1.0版本的starter中抽取了相关代码,同步过来的。
- KafkaMQ
- RabbitMQ
- SpringMessage
- Redis
## MongoDB plugin 的autoconfigure
前提:SOFATracer基于MongoDB 3.8.2版本的驱动实现,而当前版本SOFABoot依赖MongoDB 4.0.5版本驱动。因此,需基于当前版本驱动的`MongoCli... | diff --git a/sofa-boot-project/sofa-boot-autoconfigure/pom.xml b/sofa-boot-project/sofa-boot-autoconfigure/pom.xml
index 23da6d5c6..c87b24f05 100644
--- a/sofa-boot-project/sofa-boot-autoconfigure/pom.xml
+++ b/sofa-boot-project/sofa-boot-autoconfigure/pom.xml
@@ -108,6 +108,42 @@
<optional>true</optional>... | 4 | 3 | 0 | [{"id": "G0", "claim": "The @since Javadoc tags of the migrated tracer classes and processors need to be changed to reflect this migration (empty or stale versions such as 3.1.0 must be updated).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ... | null |
sofastack__sofa-boot__88 | sofastack/sofa-boot | 88 | defect | 797368889d3f5ccb6ddba3f9875523cf6435f3b9 | 5bb9a6613287bdc9cc8e695a2ae20b6faeef0c28 | Use the applicationContext to load the SofaRuntimeProperties to avoid premature initialization | fix #87 . | diff --git a/isle-sofa-boot-starter/src/test/java/com/alipay/sofa/isle/ServiceAnnotationBeanPostProcessorTest.java b/isle-sofa-boot-starter/src/test/java/com/alipay/sofa/isle/ServiceAnnotationBeanPostProcessorTest.java
index 2c7561e7a..bfe58ae67 100644
--- a/isle-sofa-boot-starter/src/test/java/com/alipay/sofa/isle/Ser... | 2 | 2 | 0 | [{"id": "G0", "claim": "Delete the manually-constructing four-argument constructor and instead mock the application context in the tests.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Use applicationContext.getBean(SofaRuntimeFrameworkConstants.SOFA_R... | null |
sofastack__sofa-boot__97 | sofastack/sofa-boot | 97 | defect | d14e186c1210dde5b32bcd729ad62b03e2baab96 | 145dc668d5609e53bf3d8887886801a37f9d6c86 | Reference factory bean null | fix #95 | diff --git a/runtime-sofa-boot-starter/src/main/java/com/alipay/sofa/runtime/spring/factory/AbstractContractFactoryBean.java b/runtime-sofa-boot-starter/src/main/java/com/alipay/sofa/runtime/spring/factory/AbstractContractFactoryBean.java
index dc133c8ce..c7ec13459 100644
--- a/runtime-sofa-boot-starter/src/main/java/c... | 1 | 1 | 0 | [{"id": "G0", "claim": "The constant members in AbstractContractDefinitionParser need not be widened from private to protected, since the logic now lives in AbstractContractDefinitionParser itself.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
sofastack__sofa-common-tools__12 | sofastack/sofa-common-tools | 12 | defect | 2e312c70a01754193d0a9768deadc10fa2f2dad9 | 1e748539187e3067f134bc4d5c8f45e3db72d478 | Support the priority of multiple log-conf.xml with the same namespace. | Fix #11 | diff --git a/src/main/java/com/alipay/sofa/common/log/Constants.java b/src/main/java/com/alipay/sofa/common/log/Constants.java
index bfdc9437..2424f130 100644
--- a/src/main/java/com/alipay/sofa/common/log/Constants.java
+++ b/src/main/java/com/alipay/sofa/common/log/Constants.java
@@ -33,6 +33,7 @@ public interface Co... | 1 | 1 | 0 | [{"id": "G0", "claim": "Since configs are ordered from high to low priority, an unconfigured log-conf.xml defaults to priority 0 and the code should provide a named default minimum value (like Ordered's LOWEST_PRECEDENCE) instead of the bare literal 0.", "category": "design", "verdict": "supported", "priority": "P2", "... | null |
sofastack__sofa-common-tools__143 | sofastack/sofa-common-tools | 143 | defect | 0534486803e74c56a68cc6fbb65034695365c755 | d351410f53601f9665248f869149692fe2d22a52 | support set console level separately | ### Motivation:
Explain the context, and why you're making that change.
To make others understand what is the problem you're trying to solve.
### Modification:
Describe the idea and modifications you've done.
### Result:
Fixes #<GitHub issue number>.
If there is no issue then describe the changes in... | diff --git a/src/main/java/com/alipay/sofa/common/log/factory/AbstractLoggerSpaceFactory.java b/src/main/java/com/alipay/sofa/common/log/factory/AbstractLoggerSpaceFactory.java
index d8d89cd6..c78f3f06 100644
--- a/src/main/java/com/alipay/sofa/common/log/factory/AbstractLoggerSpaceFactory.java
+++ b/src/main/java/com/... | 6 | 6 | 3 | [{"id": "G0", "claim": "The code added by the pull request is not formatted and needs to be run through the formatter (mvn clean install).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new Javadoc comment misspells \"logger\" as \"loggger\"... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.