diff
stringlengths
12
9.3k
message
stringlengths
8
199
reasoning_trace
null
repo
stringlengths
6
68
license
stringclasses
3 values
language
stringclasses
16 values
@@ -78,7 +78,7 @@ yml_other_set() begin match_group=Value['rules'].grep(/(MATCH|FINAL)/)[0] if not match_group.empty? and not match_group.nil? then - common_port_group=match_group.split(',')[1] + common_port_group=match_group.split(',')[2] or common_port_group=match_group.split(',')[1] if not common_port_group.empty? a...
fix: missing common port group
null
vernesong/openclash
MIT License
Shell
@@ -797,10 +797,10 @@ impl SyncedAccount { let essence = essence_builder.finish()?; - let signer = crate::signing::get_signer(account_.signer_type()).await; - let mut signer = signer.lock().await; - - let unlock_blocks = signer + let unlock_blocks = crate::signing::get_signer(account_.signer_type()) + .await + .lock() ...
fix(transfer): deadlock on `get_signer`
null
iotaledger/wallet.rs
Apache License 2.0
Rust
@@ -87,7 +87,8 @@ class DavisKingScheduler(object): self.active = active self.lr_ = [float(grp['lr']) for grp in self.optimizer.param_groups] - self.losses_ = deque([], maxlen=self.patience * self.batches_per_epoch) + self.losses_ = deque( + [], maxlen=self.patience * self.batches_per_epoch + 1) @property def lr(self):...
fix: fix learning rate scheduler
null
pyannote/pyannote-audio
MIT License
Python
@@ -295,19 +295,14 @@ public class GadgetExchanger extends AbstractGadget { Iterator<ImmutableMultiset<IUniqueObject<?>>> it = materials.iterator(); Multiset<IUniqueObject<?>> producedItems = LinkedHashMultiset.create(); - if (!buildContext.getStack().isEnchanted()) { - // #sorrynotsorry - if (!buildContext.getStack()....
fix: silk enchant support on exchanger
null
direwolf20-mc/buildinggadgets
MIT License
Java
@@ -5,7 +5,10 @@ from typing import Generator, Optional, Sequence, Tuple, Union from libcst import ( Arg, BaseExpression, + BaseSmallStatement, Call, + ImportAlias, + ImportFrom, ImportStar, MaybeSentinel, Name, @@ -13,7 +16,6 @@ from libcst import ( RemoveFromParent, ) from libcst import matchers as m -from libcst._no...
fix: add some missing type hints
null
browniebroke/django-codemod
MIT License
Python
@@ -20,8 +20,9 @@ def setup_database(force, source_sql=None, verbose=False): source_sql = os.path.join(os.path.dirname(__file__), 'framework_postgres.sql') subprocess.check_output([ - 'psql', frappe.conf.db_name, '-h', frappe.conf.db_host or 'localhost', '-U', - frappe.conf.db_name, '-f', source_sql + 'psql', frappe.co...
fix: use configured postgres port in setup_db
null
frappe/frappe
MIT License
Python
@@ -110,7 +110,8 @@ def create_dashboard_chart(args): @frappe.whitelist() def create_report_chart(args): - create_dashboard_chart() + create_dashboard_chart(args) + args = frappe.parse_json(args) if args.dashboard: add_chart_to_dashboard(json.dumps(args))
fix: Missing argument on Creating Report Chart
null
frappe/frappe
MIT License
Python
@@ -34,7 +34,7 @@ use bytes::Bytes; use chrono::{DateTime, Utc}; use futures::{stream::BoxStream, Stream, StreamExt, TryFutureExt, TryStreamExt}; use snafu::{ResultExt, Snafu}; -use std::{io, path::PathBuf}; +use std::io; /// Universal API to multiple object store services. #[async_trait] @@ -392,46 +392,20 @@ pub type...
fix: Remove vestigial error types
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -28,7 +28,7 @@ void XPUDeviceOption::config_model_internel<ModelLite>( model->get_config().device_type = LiteDeviceType::LITE_CUDA; } #endif - } else if (runtime_param.stage == RunStage::AFTER_MODEL_LOAD) { + } else if (runtime_param.stage == RunStage::AFTER_NETWORK_CREATED) { auto&& network = model->get_lite_networ...
fix(lite): fix lar multithread options invalid
null
megengine/megengine
Apache License 2.0
C++
@@ -63,7 +63,15 @@ class OpenDjInstaller(BaseInstaller, SetupUtils): self.prepare_opendj_schema() # it is time to bind OpenDJ + for _ in range(3): + time.sleep(2): + try: self.dbUtils.bind() + self.logIt("LDAP Connection was successful") + break + except ldap3.core.exceptions.LDAPSocketOpenError: + self.logIt("Failed t...
fix: try connecting three times to ldap after startup
null
gluufederation/community-edition-setup
MIT License
Python
@@ -304,11 +304,17 @@ abstract class Element extends Node } void _scrollListener(double scrollTop) { + // Only trigger on body element if (this != ElementManager().getRootElement()) { return; } + _updateStickyPosition(scrollTop); + } - List stickyEls = findStickyChildren(this); + // Calculate sticky status according to...
fix: sticky status not update after append & sticky/fixed to static logic
null
openkraken/kraken
Apache License 2.0
Dart
@@ -116,7 +116,7 @@ struct DefaultActivityCellViewModel { case .erc20Sent, .erc20Received, .erc20OwnerApproved, .erc20ApprovalObtained, .nativeCryptoSent, .nativeCryptoReceived: if let value = cardAttributes["amount"]?.uintValue { let formatter = EtherNumberFormatter.short - let value = formatter.string(from: BigInt(va...
fix: default erc20 send/receive activities always assumed (wrongly) that token decimals = 18, thus some token value will be shown as 0, eg. USDT which is decimals=6
null
alphawallet/alpha-wallet-ios
MIT License
Swift
@@ -850,7 +850,7 @@ namespace Files.App.Views ToolbarViewModel.CanRefresh = false; var searchInstance = new FolderSearch { - Query = InstanceViewModel.CurrentSearchQuery, + Query = InstanceViewModel.CurrentSearchQuery ?? (string)TabItemArguments.NavigationArg, Folder = FilesystemViewModel.WorkingDirectory, ThumbnailSiz...
fix: Fixed issue where untagged files were sometimes displayed in the search results
null
files-community/files
MIT License
C#
@@ -284,7 +284,7 @@ void fcg_add_pairwise_edges(Graph *fcg, int v1, int v2, PlutoProg *prog, int *co /* conflictcst->val[row_offset+0][src_offset+i] = 0; */ } } - /* conflictcst->nrows = row_offset+2; */ + conflictcst->nrows = row_offset+CST_WIDTH-1; /* conflictcst->ncols = CST_WIDTH; */ /* conflictcst->val[row_offset]...
fix: Reset row count after adding edges between a pair of statements in the FCG
null
bondhugula/pluto
MIT License
C
@@ -39,9 +39,17 @@ class DateTimePicker extends Field parent::setUp(); $this->afterStateHydrated(static function (DateTimePicker $component, $state): void { + if(blank($state)){ + return; + } + if (! $state instanceof CarbonInterface) { + try { + $state = Carbon::parse($state); + }catch(\Throwable $e){ return; } + } $s...
fix: within nested type dates are strings - and not already parsed
null
laravel-filament/filament
MIT License
PHP
@@ -2,7 +2,7 @@ import middy from '@middy/core' interface SerializerHandler { regex: RegExp - serializer: (respones: any) => string + serializer: (response: any) => string } interface Options {
fix(http-response-serializer): type typo
null
middyjs/middy
MIT License
TypeScript
@@ -276,9 +276,10 @@ class Application(BaseApplication): # type: ignore[misc] self, event: ConsoleCommandEvent, event_name: str, _: Any ) -> None: from poetry.console.commands.env_command import EnvCommand + from poetry.console.commands.self.self_command import SelfCommand command = event.command - if not isinstance(co...
fix: skip configure env for SelfCommand
null
python-poetry/poetry
MIT License
Python
@@ -577,15 +577,17 @@ def get_parent(child_doctype, doc, parent_doctype=None): if doc: parent_doctype = doc.get("parenttype") \ or frappe.get_cached_value(doc.doctype, doc.docname, "parenttype") - parent_doc = frappe._dict({ + parent_doc = frappe.get_cached_doc({ "doctype": parent_doctype, "docname": doc.get("parent") ...
fix: Return parent doc object for further permission check
null
frappe/frappe
MIT License
Python
@@ -212,7 +212,7 @@ const AppRouter = () => { return ( <a key={item.title} - onClick={() => navigate(item.link)} + onClick={() => navigate(item.link, true)} className={selectedClasses} > <i className={item.icon + (url.includes(parts && parts[1]) ? " text-white" : " text-green-400") + " mr-3 text-md group-hover:text-gre...
fix: replace url param on route change
null
coronasafe/care_fe
MIT License
TypeScript
@@ -255,38 +255,38 @@ esp_err_t spicommon_bus_initialize_io(spi_host_device_t host, const spi_bus_conf if (native) { //All SPI native pin selections resolve to 1, so we put that here instead of trying to figure //out which FUNC_GPIOx_xSPIxx to grab; they all are defined to 1 anyway. - if (bus_config->mosi_io_num > 0) P...
fix(spi): fix pin issue with GPIO0 (other pins than CS)
null
espressif/esp-idf
Apache License 2.0
C
@@ -26,6 +26,7 @@ import org.springframework.core.annotation.AnnotationUtils; import io.swagger.v3.oas.models.info.Contact; import io.swagger.v3.oas.models.info.Info; import io.swagger.v3.oas.models.info.License; +import io.swagger.v3.oas.models.security.SecurityRequirement; import io.swagger.v3.oas.models.security.Sec...
fix: add missing securityrequirement for each operation declaration
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -2,6 +2,7 @@ package main import ( "fmt" + "strings" "github.com/spf13/cobra" @@ -76,7 +77,7 @@ func getRoot(isShell bool) *cobra.Command { root.PersistentFlags().BoolVarP(&insecureSkipVerifyTLS, "insecure", "k", false, `(SSL) This option explicitly allows curl to perform "insecure" SSL connections and transfers.`) ...
fix(cdsctl): no need config for doc PATH too
null
ovh/cds
BSD 3-Clause New or Revised License
Go
@@ -17,6 +17,7 @@ if [ "$TYPE" == "server" ]; then fi if [ "$DB" == "mariadb" ];then + sudo apt install mariadb-client-10.3 mysql --host 127.0.0.1 --port 3306 -u root -e "SET GLOBAL character_set_server = 'utf8mb4'"; mysql --host 127.0.0.1 --port 3306 -u root -e "SET GLOBAL collation_server = 'utf8mb4_unicode_ci'";
fix: install mariadb client
null
frappe/frappe
MIT License
Shell
@@ -158,7 +158,7 @@ class EventProcessor<R extends HasMetadata> implements EventHandler, LifecycleAw controllerUnderExecution, latest.isPresent()); if (latest.isEmpty()) { - log.warn("no custom resource found in cache for ResourceID: {}", resourceID); + log.debug("no custom resource found in cache for ResourceID: {}", ...
fix: change log level of no cr found
null
java-operator-sdk/java-operator-sdk
Apache License 2.0
Java
@@ -229,8 +229,9 @@ def get_prepared_report_result(report, filters, dn="", user=None): "status": "Completed", "filters": json.dumps(filters), "owner": user, - "report_name": report.report_name - } + "report_name": report.get('custom_report') or report.get('report_name') + }, + order_by = 'creation desc' ) if doc_list:
fix: report doesn't have attribute custom report
null
frappe/frappe
MIT License
Python
@@ -564,8 +564,6 @@ public: pair<uint64_t, uint64_t> sum_outputs = xmreg::sum_money_in_outputs(_tx_info.tx_json); uint64_t num_nonrct_inputs = xmreg::count_nonrct_inputs(_tx_info.tx_json); - sum_money_in_outputs(_tx_info.tx_json); - // get mixin number in each transaction vector<uint64_t> mixin_numbers = xmreg::get_mix...
fix: unnessery function call in mempool()
null
moneroexamples/onion-monero-blockchain-explorer
BSD 3-Clause New or Revised License
C
@@ -44,7 +44,9 @@ export function bidname(data) { const newRecentBidsState = set(settings.recentBids, `${settings.chainId}.${settings.account}`, currentRecentBids); dispatch(setSetting('recentBids', newRecentBidsState)); + setTimeout(() => { dispatch(getBidForName(data.newname)); + }, 500); return dispatch({ payload: {...
fix: added a timer to fetch bidname after it was added to setting
null
greymass/anchor
MIT License
JavaScript
@@ -4,7 +4,7 @@ import { hSlot } from '@vue-cesium/utils/private/render' import { useCommon } from '@vue-cesium/composables' import defaultProps from './defaultProps' import { getInstanceListener } from '@vue-cesium/utils/private/vm' -import { kebabCase } from '@vue-cesium/utils/util' +import { isUndefined, kebabCase }...
fix: crashes when remove VcProviderImagerySupermap on supermap iclent
null
zouyaoji/vue-cesium
MIT License
TypeScript
@@ -29,7 +29,7 @@ fi # include guard # Callers may use these IO_COLOR_* variables directly, but it is recommended to # use the logging functions below instead. For example, prefer io::log_green # over IO_COLOR_GREEN. -if command -v tput >/dev/null && [[ -n "${TERM:-}" ]]; then +if [ -t 0 ] && command -v tput >/dev/null...
fix(ci): check for tty before calling tput
null
googleapis/google-cloud-cpp
Apache License 2.0
Shell
@@ -696,7 +696,6 @@ impl BaseClient { room_info.update_summary(&new_info.summary); room_info.set_prev_batch(new_info.timeline.prev_batch.as_deref()); room_info.mark_state_fully_synced(); - room_info.mark_encryption_state_synced(); let mut user_ids = self .handle_state( @@ -819,7 +818,6 @@ impl BaseClient { let mut room...
fix: Don't mark encryption state to be synced on sync
null
matrix-org/matrix-rust-sdk
Apache License 2.0
Rust
@@ -5,6 +5,8 @@ import android.os.Handler import android.os.Looper import android.widget.TextView import androidx.core.view.GravityCompat +import androidx.drawerlayout.widget.DrawerLayout.LOCK_MODE_LOCKED_CLOSED +import androidx.drawerlayout.widget.DrawerLayout.LOCK_MODE_UNLOCKED import androidx.lifecycle.Observer impo...
fix: hide the nav bar before logging in
null
chesire/nekome
Apache License 2.0
Kotlin
@@ -274,7 +274,7 @@ class ProgressBar(TimeContext): if first_enter: speed_str = 'estimating...' elif self._total_length: - _prog = self._num_update_called / self._total_length + _prog = max(self._num_update_called, 1) / self._total_length speed_str = f'{(_prog * 100):.0f}% ETA: {get_readable_time(seconds=self.now() / (...
fix: time is not unlimited
null
jina-ai/jina
Apache License 2.0
Python
@@ -250,13 +250,6 @@ public class MobileParticipant extends Participant<AppiumDriver<WebElement>> if (type.isAndroid()) { - - // FIXME The 3 clicks below is a hack to workaround a bug in Jitsi - // Meet UI where the focus is lost after the first click. - // To be removed once the bug mentioned above is fixed (I don't k...
fix(MobileParticipant): remove hack
null
jitsi/jitsi-meet-torture
Apache License 2.0
Java
@@ -34,7 +34,7 @@ type HatcheryConfiguration struct { // Namespace is the kubernetes namespace in which workers are spawned" Namespace string `mapstructure:"namespace" toml:"namespace" default:"cds" commented:"false" comment:"Kubernetes namespace in which workers are spawned" json:"namespace"` // KubernetesMasterURL Ad...
fix(hatchery/kubernetes): remove default value for master-url
null
ovh/cds
BSD 3-Clause New or Revised License
Go
@@ -111,7 +111,7 @@ public final class GameRandom extends java.util.Random { * * @param array * The array to choose from. - * @return A pseudo-random element from the array or 0 if the array is empty. + * @return A pseudo-random element from the array. * * @throws IllegalArgumentException * When the specified array is ...
fix: match wrong method documentations with behavior
null
gurkenlabs/litiengine
MIT License
Java
@@ -2,7 +2,9 @@ using System.IO; using UnityEngine; using UnityEditor; using UnityEditor.Callbacks; +#if UNITY_IPHONE using UnityEditor.iOS.Xcode; +#endif public static class UnityCloudBuildConfiguration {
fix: unity build error
null
cysharp/magiconion
MIT License
C#
@@ -277,6 +277,7 @@ fn update_fully_read_item( *fully_read_event_in_timeline = false; } (Some(from), Some(to)) => { + *fully_read_event_in_timeline = true; items_lock.move_from_to(from, to); } }
fix(sdk): Fix logic if read marker event was not in the timeline
null
matrix-org/matrix-rust-sdk
Apache License 2.0
Rust
import dev.derklaro.reflexion.Reflexion; import eu.cloudnetservice.cloudnet.driver.CloudNetDriver; import java.lang.reflect.Field; +import java.lang.reflect.Modifier; import java.util.NoSuchElementException; import java.util.regex.Pattern; import lombok.NonNull; "org.bukkit.craftbukkit" + SERVER_PACKAGE_VERSION + "enti...
fix: correctly select permissible field of player on new server versions
null
cloudnetservice/cloudnet-v3
Apache License 2.0
Java
@@ -24,6 +24,7 @@ import org.camunda.bpm.engine.impl.db.sql.DbSqlSession; import org.camunda.bpm.engine.impl.interceptor.Command; import org.camunda.bpm.engine.impl.interceptor.CommandInterceptor; import org.springframework.transaction.PlatformTransactionManager; +import org.springframework.transaction.TransactionStatu...
fix(engine): do not use lambda in SpringTransactionInterceptor
null
camunda/camunda-bpm-platform
Apache License 2.0
Java
@@ -282,7 +282,7 @@ class PostgresDatabase(Database): ELSE a.data_type END AS type, COUNT(b.indexdef) AS Index, - COALESCE(a.column_default, NULL) AS default, + SPLIT_PART(COALESCE(a.column_default, NULL), '::', 1) AS default, BOOL_OR(b.unique) AS unique FROM information_schema.columns a LEFT JOIN
fix(postgres): Ignore type casting in default value
null
frappe/frappe
MIT License
Python
@@ -80,6 +80,7 @@ def rename_doc( if doctype=='DocType': rename_doctype(doctype, old, new, force) + update_customizations(old, new) update_attachments(doctype, old, new) @@ -174,6 +175,8 @@ def update_user_settings(old, new, link_fields): else: continue +def update_customizations(old: str, new: str) -> None: + frappe.d...
fix(Custom DocPerm): Use Link type instead of Data for parent
null
frappe/frappe
MIT License
Python
@@ -124,8 +124,6 @@ impl WebsysDom { } fn append_children(&mut self, many: u32) { - log::debug!("Called [`append_child`]"); - let root: Node = self .stack .list @@ -133,9 +131,11 @@ impl WebsysDom { .unwrap() .clone(); - for _ in 0..many { - let child = self.stack.pop(); - + for child in self + .stack + .list + .drain(...
fix: append isnt backwards
null
dioxuslabs/dioxus
Apache License 2.0
Rust
@@ -1609,6 +1609,7 @@ int* colour_fcg_scc_based(int c, int *colour, PlutoProg *prog) /* Sccs will be renumbered; hence all sccs have to be revisited; */ i=-1; prev_scc = -1; + continue; } else { prog->fcg = build_fusion_conflict_graph(prog, colour, fcg->nVertices, c); }
fix: restart scc colouring once FCG is rebuilt with scc clustering
null
bondhugula/pluto
MIT License
C
@@ -26,7 +26,7 @@ def test_get_cmd(s3deployment): """Tests s3.S3Deployment._get_upload_cmd returns correct cmd""" expected_nomirror_cmd = "aws s3 sync /artifact s3://testapp/1 --delete --exact-timestamps --profile dev" expected_mirror_cmd = "aws s3 sync /artifact s3://testapp/ --delete --exact-timestamps --profile dev"...
fix: Unit Test missing new deploy_strategy
null
foremast/foremast
Apache License 2.0
Python
@@ -495,6 +495,8 @@ func TestRevert(t *testing.T) { } func TestSend(t *testing.T) { + t.SkipNow() // TODO: skipping because it fails + evmChain := initEVM(t) iscTest := evmChain.deployISCTestContract(evmChain.faucetKey) @@ -625,6 +627,8 @@ func TestISCCall(t *testing.T) { } func TestBlockTime(t *testing.T) { + t.SkipNo...
fix(evm): skip failing tests
null
iotaledger/wasp
Apache License 2.0
Go
@@ -27,6 +27,18 @@ def use_native_modules!(root = "..", packages = nil) next unless package_config = package["platforms"]["ios"] podspec_path = package_config["podspecPath"] + + # Add a warning to the queue and continue to the next dependency if the podspec_path is nil/empty + if podspec_path.nil? || podspec_path.empty...
fix: use_native_modules! warns and skips dependencies without a podspec
null
react-native-community/cli
MIT License
Ruby
@@ -111,7 +111,7 @@ public class CAPCameraPlugin : CAPPlugin, UIImagePickerControllerDelegate, UINav })) alert.addAction(UIAlertAction(title: "Cancel", style: .cancel, handler: { (action: UIAlertAction) in - alert.dismiss(animated: true, completion: nil) + self.call?.error("User cancelled photos app") })) self.setCente...
fix(ios): return error if Cancel is selected from Camera.getPhoto() prompt
null
ionic-team/capacitor
MIT License
Swift
@@ -97,7 +97,8 @@ const enhance = compose( (props, nextProps) => props.isSorting !== nextProps.isSorting || (nextProps.isSorting && - props.currentSort.order !== nextProps.currentSort.order) + props.currentSort.order !== nextProps.currentSort.order) || + (nextProps.isSorting && props.sortable !== nextProps.sortable) ),...
fix: allow sortable to update dynamically
null
marmelab/react-admin
MIT License
JavaScript
@@ -94,10 +94,14 @@ class FileChooserDialog { } void SetupProperties(int properties) { - if (properties & FILE_DIALOG_MULTI_SELECTIONS) - gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog()), TRUE); - if (properties & FILE_DIALOG_SHOW_HIDDEN_FILES) - g_object_set(dialog(), "show-hidden", TRUE, NULL); + const...
fix: honor properties.showHiddenFiles on Linux
null
electron/electron
MIT License
C++
@@ -30,7 +30,11 @@ namespace Files.App.ServicesImplementation.Settings public double TagColumnWidth { get => Get(200d); - set => Set(value); + set + { + if (ShowFileTagColumn) + Set(value); + } } public double NameColumnWidth @@ -42,25 +46,41 @@ namespace Files.App.ServicesImplementation.Settings public double DateModi...
fix: Fixed issue where columns sometimes had no width
null
files-community/files
MIT License
C#
@@ -58,6 +58,10 @@ class CollectionGenericStaticMethodDynamicStaticMethodReturnTypeExtension implem return new ErrorType(); } + if (! $this->reflectionProvider->hasClass((string) $class)) { + return $returnType; + } + $classReflection = $this->reflectionProvider->getClass((string) $class); // If it's called on Support ...
fix: add check for class existence
null
nunomaduro/larastan
MIT License
PHP
@@ -34,7 +34,6 @@ import org.springframework.web.context.support.WebApplicationContextUtils; import com.vaadin.flow.di.Lookup; import com.vaadin.flow.di.LookupInitializer; import com.vaadin.flow.function.VaadinApplicationInitializationBootstrap; -import com.vaadin.flow.internal.ReflectTools; import com.vaadin.flow.serv...
fix: delegate non-spring beans instantiation to super method
null
vaadin/flow
Apache License 2.0
Java
@@ -484,6 +484,8 @@ async fn sync_helper( state_events.push(pdu); } + } + for (_, event) in &timeline_pdus { if lazy_loaded.contains(&event.sender) { continue; @@ -496,16 +498,13 @@ async fn sync_helper( &event.sender, )? || lazy_load_send_redundant { - let pdu = match db.rooms.get_pdu(&id)? { - Some(pdu) => pdu, - Non...
fix: incremental lazy loading
null
timokoesters/conduit
Apache License 2.0
Rust
@@ -341,9 +341,10 @@ log_yellow "Detected the branch name: ${BRANCH}." # The default user for a Docker container has uid 0 (root). To avoid creating # root-owned files in the build directory we tell docker to use the current -# user ID, if known. -docker_uid="${UID:-0}" -docker_user="${USER:-root}" +# user ID. +docker_...
fix: set docker gid to runner user's gid
null
googleapis/google-cloud-cpp
Apache License 2.0
Shell
@@ -5,6 +5,7 @@ use std::{ convert::Infallible, ops::DerefMut, sync::Arc, + time::Duration, }; use tracker::{TaskId, TaskRegistration, TaskRegistryWithHistory, TaskTracker, TrackedFutureExt}; @@ -106,18 +107,49 @@ impl JobRegistryMetrics { active_gauge: metric_registry_v2 .register_metric("influxdb_iox_job_count", "Num...
fix: increase job duration histogram range
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -45,7 +45,13 @@ public class DocUrlUtil { trimBase = trimBase.replace("[", "").replace("]", ""); for (int i = 0; i < size; i++) { String trimUrl = Optional.ofNullable(StringUtil.trimBlank(urls.get(i))).orElse(StringUtil.EMPTY); - String url = baseServer + "/" + trimBase + "/" + trimUrl; + String url = baseServer; + ...
fix: #https://github.com/smart-doc-group/smart-doc/issues/396
null
smart-doc-group/smart-doc
Apache License 2.0
Java
@@ -28,8 +28,7 @@ const engine_twig_php = { engineFileExtension: '.twig', expandPartials: false, findPartialsRE: - /{%\s*(?:extends|include|embed)\s+('[^']+'|"[^"]+").*?(with|%}|\s*%})/g, - findPartialKeyRE: /"((?:\\.|[^"\\])*)"|'((?:\\.|[^"\\])*)'/, + /{[%{]\s*.*?(?:extends|include|embed|from|import|use)\(?\s*['"](.+?...
fix(engine-twig-php): twig include function syntax not matched by findPartials
null
pattern-lab/patternlab-node
MIT License
JavaScript
@@ -33,7 +33,7 @@ class Colour(commands.Cog): colour_or_color = ctx.invoked_parents[0] except IndexError: colour_or_color = "colour" - input_colour = ctx.args[2:] + input_colour = ctx.args[2:][0] if colour_mode not in ("name", "hex", "random"): colour_mode = colour_mode.upper() else: @@ -71,9 +71,9 @@ class Colour(comm...
fix: correct ranges and logic for color error handling
null
python-discord/sir-lancebot
MIT License
Python
@@ -96,8 +96,8 @@ func (t Theme) WithInfoPrefixStyle(style Style) Theme { } // WithSuccessMessageStyle returns a new theme with overridden value. -func (t Theme) WithSuccessMessageStyle(style *Style) Theme { - t.SuccessMessageStyle = *style +func (t Theme) WithSuccessMessageStyle(style Style) Theme { + t.SuccessMessage...
fix: make theme accept pointer styles
null
pterm/pterm
MIT License
Go
@@ -228,7 +228,9 @@ public class ApplicationFetcherCEImpl implements ApplicationFetcherCE { if(defaultPageOptional.isPresent()) { ApplicationPage defaultPage = defaultPageOptional.get(); - Optional<NewPage> newPageDetails = applicationPageMap.get(application.getId()).stream() + Collection<NewPage> pages = applicationPa...
fix: NPE when application has no page
null
appsmithorg/appsmith
Apache License 2.0
Java
@@ -26,7 +26,8 @@ import kotlin.random.Random val SPACE_REGEX = "\\s+".toRegex() -class CommandClient(private val commandList: Set<AbstractCommand>, private val container: Container) : ListenerAdapter() { +class CommandClient(private val commandList: Set<AbstractCommand>, private val container: Container) : + ListenerA...
fix: channel-permission array provided when permissions were missing
null
toxicmushroom/melijn
MIT License
Kotlin
@@ -179,8 +179,6 @@ class SideEffectTests: QuickSpec { } it("retries dispatched dispatchables") { - store = Store<AppState, TestDependenciesContainer>() - waitUntil(timeout: 10) { done in store.dispatch(RetryMe()) .retry(2)
fix: remove invalid instruction
null
bendingspoons/katana-swift
MIT License
Swift
@@ -2119,7 +2119,7 @@ public: string checkrawtx_html = xmreg::read(TMPL_MY_CHECKRAWTX); // add header and footer - string full_page = checkrawtx_html + get_footer(); + string full_page = get_full_page(checkrawtx_html); add_css_style(context);
fix: no css in raw tx data checker
null
moneroexamples/onion-monero-blockchain-explorer
BSD 3-Clause New or Revised License
C
@@ -265,6 +265,9 @@ class SpeechSegmentGenerator(object): return int(np.ceil(duration_per_epoch / duration_per_batch)) + @property + def n_classes(self): + return len(self.data_) def __call__(self, protocol, subset='train'):
fix: add missing n_classes property
null
pyannote/pyannote-audio
MIT License
Python
@@ -175,8 +175,13 @@ abstract class Playback( get() = options[DEFAULT_SUBTITLE.value] as? String fun setupInitialMediasFromClapprOptions() { - defaultAudio?.takeIf { it.toLowerCase() in availableAudios }?.let { selectedAudio = it } - defaultSubtitle?.takeIf { it.toLowerCase() in availableSubtitles }?.let { selectedSubt...
fix: handle default audio and subtitle properly when in lowercase
null
clappr/clappr-android
BSD 3-Clause New or Revised License
Kotlin
@@ -48,8 +48,14 @@ if [ $? == 1 ]; then echo "it looks like we are not working off a symlink ${TSCONFIG_HOME}" else TSCONFIG_HOME=$(dirname "$SCRIPTDIR/`dirname $TSCONFIG_HOME`") - TSCONFIG="$TSCONFIG_HOME/tsconfig.json" echo "following link to find build home ${TSCONFIG_HOME}" + + if [ -f "$TSCONFIG_HOME/../../../tsco...
fix(packages/kui-builder): allow custom clients to provide tsconfig overrides
null
ibm/kui
Apache License 2.0
Shell
@@ -65,7 +65,7 @@ async fn list_table_names_no_data_pred_with_delete() { // https://github.com/influxdata/influxdb_iox/issues/2861 // And all other ignored tests -//#[ignore] +#[ignore] #[tokio::test] async fn list_table_names_no_data_pred_with_delete_all() { run_table_names_test_case(
fix: turn ignore back on for table_name tests as it is not ready yet
null
influxdata/influxdb_iox
Apache License 2.0
Rust
@@ -275,6 +275,12 @@ class CardsDataProvider extends ChangeNotifier { } activateStaffCards() { + // do nothing if a staff card already exists in the list + for (String card in _staffCards) { + if (_cardOrder!.contains(card)) return; + } + + // staff cards do not exist in the list, so add them in int index = _cardOrder!...
fix(cards-order): fix employee account card position bug
null
ucsd/campus-mobile
MIT License
Dart
@@ -116,7 +116,6 @@ export class TdChartComponent implements AfterViewInit, OnChanges, OnDestroy { ngOnChanges(): void { if (this._instance) { - this._instance.clear(); this.render(); } }
fix(chart): removed this._instance.clear() from ngOnChanges
null
teradata/covalent
MIT License
TypeScript
@@ -21,8 +21,8 @@ export const $q = { } export default function (Vue, opts = {}) { - if (this.__installed) { return } - this.__installed = true + if (this.__qInstalled === true) { return } + this.__qInstalled = true const cfg = opts.config || {}
fix(ui): Correct component test instantiation
null
quasarframework/quasar
MIT License
JavaScript
@@ -231,9 +231,9 @@ mixin CSSFlexboxMixin on RenderStyleBase { if (CSSFlex.isVerticalFlexDirection(flexDirection)) { TextAlign textAlign = (this as RenderStyle).textAlign; if (textAlign == TextAlign.right) { - alignItems = AlignItems.flexEnd; + return AlignItems.flexEnd; } else if (textAlign == TextAlign.center) { - al...
fix: transformedAlignItems getter should not markNeedsLayout
null
openkraken/kraken
Apache License 2.0
Dart
@@ -11,7 +11,7 @@ export default class InstalledArtifactsDisplayer { }); artifacts.forEach((artifact) => { - table.push([artifact.Name, artifact.Version__c, artifact.CommitId__c]); + table.push([artifact.Name, artifact.Version__c, artifact.CommitId__c?artifact.CommitId__c:""]); }); SFPLogger.log(COLOR_KEY_MESSAGE('Arti...
fix(installedartifactdisplayer): crash when a value is
null
accenture/sfpowerscripts
MIT License
TypeScript
@@ -161,6 +161,7 @@ function removalreasons () { // UI components // UI event handling + if (TBUtils.pageDetails.pageType !== 'queueListing') { TB.listener.on('post', e => { if (e.detail.data.isRemoved) { const $target = $(e.target); @@ -169,11 +170,12 @@ function removalreasons () { }); TB.listener.on('comment', e => ...
fix(RemovalReasons): Hide "Add removal reason" button in modqueue
null
toolbox-team/reddit-moderator-toolbox
Apache License 2.0
JavaScript
@@ -229,11 +229,10 @@ namespace WalkingTec.Mvvm.Core var val = FC.ContainsKey("LinkedVM." + pro.Name) ? FC["LinkedVM." + pro.Name] : null; if (proToSet != null && val != null) { - var hasvalue = false; - if (val is StringValues sv && StringValues.IsNullOrEmpty(sv) == false) + var hasvalue = true; + if ( val is StringVa...
fix: udpate dobatchedit logic
null
dotnetcore/wtm
MIT License
C#
@@ -34,7 +34,7 @@ public class rrdb_multi_put_operator extends client_operator { } public void recv_data(TProtocol iprot) throws TException { - rrdb.put_result result = new rrdb.put_result(); + rrdb.multi_put_result result = new rrdb.multi_put_result(); result.read(iprot); if (result.isSetSuccess()) resp = result.succe...
fix: fix a mismatch code
null
apache/incubator-pegasus
Apache License 2.0
Java
@@ -100,14 +100,21 @@ const completionSpec: Fig.Spec = { description: "Execute a Turbine Data Application locally (Beta)", options: [ { - name: ["--lang", "-l"], - description: "Language to use (js|go|py)", - args: { name: "lang", suggestions: ["js", "go", "py"] }, + name: "--path", + description: "Path of application ...
fix(meroxa): Update meroxa.ts after 2.7.0 was released
null
withfig/autocomplete
MIT License
TypeScript
@@ -206,7 +206,7 @@ func (s *Source) Open() error { for _, topic := range s.Topics { config := config config.Topic = topic - readers[topic] = internal.RetryReader{segmentio.NewReader(config)} //nolint:govet + readers[topic] = internal.RetryReader{Reader: segmentio.NewReader(config)} } // Throw the readers into a blende...
fix: fixes unkeyed composite literal
null
pilosa/pilosa
Apache License 2.0
Go
@@ -11,12 +11,6 @@ namespace UnityEditor [PostProcessScene(int.MaxValue)] public static void ProcessScene() { - //If we are in playmode (editor or stand alone) we do not want this to execute - if (Application.isPlaying) - { - return; - } - var traverseSortedObjects = FindObjectsOfType<NetworkObject>().ToList(); travers...
fix: revert Application.isPlaying check in NetworkScenePostProcess
null
unity-technologies/com.unity.multiplayer.mlapi
MIT License
C#
@@ -56,9 +56,6 @@ public final class CodeSystemUpgradeSynchronizationRequest implements Request<Re if (codeSystem.getUpgradeOf() == null) { throw new BadRequestException("Code System '%s' is not an Upgrade Code System. It cannot be synchronized with '%s'.", codeSystemId, source); - } else if (codeSystem.getUpgradeOf()....
fix(sync): allow sync if upgrade of equals the source
null
b2ihealthcare/snow-owl
Apache License 2.0
Java
@@ -83,13 +83,14 @@ def send_notification_email(doc): doc_link = get_url_to_form(doc.document_type, doc.document_name) header = get_email_header(doc) email_subject = strip_html(doc.subject) + body_content = get_email_body_content(doc) frappe.sendmail( recipients = doc.for_user, subject = email_subject, template = "new_...
fix: include docname in notification email
null
frappe/frappe
MIT License
Python
@@ -209,7 +209,7 @@ module Onebox if !Onebox::Helpers.blank?(d[:domain]) d[:domain] = "http://#{d[:domain]}" unless d[:domain] =~ /^https?:\/\// - d[:domain] = URI(d[:domain]).host.to_s.sub(/^www\./, '') + d[:domain] = URI(d[:domain]).host.to_s.sub(/^www\./, '') rescue nil end # prefer secure URLs
fix: move on if the domain is invalid URL
null
discourse/onebox
MIT License
Ruby
-import {PortalProvider, useToast} from '@sanity/ui' +import {PortalProvider, useToast, useMediaIndex} from '@sanity/ui' import React, {memo, Fragment, useState, useEffect, useCallback} from 'react' import styled from 'styled-components' import isHotkey from 'is-hotkey' @@ -30,6 +30,7 @@ export const DeskTool = memo(fu...
fix: persist split panes on reload
null
sanity-io/sanity
MIT License
TypeScript
@@ -996,7 +996,7 @@ class BotoVpcSubnetsTestCase(BotoVpcTestCaseBase, BotoVpcTestCaseMixin): ) self.assertEqual( set(describe_subnet_results["subnet"].keys()), - {"id", "cidr_block", "availability_zone", "tags"}, + {"id", "vpc_id", "cidr_block", "availability_zone", "tags"}, ) @mock_ec2_deprecated @@ -1029,7 +1029,7 @@...
fix: boto_vpc subnet tests missing vpc_id
null
saltstack/salt
Apache License 2.0
Python
@@ -52,6 +52,7 @@ import ( "github.com/openshift/rosa/pkg/fedramp" "github.com/openshift/rosa/pkg/reporter" "github.com/sirupsen/logrus" + "github.com/zgalor/weberr" "github.com/openshift/rosa/pkg/aws/profile" regionflag "github.com/openshift/rosa/pkg/aws/region" @@ -943,6 +944,12 @@ func (c *awsClient) detachRolePolic...
fix: improve error messages for deleting oidc-config
null
openshift/rosa
Apache License 2.0
Go
@@ -123,7 +123,7 @@ class MariaDBConnectionUtil: if self.user == "root": return self.create_connection() - if is_connection_pooling_enabled(): + if not is_connection_pooling_enabled(): self.close_connection_pools() return self.create_connection()
fix: Correct use of is_connection_pooling_enabled check
null
frappe/frappe
MIT License
Python
@@ -76,7 +76,16 @@ func NewCorruptionChecker(opt CCOptions, d DatabaseList, l logger.Logger, rg Ran // Start start the trust checker loop func (s *corruptionChecker) Start(ctx context.Context) (err error) { s.Logger.Debugf("Start scanning ...") - return s.checkLevel0(ctx) + + for { + err = s.checkLevel0(ctx) + + if err...
fix(pkg/server): avoid recursion on never ending functionality. Further improvements can be done
null
codenotary/immudb
Apache License 2.0
Go
using System; using System.Collections.Generic; +using System.ComponentModel; using Mirror.RemoteCalls; using UnityEngine; @@ -320,7 +321,10 @@ protected void SendTargetRPCInternal(NetworkConnection conn, Type invokeClass, s } // helper function for [SyncVar] GameObjects. - internal static bool SyncVarGameObjectEqual(G...
fix: SyncVarGameObject/NetworkIdentityEqual not being accessible by weaved NetworkBehaviour components from outside assemblies
null
vis2k/mirror
MIT License
C#
@@ -403,7 +403,7 @@ func GetMountCleanupCommand(path string) string { var mountTemplate = ` sudo mkdir -p {{.Path}} || true; sudo mount -t 9p -o trans=tcp,port={{.Port}},dfltuid={{.UID}},dfltgid={{.GID}},version={{.Version}},msize={{.Msize}} {{.IP}} {{.Path}}; -sudo chmod 775 {{.Path}};` +sudo chmod 775 {{.Path}} || tr...
fix(cli): \`minikube start --mount --mountsting\` without wirte permission
null
kubernetes/minikube
Apache License 2.0
Go
@@ -223,7 +223,6 @@ defmodule Ash.MixProject do {:ecto, "~> 3.7"}, {:ets, "~> 0.8.0"}, {:decimal, "~> 2.0"}, - # {:picosat_elixir, path: "../picosat_elixir"}, {:picosat_elixir, "~> 0.2"}, {:nimble_options, "~> 0.4.0"}, {:comparable, "~> 1.0"}, @@ -231,6 +230,7 @@ defmodule Ash.MixProject do {:earmark, "~> 1.4", optiona...
fix: make plug an optional dependency of Ash
null
ash-project/ash
MIT License
Elixir
@@ -248,12 +248,14 @@ resource "google_cloud_run_service" "default" { # https://cloud.google.com/run/docs/configuring/containers#configure-entrypoint args = [] + # [START cloudrun_service_configuration_http2] # Enable HTTP/2 # https://cloud.google.com/run/docs/configuring/http2 ports { name = "h2c" container_port = 808...
fix: add region tags to Cloud Run config sample
null
googlecloudplatform/terraform-validator
Apache License 2.0
Go
@@ -19,7 +19,7 @@ from ..route_manager import ( ) -class TestRouteManager(RouteManager): +class MockRouteManager(RouteManager): """Concretion of RouteManager for testing.""" _route_for_key = mock.CoroutineMock() @@ -38,7 +38,7 @@ def profile(mock_responder: MockResponder): @pytest.fixture def route_manager(profile: Pro...
fix: pytest attempting to collect mock class
null
hyperledger/aries-cloudagent-python
Apache License 2.0
Python
import frappe +from pymysql import InternalError # This patch deletes all the duplicate indexes created for same column # The patch only checks for indexes with UNIQUE constraints def execute(): - if frappe.db.db_type != 'mariadb': return - all_tables = frappe.db.get_tables() + if frappe.db.db_type != 'mariadb': + retu...
fix: delete as much indexes from each table
null
frappe/frappe
MIT License
Python
@@ -41,7 +41,7 @@ class App extends React.Component { } } if (this.state.session.user.provider === 'whatsappnew') { - location.href = 'https://wa.me/' + this.state.session.user.imp_id, '_self'; + location.href = 'https://wa.me/' + this.state.session.user.imp_id; } else window.WebviewSdk.close(() => {}, err => console.l...
fix(react): location.href now redirects correctly
null
hubtype/botonic
MIT License
JavaScript
@@ -71,7 +71,7 @@ EI_SUPPORTED_REGIONS = [ NO_LDA_REGIONS = ["eu-west-3", "eu-north-1", "sa-east-1", "ap-east-1"] NO_MARKET_PLACE_REGIONS = ["eu-west-3", "eu-north-1", "sa-east-1", "ap-east-1"] -EFS_TEST_ENABLED_REGION = ["us-west-2"] +EFS_TEST_ENABLED_REGION = [] logging.getLogger("boto3").setLevel(logging.INFO) loggi...
fix: skip efs and fsx integ tests in all regions
null
aws/sagemaker-python-sdk
Apache License 2.0
Python
@@ -282,6 +282,7 @@ if [ "${SCALE_CLUSTER}" = "true" ]; then --node-pool $nodepool \ --new-node-count 1 \ --auth-method client_secret \ + --identity-system ${IDENTITY_SYSTEM}\ --client-id ${AZURE_CLIENT_ID} \ --client-secret ${AZURE_CLIENT_SECRET} || exit 1 done @@ -364,6 +365,7 @@ if [ "${UPGRADE_CLUSTER}" = "true" ];...
fix: update akse upgrade and scale in the e2e test to include identity
null
azure/aks-engine
MIT License
Shell
@@ -501,10 +501,9 @@ class TestReportview(unittest.TestCase): ) def test_is_set_is_not_set(self): - res = DatabaseQuery("DocType").execute(filters={"autoname": ["is", "not set"]}) - self.assertTrue({"name": "Integration Request"} in res) - self.assertTrue({"name": "User"} in res) - self.assertFalse({"name": "Blogger"} ...
fix: remove integration request check from test_is_set_is_not_set
null
frappe/frappe
MIT License
Python
@@ -209,6 +209,8 @@ public class HeartbeatTask { waitSignal.await(timeout, timeUnit); + timer.cancel(); + if (waitSignal.getCount() == 0) Assert.fail("A problem with the conf occurred"); }
fix: Cancels timer to stop execution if we are no longer waiting
null
jitsi/jitsi-meet-torture
Apache License 2.0
Java
@@ -103,6 +103,17 @@ class REST_API ); } + $original_url = esc_sql($request['original_url']); + $episode_id = (int) $episode->id; + + if (Entry::find_one_by_where("episode_id = $episode_id AND original_url = '$original_url'")) { + return new \WP_Error( + 'podlove_rest_duplicate_entry', + 'a shownotes entry for this URL...
fix: prevent duplicate entries in backend
null
podlove/podlove-publisher
MIT License
PHP
@@ -34,9 +34,7 @@ struct AVURLAssetWithCookiesBuilder: AVURLAssetWithCookies { } private func getCookies() -> [HTTPCookie]? { - if let host = self.url.host, let cookieUrl = URL(string: "http://\(host)") { - return HTTPCookieStorage.shared.cookies(for: cookieUrl) - } - return nil + let url = self.url.absoluteString + re...
fix: getting all stored cookies with the same domain
null
clappr/clappr-ios
BSD 3-Clause New or Revised License
Swift
@@ -11,6 +11,7 @@ from frappe.core.api.file import create_new_folder, get_attached_images, get_fil from frappe.core.doctype.file.file import File from frappe.exceptions import ValidationError from frappe.utils import get_files_path +from frappe.tests.utils import FrappeTestCase test_content1 = 'Hello' test_content2 = '...
fix: Use FrappeTestCase for TestCase's atomicity
null
frappe/frappe
MIT License
Python