diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -3,6 +3,9 @@ package app
import (
"net/http"
+ "github.com/spf13/cast"
+ "google.golang.org/grpc/status"
+
"github.com/go-eagle/eagle/pkg/utils"
"github.com/go-eagle/eagle/pkg/errcode"
@@ -68,6 +71,24 @@ func (r *Response) Error(c *gin.Context, err error) {
}
c.JSON(v.StatusCode(), response)
return
+ } else {
+ // r... | chore: add handle error for gRPC | null | go-eagle/eagle | MIT License | Go |
@@ -13,12 +13,13 @@ defmodule Logflare.Mixfile do
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps(),
- test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
- coveralls: :test,
- "coveralls.detail": :test,
- "coveralls.post": :test,
- "coveralls.html": :test
+ lint: :test,
+ "lint.diff": :test,
+... | chore: remove quotes around lint alias, added preferred cli env for aliases | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -28,7 +28,7 @@ class Parsedown extends \ParsedownToC
/** {@inheritdoc} */
protected $regexAttribute = '(?:[#.][-\w:\\\]+[ ]*|[-\w:\\\]+(?:=(?:["\'][^\n]*?["\']|[^\s]+)?)?[ ]*)';
- /** Regex to verify there is an image in <figure> block */
+ /** Regex used to valid block image */
protected $MarkdownImageRegex = "~^!\... | chore: clean Markdown parser code | null | cecilapp/cecil | MIT License | PHP |
@@ -59,7 +59,7 @@ check() {
# gofmt
echo "CHECK: gofmt, check code formats"
- result=`find . -name '*.go' | grep -vE "${exclude}" | xargs gofmt -s -l 2>/dev/null`
+ result=`find . -name '*.go' | grep -vE "${exclude}" | xargs gofmt -s -l -d 2>/dev/null`
[ ${#result} -gt 0 ] && (echo "${result}" \
&& echo "CHECK: please ... | chore: show detail gofmt diff | null | dragonflyoss/dragonfly | Apache License 2.0 | Shell |
@@ -6,8 +6,9 @@ import { createTestUser } from '../../../testUtils';
if (Meteor.isServer) {
import { setUpRoles } from '../../../roles/roles';
- import roleResolver from '../resolvers/rolesDataResolver';
import RolesData from '../rolesData.model';
+ import roleResolver from '../resolvers/rolesDataResolver';
+
setUpRole... | chore: rerun tests | null | botfront/botfront | Apache License 2.0 | JavaScript |
@@ -81,9 +81,9 @@ macos_shell() {
install_completions() {
default_shell=""
if [ "$os" = "macos" ]; then
- default_shell="$(macos_shell || "")"
+ default_shell="$(macos_shell || true)"
else
- default_shell="$(linux_shell || "")"
+ default_shell="$(linux_shell || true)"
fi
log_debug "Installing shell completions for '$de... | chore: fix shellcheck error | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -35,6 +35,8 @@ class CameraImageCropper extends AbstractCameraImageGetter {
late int _width;
late int _height;
+ int _getEven(final double value) => 2 * (value ~/ 2);
+
void _computeCropParameters() {
assert(width01 > 0 && width01 <= 1);
assert(height01 > 0 && height01 <= 1);
@@ -47,8 +49,6 @@ class CameraImageCropp... | chore: move _getEven to outer scope | null | openfoodfacts/smooth-app | Apache License 2.0 | Dart |
@@ -70,6 +70,40 @@ class AWSPinpointAnalyticsPluginIntergrationTests: XCTestCase {
Amplify.Analytics.identifyUser(userId, withProfile: userProfile)
wait(for: [identifyUserEvent], timeout: TestCommonConstants.networkTimeout)
+
+ // Remove userId from the current endpoint
+ let targetingClient = escapeHatch().targetingCl... | chore(IntegrationTests): Fixing Analytics and Auth integration tests | null | aws-amplify/amplify-ios | Apache License 2.0 | Swift |
@@ -9,6 +9,7 @@ import { SubmarineExplorationResultReporter } from './submarine-exploration-resu
import { AirshipExplorationResultReporter } from './airship-exploration-result-reporter';
import { SettingsService } from '../../modules/settings/settings.service';
import { LazyDataFacade } from '../../lazy-data/+state/laz... | chore: don't forget to keep the reporter enabled ! | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
{
public static class ApplicationSettings
{
- public static string version = "0.4.9";
+ public static string version = "0.5.0";
}
public static class Environment
| chore: update build version to 0.5.0 | null | decentraland/explorer | Apache License 2.0 | C# |
@@ -4,29 +4,29 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
. "$CURDIR"/../../../shell_env.sh
QMHASH=QmPpCt1aYGb9JWJRmXRUnmJtVgeFFTJGzWFYEEX7bo9zGJ
-echo "drop table if exists ontime_199;" | $MYSQL_CLIENT_CONNECT
+echo "drop table if exists ontime_200;" | $MYSQL_CLIENT_CONNECT
## Create table
-cat $CURDIR/..... | chore: change table name | null | datafuselabs/databend | Apache License 2.0 | Shell |
from pypika import MySQLQuery, Order, PostgreSQLQuery, terms
from pypika.dialects import MySQLQueryBuilder, PostgreSQLQueryBuilder
-from pypika.queries import Schema, Table
+from pypika.queries import QueryBuilder, Schema, Table
from pypika.terms import Function
from frappe.query_builder.terms import ParameterizedValue... | chore(typing): Add type hints in qb builder classes | null | frappe/frappe | MIT License | Python |
@@ -104,6 +104,10 @@ void falco_outputs::init(bool json_output,
// Thus it is still safe to call add_output() before any message has been enqueued.
void falco_outputs::add_output(falco::outputs::config oc)
{
+ if(!m_initialized)
+ {
+ throw falco_exception("cannot add output: falco_outputs not initialized yet");
+ }
fa... | chore(userspace/falco): add_output init check | null | falcosecurity/falco | Apache License 2.0 | C++ |
@@ -19,8 +19,9 @@ package stream
import (
"bytes"
"encoding/binary"
- "github.com/codenotary/immudb/pkg/errors"
"io"
+
+ "github.com/codenotary/immudb/pkg/errors"
)
// NewMsgReceiver returns a NewMsgReceiver reader
@@ -51,7 +52,7 @@ func (r *msgReceiver) ReadFully() ([]byte, error) {
return nil, err
}
if len(firstChunk... | chore(pkg/stream): use wrapped errors | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -372,7 +372,7 @@ class MongoViewService(
}
private inline fun ifChangeTrackingByEventHandler(block: () -> Mono<Void>): Mono<Void> =
- if (properties.changeTrackingMode == io.holunda.polyflow.view.mongo.ChangeTrackingMode.EVENT_HANDLER) block() else Mono.empty()
+ if (properties.changeTrackingMode == ChangeTrackingMo... | chore: add some comments to the `retryIfEmpty` function to help others (and our future selves) remember why it's there | null | holunda-io/camunda-bpm-taskpool | Apache License 2.0 | Kotlin |
@@ -388,7 +388,6 @@ function generateTests(testTags: Tag[], textBindings: TextBinding[], ifElsePairs
const resources = [];
- // eslint-disable-next-line sonarjs/no-collapsible-if
if (tag.isCustom) {
if (ifText.static || elseText.static) {
continue;
| chore(lint): remove sonarjs remnant | null | aurelia/aurelia | MIT License | TypeScript |
@@ -93,12 +93,12 @@ application::run_result application::attach_inotify_signals()
run_result ret;
if (m_options.monitor_files)
{
+ ret.proceed = false;
+ ret.success = false;
inot_fd = inotify_init();
if (inot_fd == -1)
{
- ret.success = false;
ret.errstr = std::string("Could not create inotify handler.");
- ret.procee... | chore(userspace/falco): small cleanup | null | falcosecurity/falco | Apache License 2.0 | C++ |
@@ -18,6 +18,7 @@ const RESET_COLOR = '\x1b[0m';
const DASHBOARD_VERSION = 1;
const DASHBOARD_FILENAME = 'dashboard.json';
+const DASHBOARD_MAX_BUILDS = 100;
class FlakinessDashboard {
static async getCommitDetails(repoPath, ref = 'HEAD') {
@@ -103,6 +104,8 @@ async function saveBuildToDashboard(dashboardPath, build) {... | chore(flakiness): limit max builds to 100 | null | puppeteer/puppeteer | Apache License 2.0 | JavaScript |
@@ -21,7 +21,7 @@ class Application
*
* @var string
*/
- const VERSION = '1.6.1';
+ const VERSION = '1.6.2';
/**
* The IoC container for the Flarum application.
| chore: update version constant to `v1.6.2` | null | flarum/core | MIT License | PHP |
import PropTypes from 'prop-types';
+import { Provider } from 'react-redux';
import { IntlProvider, intlShape } from 'react-intl';
import { createTheme } from '@mui/material/styles';
import Enzyme from 'enzyme';
@@ -17,14 +18,20 @@ const courseId = '1';
const muiTheme = createTheme();
const intl = intlProvider.getChild... | chore(frontend test setup): add provider component to setup redux store as of react-redux 6 | null | coursemology/coursemology2 | MIT License | JavaScript |
#include "SMP_DCAManager.h"
#include "SuperMediaPlayer.h"
#include <utils/CicadaJSON.h>
+#include <cassert>
+
using namespace std;
using namespace Cicada;
void SMP_DCAObserver::onEvent(int level, const string &content)
| chore(smp_dcamanager): fix compile error | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -197,30 +197,6 @@ class ApplePayComponentTest: XCTestCase {
waitForExpectations(timeout: 4)
}
- @available(iOS 16.0, *)
- func testRecurringRequest() {
- guard Available.iOS16 else { return }
-
- let configuration = ApplePayComponent.Configuration(payment: Dummy.createTestApplePayPayment(),
- merchantIdentifier: "te... | chore: revert apple pay recurring for now | null | adyen/adyen-ios | MIT License | Swift |
@@ -25,23 +25,6 @@ exports.destroy = util.deprecate(() => {},
exports.colors = [6, 2, 3, 4, 5, 1]
-try {
- // Optional dependency (as in, doesn't need to be installed, NOT like optionalDependencies in package.json)
- const supportsColor = require('supports-color')
-
- if (supportsColor && (supportsColor.stderr || suppo... | chore(debug): remove unused code | null | prisma/prisma | Apache License 2.0 | TypeScript |
@@ -260,7 +260,7 @@ class Games(Cog):
display_possibilities = "`, `".join(p[1] for p in possibilities)
await ctx.send(
f"Invalid genre `{genre}`. "
- f"Maybe you meant `{display_possibilities}`?" if display_possibilities else ''
+ f"{f'Maybe you meant `{display_possibilities}`?' if display_possibilities else ''}"
)
ret... | chore: Change back to the original string | null | python-discord/sir-lancebot | MIT License | Python |
@@ -8,5 +8,5 @@ if [ "$CIRCLE_PROJECT_USERNAME" != "fossasia" -o "$CIRCLE_BRANCH" != "$DEPLOY_BR
exit 0
fi
-openssl aes-256-cbc -d -in ./exec/secrets.tar.enc -out ./exec/secrets.tar -k $ENCRYPT_KEY
+openssl aes-256-cbc -d -md md5 -in ./exec/secrets.tar.enc -out ./exec/secrets.tar -k $ENCRYPT_KEY
tar xvf ./exec/secrets.... | chore: Change default message digest to MD5 | null | fossasia/susi_android | Apache License 2.0 | Shell |
@@ -117,7 +117,7 @@ public struct LocalizationKey {
public static let partialPaymentRemainingBalance = LocalizationKey(key: "adyen.partialPayment.remainingBalance")
public static let partialPaymentPayRemainingAmount = LocalizationKey(key: "adyen.partialPayment.payRemainingAmount")
public static let amount = Localizatio... | chore: Update toggle title content key | null | adyen/adyen-ios | MIT License | Swift |
@@ -1144,7 +1144,7 @@ func (s *ImmuStore) commit(otx *OngoingTx, expectedHeader *TxHeader, waitForInde
return nil, ErrIllegalArguments
}
- if !otx.IsWriteOnly() && otx.snap.Ts() <= s.committedTxID {
+ if !otx.IsWriteOnly() && otx.snap.Ts() < s.committedTxID {
return nil, ErrTxReadConflict
}
| chore(embedded/store): conservative read conflict validation | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -91,6 +91,12 @@ add_action('after_setup_theme', function () {
*/
add_theme_support('custom-units', 'rem', 'vw');
+ /**
+ * Enable support for custom block spacing controls.
+ * @link https://developer.wordpress.org/block-editor/developers/themes/theme-support/#spacing-control
+ */
+ add_theme_support('custom-spacing... | chore(theme): Move `custom-spacing` up for visibility | null | roots/sage | MIT License | PHP |
@@ -80,7 +80,7 @@ EMBED_METADATA_SCRIPT=$(cat <<EOF
commitTitle: process.env.COMMIT_TITLE,
commitAuthorName: process.env.COMMIT_AUTHOR_NAME,
commitAuthorEmail: process.env.COMMIT_AUTHOR_EMAIL,
- gitBranchName: process.env.GITHUB_REF_NAME,
+ branchName: process.env.GITHUB_REF_NAME,
};
console.log(JSON.stringify(json));
... | chore: generalize branch name attr | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -24,6 +24,11 @@ if [[ "$TRAVIS_BRANCH" == "master" ]]; then
echo "Running npm prune"
npm prune
+ # Without this releasing is broken as the dependency is not installed
+ # with yarn. Switching to npm does not seem to be a sane alternative.
+ echo "Installing buffer-shims"
+ npm install buffer-shims@1.0.0
+
echo "Runn... | chore(travis): add manual install of buffer-shims | null | commercetools/nodejs | MIT License | Shell |
/* eslint-env node */
import * as spec from "commonmark-spec";
import { run } from "@condenast/perf-kit";
-import { md, html } from "./fixtures";
+import { md } from "./fixtures";
import CommonMarkSource from "@atjson/source-commonmark";
import CommonMarkRenderer from "@atjson/renderer-commonmark";
-import HTMLSource f... | chore: remove the HTML suite | null | condenast/atjson | Apache License 2.0 | TypeScript |
@@ -265,12 +265,17 @@ class SessionTests: XCTestCase {
balance: Amount(value: 50, currencyCode: "EUR"),
transactionLimit: Amount(value: 30, currencyCode: "EUR")))]
+ let expectation = expectation(description: "Expect API call to be made")
+ apiClient.onExecute = {
+ expectation.fulfill()
+ }
sut.checkBalance(with: paym... | chore: added expectations to test cases | null | adyen/adyen-ios | MIT License | Swift |
#include <string>
#include "atom/common/api/locker.h"
+#include "atom/common/native_mate_converters/callback.h"
#include "content/public/browser/browser_thread.h"
#include "native_mate/converter.h"
@@ -46,6 +47,17 @@ class Promise : public base::RefCounted<Promise> {
return GetInner()->Reject(GetContext(), v8::Undefine... | chore: add Then helper for native promises | null | electron/electron | MIT License | C |
@@ -49,8 +49,6 @@ protected void encode(@NonNull ChannelHandlerContext ctx, @NonNull ByteBuf in, @
protected ByteBuf allocateBuffer(@NonNull ChannelHandlerContext ctx, @NonNull ByteBuf msg, boolean preferDirect) {
// only pre-allocate exactly the amount of bytes we're needing to write the message prefixed by the length... | chore: always pass down a direct bytebuf to the netty transport layer | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Java |
@@ -58,7 +58,7 @@ func (c *redisCache) Get(ctx context.Context, key string, val interface{}) error
}
bytes, err := c.client.Get(ctx, cacheKey).Bytes()
- if err != nil {
+ if err != nil && !errors.Is(err, redis.Nil) {
return err
}
| chore: filter error that redis is nil | null | go-eagle/eagle | MIT License | Go |
@@ -172,8 +172,8 @@ public enum CardEncryptor {
let tokens = publicKey.components(separatedBy: "|")
guard tokens.count == 2 else { throw EncryptionError.invalidKey }
let secKey = try createSecKey(fromModulus: tokens[1], exponent: tokens[0])
- let jweGenerator = JSONWebEncryptionGenerator()
- return try jweGenerator.gen... | chore: small change in CardEncryptor | null | adyen/adyen-ios | MIT License | Swift |
@@ -359,6 +359,10 @@ class UpdateSearchCommand extends Command
unset($content['Transient']);
}
+ if ($contentName === 'InstanceContent') {
+ unset($content['BNpcBaseBoss']);
+ }
+
return $content;
}
| chore: better cleanup for InstanceContent | null | xivapi/xivapi.com | MIT License | PHP |
@@ -699,7 +699,7 @@ func (b *cmdPkgBuilder) stackListRunEFn(cmd *cobra.Command, args []string) error
defer tabW.Flush()
tabW.HideHeaders(b.hideHeaders)
- tabW.WriteHeaders("ID", "OrgID", "Name", "Description", "Num Resources", "URLs", "Created At")
+ tabW.WriteHeaders("ID", "OrgID", "Name", "Description", "Num Resource... | chore(influx): extend stacks output with sources | null | influxdata/influxdb | MIT License | Go |
@@ -5,6 +5,11 @@ plugins {
id("net.researchgate.release") version "2.8.1"
}
+release {
+ val gitConfig = getProperty("git") as net.researchgate.release.GitAdapter.GitConfig
+ gitConfig.requireBranch = "maintenance/github-actions"
+}
+
defaultTasks(":zip:make")
tasks.rat {
| chore: Change required branch for testing | null | wttech/aet | Apache License 2.0 | Kotlin |
@@ -62,6 +62,8 @@ public class RawAuthenticationService {
rawAuthenticateResponse.getCounter(), signatureVerification.hash(rawClientData));
log.debug("Packed bytes to sign in HEX '{}'", Hex.encodeHexString(signedBytes));
+ log.debug("Signature from authentication response in HEX '{}'", Hex.encodeHexString(rawAuthentica... | chore: dump u2f signature in logs | null | gluufederation/oxauth | MIT License | Java |
@@ -17,8 +17,39 @@ mkdir -p $PROJECT_NAME $FINAL_DOC_PATH && cd $PROJECT_NAME
# Create a new Xcode project.
swift package init
+
+echo "// swift-tools-version: 5.6
+// The swift-tools-version declares the minimum version of Swift required to build this package.
+
+import PackageDescription
+
+let package = Package(
+ n... | chore: some small fixes in generate_docc_documentation.sh to generate docc archive with iphone simulator as destination | null | adyen/adyen-ios | MIT License | Shell |
@@ -83,6 +83,7 @@ type DB interface {
//IDB database instance
type db struct {
st *store.ImmuStore
+ ctlogSt *store.ImmuStore
sqlEngine *sql.Engine
@@ -96,7 +97,7 @@ type db struct {
}
// OpenDb Opens an existing Database from disk
-func OpenDb(op *DbOptions, catalogDB DB, log logger.Logger) (DB, error) {
+func OpenDb(... | chore(pkg/database): sql catalog per database. migration from shared catalog store when required | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -63,7 +63,9 @@ class Style {
top = _styleMap.containsKey('top') ? Length(_styleMap['top']).displayPortValue : null;
bottom = _styleMap.containsKey('bottom') ? Length(_styleMap['bottom']).displayPortValue : null;
width = _styleMap.containsKey('width') ? Length(_styleMap['width']).displayPortValue : null;
+ if (width.... | chore: size can not be negative | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -108,7 +108,7 @@ const Header = ({
}
}
- const [showMobileMenu, setShowMobileMenu] = useState(true)
+ const [showMobileMenu, setShowMobileMenu] = useState(false)
// Timeout id.
let resizeTimeout
| chore: Default showing menu to false | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -89,7 +89,7 @@ export class EventAggregator {
let i: number;
if (!channelOrType) {
- throw new Error('Event was invalid.');
+ throw Reporter.error(0); // TODO: create error code for 'Event was invalid.'
}
if (typeof channelOrType === 'string') {
@@ -124,7 +124,7 @@ export class EventAggregator {
let subscribers: (Ev... | chore(kernel): use Reporter when throwing in EventAggregator | null | aurelia/aurelia | MIT License | TypeScript |
@@ -78,13 +78,6 @@ impl Diffable for String {
}
}
- /*
- println!(
- "{:?} {} {} {} {} {} {} {}",
- change, index, position, last, curr, items, value, replace
- );
- */
-
let end = index == changes.len() - 1;
if (index > 0 && curr != last) || end {
// Generate a keys for a string position index
| chore(*): Remove debug print | null | stencila/stencila | Apache License 2.0 | Rust |
+#!/usr/bin/env bash
+
+#######################################
+# (c) Copyright IBM Corp. 2021
+# (c) Copyright Instana Inc. and contributors 2021
+#######################################
+
+set -eo pipefail
+
+cd `dirname $BASH_SOURCE`/..
+
+command -v aws >/dev/null 2>&1 || {
+ cat <<EOF >&2
+The AWS command line to... | chore(lambda): add script to report layer version for all regions | null | instana/nodejs-sensor | MIT License | Shell |
@@ -17,5 +17,6 @@ cd ../common && npm publish -reg $VERDACCIO &&\
cd ../core && npm publish -reg $VERDACCIO &&\
cd ../create && npm publish -reg $VERDACCIO &&\
cd ../elasticsearch-plugin && npm publish -reg $VERDACCIO &&\
-cd ../email-plugin && npm publish -reg $VERDACCIO
-cd ../testing && npm publish -reg $VERDACCIO
+... | chore: Add ui-devkit to verdaccio publish script | null | vendure-ecommerce/vendure | MIT License | Shell |
@@ -683,7 +683,7 @@ and report results to standard output:
deno bench src/fetch_bench.ts src/signal_bench.ts
Directory arguments are expanded to all contained files matching the \
-glob {*_,*.,}bench.{js,mjs,ts,jsx,tsx}:
+glob {*_,*.,}bench.{js,mjs,ts,mts,jsx,tsx}:
deno bench src/",
)
@@ -1599,7 +1599,7 @@ report resul... | chore(bench,test): list `.mts` under supported file extensions in cli docs | null | denoland/deno | MIT License | Rust |
+import deepExtend from 'deep-extend'
+import { check, Match } from '../check'
+
+describe('lib/check', () => {
+ test('check basic', () => {
+ expect(() => check('asdf', String)).not.toThrowError()
+ expect(() => check(123, Number)).not.toThrowError()
+ expect(() => check({ a: 1 }, Object)).not.toThrowError()
+ expect... | chore: add unit test for check | null | nrkno/tv-automation-server-core | MIT License | TypeScript |
@@ -24,11 +24,9 @@ if (semver.satisfies(process.version, '>=12.2.0')) {
// Use require.resolve and createRequire to get the winston dependency of express-winston (which is Winston 1.x) and
// not the Winston version we depend on via our root package's devDependencies (which is 3.x):
winston1x = moduleModule.createRequi... | chore: optimised node version check in packages/collector/test/tracing/logger/express-winston/app.js | null | instana/nodejs-sensor | MIT License | JavaScript |
@@ -53,11 +53,6 @@ public class OptimizeApiPageSizeTest {
generator.generateData();
}
- @AfterClass
- public static void tearDown() {
- TestHelper.assertAndEnsureCleanDbAndCache(processEngineRule.getProcessEngine(), false);
- }
-
@Test
@Parameters(method = "optimizeServiceFunctions")
public void databaseCanCopeWithPage... | chore(qa): revert cleanup in large data test | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -156,6 +156,15 @@ public abstract class ConcurrencyTestCase extends PluggableProcessEngineTestCase
if (!reportFailure || exception == null) {
fail("Unexpected interruption");
}
+ } finally {
+ // clear our interruption state; the controlled thread may have interrupted us
+ // in case the controlled command failed (s... | chore(tests): avoid race condition in concurrency tests | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -5,11 +5,19 @@ import domToReact from './lib/dom-to-react';
import htmlToDOM from 'html-dom-parser';
export interface HTMLReactParserOptions {
- // TODO: Replace `object` by type for objects like `{ type: 'h1', props: { children: 'Heading' } }`
replace?: (
domNode: DomElement
) => JSX.Element | object | void | undef... | chore(index): improve types for options.library | null | remarkablemark/html-react-parser | MIT License | TypeScript |
@@ -378,7 +378,6 @@ export class PreviewWeb<TFramework extends AnyFramework> {
this.previousStory = story;
const { parameters, initialArgs, argTypes, args } = this.storyStore.getStoryContext(story);
-
if (FEATURES?.storyStoreV7) {
this.channel.emit(Events.STORY_PREPARED, {
id: storyId,
| chore: remove useless new line | null | storybookjs/storybook | MIT License | TypeScript |
@@ -2575,8 +2575,6 @@ defmodule Ash.Filter do
case related(context, ref.relationship_path) do
nil ->
- raise "what"
-
{:error,
"Invalid reference #{inspect(ref)} at relationship_path #{inspect(ref.relationship_path)}"}
@@ -2657,7 +2655,6 @@ defmodule Ash.Filter do
end
true ->
- raise "what dawg"
{:error, "Invalid refer... | chore: remove debugging raise statements | null | ash-project/ash | MIT License | Elixir |
@@ -105,8 +105,9 @@ where
.await
{
Ok(data) => data,
- Err(_) => {
- let err = Error::new("/verify").with_message("credential verification failed");
+ Err(err) => {
+ let err = Error::new("/verify")
+ .with_message(format!("error verifying a credential: {}", err));
return Ok(Either::Left(Response::forbidden(id).body(er... | chore(rust): improve error propagation in `verifier` service | null | ockam-network/ockam | Apache License 2.0 | Rust |
#define GOOGLE_CLOUD_CPP_SPANNER_GOOGLE_CLOUD_SPANNER_VERSION_INFO_H
#define SPANNER_CLIENT_VERSION_MAJOR 0
-#define SPANNER_CLIENT_VERSION_MINOR 7
+#define SPANNER_CLIENT_VERSION_MINOR 8
#define SPANNER_CLIENT_VERSION_PATCH 0
#endif // GOOGLE_CLOUD_CPP_SPANNER_GOOGLE_CLOUD_SPANNER_VERSION_INFO_H
| chore: bump version numbers for next release (googleapis/google-cloud-cpp-spanner#1246) | null | googleapis/google-cloud-cpp | Apache License 2.0 | C |
@@ -28,13 +28,13 @@ find ../app/build/outputs -type f -name '*.aab' -exec cp -v {} . \;
if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then
for file in app*; do
- cp $file eventyay-organizer-master-${file%%}
+ cp $file eventyay-organizer-master-${file:4}
done
fi
if [ "$TRAVIS_BRANCH" == "$DEPLOY_BRANCH" ]; then
for file... | chore: Update APK naming convention | null | fossasia/open-event-organizer-android | Apache License 2.0 | Shell |
@@ -13,7 +13,6 @@ then
echo "AWS access keys do not appear to be configured. Setting dummy value for both so you can run tests. You can overwrite this by exporting a new value or setting it in your GitPod env vars."
export AWS_ACCESS_KEY_ID=dummy && export AWS_SECRET_ACCESS_KEY=dummy
fi
-echo "Setting node version..."
... | chore: remove nvm | null | sanofi-iadc/whispr | MIT License | Shell |
@@ -25,7 +25,6 @@ import (
"github.com/codenotary/immudb/pkg/api/schema"
immuclient "github.com/codenotary/immudb/pkg/client"
- "google.golang.org/grpc/metadata"
"google.golang.org/protobuf/types/known/emptypb"
)
@@ -91,17 +90,16 @@ func connect(config cfg) (immuclient.ImmuClient, context.Context) {
if err != nil {
log... | chore: token is handled internally by sdk. Remove useless code | null | codenotary/immudb | Apache License 2.0 | Go |
-const { version } = require('process')
-
-const isNode8 = version.startsWith('v8.')
-
module.exports = {
plugins: ['prettier', 'markdown', 'html'],
extends: [
- // This version of eslint-plugin-unicorn requires Node 10
- // TODO: remove after dropping Node 8 support
- ...(isNode8 ? [] : ['plugin:unicorn/recommended'])... | chore(lint): remove some dead code related to linting | null | netlify/cli | MIT License | JavaScript |
@@ -282,9 +282,7 @@ if (!gotTheLock && !isDarwin) {
setLocales(locale);
if (isDev) {
- const extPath = await searchDevtools('REACT', {
- browser: isLinux ? 'chromium-snap' : 'google-chrome',
- });
+ const extPath = await searchDevtools('REACT');
if (extPath) {
await session.defaultSession
.loadExtension(extPath, {
| chore: Removed chromium-snap | null | sprout2000/leafview | MIT License | TypeScript |
@@ -95,8 +95,8 @@ import com.vaadin.fusion.exception.EndpointValidationException.ValidationErrorDa
@RestController
@Import({ FusionControllerConfiguration.class, FusionEndpointProperties.class })
@ConditionalOnBean(annotation = Endpoint.class)
-@NpmPackage(value = "@vaadin/fusion-frontend", version = "0.0.12")
-@NpmPac... | chore: upgrade fusion package version | null | vaadin/flow | Apache License 2.0 | Java |
@@ -16,8 +16,8 @@ mkdir $DEST_PATH
cd $DEST_PATH
echo "download configuration locally..."
-# ssh root@$REMOTE "sudo tar zcvf /tmp/letsencrypt_backup.tar.gz /etc/letsencrypt &>/dev/null"
-# scp -r $USERNAME@$REMOTE:/tmp/letsencrypt_backup.tar.gz .
+ssh root@$REMOTE "sudo tar zcvf /tmp/letsencrypt_backup.tar.gz /etc/lets... | chore(maintenance): include letsencrypt configuration in backup | null | openwhyd/openwhyd | MIT License | Shell |
@@ -119,9 +119,16 @@ void falco_grpc_server_impl::subscribe(const stream_context& ctx, const falco_ou
// ctx.m_status == stream_context::STREAMING
// todo > do we want batching?
- sleep(15);
+ std::stringstream ss;
+ int c = 0;
+ int i = 9;
+ while(c < i)
+ {
+ ss << std::to_string(c);
+ c++;
+ }
res.set_source(source:... | chore(userspace/falco): gRPC server send rule and source | null | falcosecurity/falco | Apache License 2.0 | C++ |
@@ -296,13 +296,13 @@ impl PredicateBuilder {
}
/// Return true if the given expression is in a primitive binary in the form: `column op constant`
- // and op must be comparison one
+ // and op must be a comparison one
pub fn primitive_binary_expr(expr: &Expr) -> bool {
match expr {
Expr::BinaryExpr { op, .. } => match... | chore: modify comments | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -97,6 +97,7 @@ DOCKER_ENV_KEYS+="SDK_BUILD_DEBUG "
DOCKER_ENV_KEYS+="SKIP_FLAKY_TESTS "
DOCKER_ENV_KEYS+="WDM_SERVICE_URL "
DOCKER_ENV_KEYS+="WORKSPACE "
+DOCKER_ENV_KEYS+="NPM_TOKEN "
# We don't want to fail if grep doesn't find the specified var
set +e
for KEY in $DOCKER_ENV_KEYS; do
@@ -111,6 +112,9 @@ if ! docke... | chore(tooling): make NPM_TOKEN available to aux containers | null | webex/webex-js-sdk | MIT License | Shell |
#include <string.h>
#include "user-agent.h"
-#include "cee-utils.h"
void load(char *str, size_t len, void *ptr)
{
- fprintf(stderr, "%.*s", (int)len, str);
+ fprintf(stderr, "%.*s\n", (int)len, str);
}
int commit(char *base_url, struct logconf *conf)
| chore(test-cee.c): rename -> test-user-agent.c | null | cee-studio/orca | MIT License | C |
@@ -35,17 +35,17 @@ echo -------------------------------------
cd build
cmake --install . --prefix ./install
-#echo -------------------------------------
-#echo - Running examples
-#echo -------------------------------------
-#cd ..
-#for i in examples/*; do
-# pushd $i
-# mkdir -p build
-# cd build
-# cmake ..
-# cmak... | chore: re-enable the FFI examples in CI | null | pact-foundation/pact-reference | MIT License | Shell |
use std::cmp::Ordering;
use std::cmp::Ordering::Less;
+use std::intrinsics::assume;
use std::mem;
use std::ptr;
@@ -75,12 +76,16 @@ impl TopKSorter {
fn push_value<T: ValueType>(&mut self, value: T::ScalarRef<'_>) -> bool
where for<'a> T::ScalarRef<'a>: Ord {
let order = self.ordering();
- let data = self.data[0].clone... | chore(query): remove extra clone | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -43,7 +43,7 @@ module.exports = (config) => {
options.junitReporter = { outputDir: 'junit' };
options.coverageReporter = { type: 'lcovonly', dir: 'coverage' };
options.reporters = ['coverage', 'junit', 'dots'];
- options.browserNoActivityTimeout = 60000;
+ options.browserNoActivityTimeout = 90000;
options.client = {... | chore: extend browser no activity timeout to 90sec from 60sec | null | vue-gl/vue-gl | MIT License | JavaScript |
@@ -651,11 +651,11 @@ public class FrontendTools {
try {
FrontendVersion foundNpmVersion = getNpmVersion();
- FrontendUtils.validateToolVersion("npm", foundNpmVersion,
- SUPPORTED_NPM_VERSION);
getLogger().debug("Using npm {} located at {}",
foundNpmVersion.getFullVersion(),
getNpmExecutable(false).get(0));
+ FrontendU... | chore: validate tool after debug log | null | vaadin/flow | Apache License 2.0 | Java |
@@ -116,7 +116,9 @@ impl Partitions {
let num_parts = partitions.len();
let mut executor_part = HashMap::default();
- let parts_per_node = (partitions.len() + num_executors - 1) / num_executors;
+ // the first num_parts % num_executors get parts_per_node parts
+ // the remaining get parts_per_node - 1 parts
+ let parts... | chore: add some comments for partition | null | datafuselabs/databend | Apache License 2.0 | Rust |
/*
- * Copyright 2011-2020 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2011-2022 B2i Healthcare Pte Ltd, http://b2i.sg
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,183 +35,209 @@ public enum Analyzers {
/**
* Indexe... | chore(index): Add javadoc tags and format code in Analyzers | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
package ai.verta.modeldb.common.futures;
-import io.opentelemetry.api.GlobalOpenTelemetry;
+import io.opentelemetry.api.OpenTelemetry;
import io.opentelemetry.api.metrics.LongHistogram;
import io.opentelemetry.context.Context;
import io.opentelemetry.context.ContextKey;
@@ -21,25 +21,24 @@ public class FutureExecutor i... | chore: change the start of the future execution delay timer to right before submission | null | vertaai/modeldb | Apache License 2.0 | Java |
@@ -71,19 +71,27 @@ defmodule Ockam.Wire do
@spec decode(decoder :: atom, encoded :: binary) ::
{:ok, message :: Message.t()} | {:error, error :: DecodeError.t()}
+ def decode!(decoder, encoded) do
+ case decode(decoder, encoded) do
+ {:ok, message} -> {:ok, message}
+ {:error, reason} -> raise reason
+ end
+ end
+
def... | chore(elixir): improve wire.decoder error handling | null | ockam-network/ockam | Apache License 2.0 | Elixir |
@@ -208,7 +208,7 @@ export const parseDifference = async (previousState, currentState, upActions = n
* Searches for columns that may have been renamed by
*
* - grouping all diffs by the table they belong to
- * - finding all diffs that are removing or adding a row
+ * - finding all diffs that are removing or adding a c... | chore: more accurate variable names | null | mrvmv/sequelize-mig | MIT License | JavaScript |
@@ -7,4 +7,4 @@ storybookSubDomainSuffix() {
echo $CIRCLE_BRANCH | awk '{ gsub(/[^a-zA-Z0-9-.\/]/, ""); gsub(/[\/.]/, "-"); $0=tolower($0); print }'
}
-echo "hig-$(storybookSubDomainSuffix).surge.sh"
+echo "weave-$(storybookSubDomainSuffix).surge.sh"
| chore: use weave for storybook branch | null | autodesk/hig | Apache License 2.0 | Shell |
@@ -188,10 +188,9 @@ func (d *Db) SetBatch(kvl *schema.KVList) (*schema.Index, error) {
//GetBatch ...
func (d *Db) GetBatch(kl *schema.KeyList) (*schema.ItemList, error) {
- /*
list := &schema.ItemList{}
for _, key := range kl.Keys {
- item, err := d.Store.Get(*key)
+ item, err := d.Get(key)
if err == nil || err == st... | chore(pkg/server): getBatch operation | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -4,8 +4,8 @@ DEPLOY_HOSTNAME="eu-west-1.galaxy-deploy.meteor.com"
-echo Deploying to deploy nrk.supersuite.tv...
-meteor deploy nrk.supersuite.tv --settings ../settings.json
+echo Deploying to deploy nrkseff.supersuite.tv...
+meteor deploy nrkseff.supersuite.tv --settings ../settings.json
echo Deployment complete.
| chore: changed deploy target | null | nrkno/tv-automation-server-core | MIT License | Shell |
@@ -1059,7 +1059,7 @@ func RunCreateCluster(f *util.Factory, out io.Writer, c *CreateClusterOptions) e
cluster.Spec.MasterPublicName = c.MasterPublicName
}
- // Default to kubelet auth being turned off
+ // Default to kubelet anon authentication being turned off
if cluster.Spec.Kubelet == nil {
cluster.Spec.Kubelet = &... | chore(cmd/kops/create_cluster): better comment | null | kubernetes/kops | Apache License 2.0 | Go |
@@ -123,7 +123,7 @@ export class LambdaInvoke extends sfn.TaskStateBase {
}),
];
- if (props.retryOnServiceExceptions ?? true)
+ if (props.retryOnServiceExceptions ?? true) {
// Best practice from https://docs.aws.amazon.com/step-functions/latest/dg/bp-lambda-serviceexception.html
this.addRetry({
errors: ['Lambda.Servi... | chore(stepfunctions-tasks): add missing braces | null | aws/aws-cdk | Apache License 2.0 | TypeScript |
@@ -198,6 +198,16 @@ public class BpmnAwareTests extends AbstractAssertions {
return processEngine().getExternalTaskService();
}
+ /**
+ * Helper method to easily access DecisionService
+ *
+ * @return DecisionService of process engine bound to this testing thread
+ * @see org.camunda.bpm.engine.DecisionService
+ */
+ ... | chore(bpmn): add helper method to access decision service | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -14,7 +14,6 @@ package org.flowable.cmmn.test.runtime;
import static org.assertj.core.api.Assertions.assertThat;
import static org.flowable.cmmn.api.runtime.PlanItemInstanceState.ACTIVE;
-import static org.junit.Assert.assertEquals;
import java.util.List;
@@ -57,7 +56,7 @@ public class CompleteCaseTaskByManualTermin... | chore: use only one test framework | null | flowable/flowable-engine | Apache License 2.0 | Java |
@@ -232,7 +232,7 @@ check_whitespace() {
local rc
echo "Checking for trailing whitespace"
find_files . -print \
- | grep -v -E '\.(pyc|png|gz|tfvars|mp4)$' \
+ | grep -v -E '\.(pyc|png|gz|tfvars|mp4|zip)$' \
| compat_xargs grep -H -n '[[:blank:]]$'
rc=$?
if [[ ${rc} -eq 0 ]]; then
@@ -243,7 +243,7 @@ check_whitespace()... | chore: skip zip for whitespace check | null | googlecloudplatform/cloud-foundation-toolkit | Apache License 2.0 | Shell |
@@ -106,7 +106,7 @@ func (txr *TxReplicator) Start() error {
txr.failedAttempts++
- txr.logger.Warningf("Failed to connect with '%s' for database '%s' (%d failed attempts). Reason: %v",
+ txr.logger.Infof("Failed to connect with '%s' for database '%s' (%d failed attempts). Reason: %v",
masterDB,
txr.db.GetName(),
txr.f... | chore(pkg/replication): use info log level for network failures | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -7,7 +7,6 @@ import io.tolgee.development.testDataBuilder.builders.TestDataBuilder
import io.tolgee.development.testDataBuilder.builders.TranslationBuilder
import io.tolgee.development.testDataBuilder.builders.UserAccountBuilder
import io.tolgee.development.testDataBuilder.builders.UserPreferencesBuilder
-import io.... | chore: Fix tests - sync language stats in test data | null | tolgee/tolgee-platform | Apache License 2.0 | Kotlin |
@@ -69,11 +69,10 @@ func ImageExistsInCache(img string) bool {
var checkImageExistsInCache = ImageExistsInCache
-// Remove docker.io prefix since it won't be included in images names
-// when we call 'docker images'
+// Remove docker.io prefix since it won't be included in image names
+// when we call `docker images`.
... | chore: simplify func return | null | kubernetes/minikube | Apache License 2.0 | Go |
@@ -73,7 +73,7 @@ public class ConfigurationRegistrarTestCase extends AbstractManagerTestBase {
public void shouldBeAbleToLoadConfiguredXMLFileResource() throws Exception {
validate(
ConfigurationRegistrar.ARQUILLIAN_XML_PROPERTY,
- "src/test/resources/registrar_tests/named_arquillian.xml",
+ "registrar_tests/named_arq... | chore: simplifies resource usage in test | null | arquillian/arquillian-core | Apache License 2.0 | Java |
@@ -195,6 +195,71 @@ const imagesOptions = {
[7, 1],
],
},
+ concave2: {
+ image: `
+ 000000000
+ 001111100
+ 001110000
+ 001110100
+ 000011100
+ 000001100
+ 000111000
+ 000000000
+ `,
+ title: 'External perimeter concave',
+ polygon: [
+ [2, 1],
+ [2, 4],
+ [4, 5],
+ [5, 5.5],
+ [3, 6],
+ [3, 7],
+ [6, 7],
+ [7, 6],
+... | chore: add circle and square in roi documentation | null | image-js/image-js | MIT License | JavaScript |
@@ -22,7 +22,7 @@ RELEASE_TYPE=$1
PREV_VERSION=$(git describe --abbrev=0)
if [ "${RELEASE_TYPE:0:1}" == "v" ]; then
- VERSION="$RELEASE_TYPE"
+ VERSION="${RELEASE_TYPE:1}"
else
reltype=""
if [ "$RELEASE_TYPE" == "major" ]; then
| chore: fix release version when manually specified | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -31,43 +31,43 @@ import software.amazon.smithy.utils.SmithyInternalApi;
@SmithyInternalApi
public enum AwsDependency implements SymbolDependencyContainer {
- MIDDLEWARE_SIGNING(NORMAL_DEPENDENCY, "@aws-sdk/middleware-signing", "3.13.1"),
- CREDENTIAL_PROVIDER_NODE(NORMAL_DEPENDENCY, "@aws-sdk/credential-provider-nod... | chore(codegen): update aws dependency versions based on 3.15.0 release | null | aws/aws-sdk-js-v3 | Apache License 2.0 | Java |
@@ -38,7 +38,14 @@ internal final class FormCardNumberContainerItem: FormItem, AdyenObserver {
internal init(cardTypeLogos: [FormCardLogosItem.CardTypeLogo],
style: FormTextItemStyle,
localizationParameters: LocalizationParameters?) {
- self.cardTypeLogos = cardTypeLogos
+ // these 4 US debit brands are not to be displ... | chore: manually hide 4 us debit brands | null | adyen/adyen-ios | MIT License | Swift |
@@ -10,7 +10,7 @@ import (
)
var (
- version = "1.0.1" // manually set semantic version number
+ version = "1.0.2" // manually set semantic version number
commitHash string // automatically set git commit hash
commitTime string // automatically set git commit time
| chore: bee version bump 1.0.2 | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -37,6 +37,7 @@ import (
type commandline struct {
immuClient client.ImmuClient
+ hds client.HomedirService
}
const defaultNbEntries = 100
@@ -51,6 +52,7 @@ func Init(cmd *cobra.Command, o *c.Options) {
c.QuitToStdErr(err)
}
cl := new(commandline)
+ cl.hds = client.NewHomedirService()
cmd.Use = "immutest [n]"
cmd.Sho... | chore(cmd/immutest/command): inject homedir service as dependency | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -228,7 +228,7 @@ impl fmt::Display for Chain {
Chain::Polygon => "polygon",
Chain::PolygonMumbai => "polygon-mumbai",
Chain::Avalanche => "avalanche",
- Chain::AvalancheFuji => "avalanche-fuji",
+ Chain::AvalancheFuji => "fuji",
Chain::Sepolia => "sepolia",
Chain::Moonbeam => "moonbeam",
Chain::Moonbase => "moonbase... | chore: support fuji alias | null | gakonst/ethers-rs | Apache License 2.0 | Rust |
@@ -218,11 +218,11 @@ ruleTester.run("getter-return", rule, {
},
{ code: "Object.defineProperty(foo, \"bar\", { get: function (){if(bar) {return true;}}});", errors: [{ messageId: "expectedAlways" }] },
{ code: "Object.defineProperty(foo, \"bar\", { get: function (){ ~function () { return true; }()}});", errors: [{ mes... | chore: Move comment to make tests more organized | null | eslint/eslint | MIT License | JavaScript |
@@ -7,6 +7,7 @@ import de.zalando.zally.testConfig
import org.intellij.lang.annotations.Language
import org.junit.Test
+@Suppress("UndocumentedPublicFunction")
class CaseCheckerRuleTest {
private val cut = CaseCheckerRule(testConfig)
| chore(server): Suppress UndocumentedPublicFunction on CaseCheckerRuleTest | null | zalando/zally | MIT License | Kotlin |
@@ -52,16 +52,12 @@ describe('retry loading native addons', function () {
expect(libuv).to.exist;
expect(libuv).to.be.an('object');
- if (semver.lt(process.version, '10.0.0')) {
- expect(libuv.statsSupported).to.be.false;
- } else {
expect(libuv.statsSupported).to.be.true;
expect(libuv.min).to.be.a('number');
expect(li... | chore: removed node version check in collector/test/nativeModuleRetry/test.js | null | instana/nodejs-sensor | MIT License | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.