diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -23,9 +23,9 @@ from host_tools import proc
# Checkout the cpuid crate. In the future other
# differences may appear.
if utils.is_io_uring_supported():
- COVERAGE_DICT = {"Intel": 82.99, "AMD": 82.31, "ARM": 82.37}
+ COVERAGE_DICT = {"Intel": 82.99, "AMD": 82.31, "ARM": 82.51}
else:
- COVERAGE_DICT = {"Intel": 80.15,... | chore(tests): updated coverage | null | firecracker-microvm/firecracker | Apache License 2.0 | Python |
@@ -124,7 +124,7 @@ export default withAuth(observer(Home))
// detect for redirect from 3rd party service like vercel, aws...
function isRedirectFromThirdPartyService(router: NextRouter) {
- return router.query.next != undefined || router.query['x-amzn-marketplace-token'] != undefined
+ return router.query.next !== und... | chore: stricter check | null | supabase/supabase | Apache License 2.0 | TypeScript |
@@ -306,6 +306,10 @@ impl<W: AsyncWrite + Send + Unpin> InteractiveWorkerBase<W> {
// Check the query is a federated or driver setup command.
// Here we fake some values for the command which Databend not supported.
fn federated_server_command_check(&self, query: &str) -> Option<DataBlock> {
+ // INSERT don't need MySQ... | chore(query): insert SQL ignore MySQL federated check | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -26,6 +26,8 @@ class ProjectSubmission < ApplicationRecord
private
def live_preview_allowed
+ return if live_preview_url.blank?
+
unless lesson && lesson.has_live_preview?
errors.add(:live_preview_url, 'Live preview is not allowed for this project')
end
| chore: Only validate live preview is allowed if it is present | null | theodinproject/theodinproject | MIT License | Ruby |
@@ -37,10 +37,10 @@ type Engine struct {
}
// Send is a function that sends requests to the server.
-type Send func(ctx context.Context, reqID int64, seqNo int32, in bin.Encoder) error
+type Send func(ctx context.Context, msgID int64, seqNo int32, in bin.Encoder) error
// NopSend does nothing.
-func NopSend(ctx context... | chore(rpc): rename reqID to msgID | null | gotd/td | MIT License | Go |
@@ -209,8 +209,8 @@ class CardEncryptorCardTests: XCTestCase {
XCTAssertEqual(payload, expected)
}
- @available(iOS 13.0, *)
func testAESGCM() {
+ if #available(iOS 13.0, *) {
let data = NSData(base64Encoded: "eyJleHBpcnlZZWFyIjoiMTk3MiIsImN2YyI6IjY2NiIsImV4cGlyeU1vbnRoIjoiNyIsImhvbGRlck5hbWUiOiJLdW4gamUgZGl0IGxlemVuPy... | chore: fix warning caused by a redundant iOS version check | null | adyen/adyen-ios | MIT License | Swift |
@@ -16,8 +16,8 @@ use ruma::{
redaction::OriginalSyncRoomRedactionEvent, tombstone::RoomTombstoneEventContent,
topic::RoomTopicEventContent,
},
- AnyStrippedStateEvent, AnySyncStateEvent, EmptyStateKey, RedactContent,
- RedactedEventContent, StateEventContent, StrippedStateEvent, SyncStateEvent,
+ AnyStrippedStateEvent... | chore(base): Remove unnecessary bounds on MinimalStateEvent | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -3386,7 +3386,6 @@ return [
'Fiber::getCurrent' => ['?self'],
'Fiber::suspend' => ['mixed', 'value='=>'null|mixed'],
'FiberError::__construct' => ['void'],
-'FiberExit::__construct' => ['void'],
'gc_collect_cycles' => ['int'],
'gc_disable' => ['void'],
'gc_enable' => ['void'],
| chore: remove FiberExit class from Fiber stubs | null | vimeo/psalm | MIT License | PHP |
@@ -89,6 +89,10 @@ mixin CSSPositionMixin on RenderStyleBase {
}
int get effectiveZIndex {
+ if (_zIndex == null) {
+ return 0;
+ }
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context#the_stacking_context
if (
// Element with a position value absolute, relati... | chore: optiz perf | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -22,7 +22,7 @@ cd apk
if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then
echo "Push to master branch detected, signing the app..."
cp app-release-unsigned.apk app-release-unaligned.apk
- jarsigner -verbose -tsa http://timestamp.comodoca.com/rfc3161 -sigalg SHA1withRSA -digestalg SHA1 -keystore ../scripts/key.jks -st... | chore: Disable verbose app signing | null | fossasia/pslab-android | Apache License 2.0 | Shell |
@@ -174,10 +174,18 @@ public class FetchAndLockHandlerImpl implements Runnable, FetchAndLockHandler {
ExternalTaskQueryTopicBuilder topicFetchBuilder =
fetchBuilder.topic(topicDto.getTopicName(), topicDto.getLockDuration());
+ if (topicDto.getBusinessKey() != null) {
+ topicFetchBuilder = topicFetchBuilder.businessKey(... | chore(engine-rest-jaxrs2): update missing instructions of building query | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -113,7 +113,9 @@ const Header = ({
// Timeout id.
let resizeTimeout
const handleResize = () => {
- if (window.innerWidth >= breakpoints.viewportLg.split('px')[0]) {
+ if (
+ window.innerWidth >= parseInt(breakpoints.viewportLg.split('px')[0], 10)
+ ) {
setShowMobileMenu(false)
}
}
@@ -121,7 +123,11 @@ const Header =... | chore: hide mobile menu on default | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -112,6 +112,8 @@ class ChromeDevToolsService extends DevToolsService {
_isolateServerPort!.send(InspectorReload(_controller!.view.contextId));
}
+ // @TODO: Implement and remove.
+ // ignore: unused_element
static bool _registerUIDartMethodsToCpp() {
final DartRegisterDartMethods _registerDartMethods = nativeDynamic... | chore: add ignore for not implement method | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -45,7 +45,8 @@ export default ({ mode }) => {
manualChunks: {
'oasis-engine': ['oasis-engine'],
'@oasis-engine/spine': ['@oasis-engine/spine'],
- '@babel/standalone': ['@babel/standalone']
+ '@babel/standalone': ['@babel/standalone'],
+ 'mermaid': ['mermaid']
},
chunkFileNames() {
return 'assets/modules/[name]-[hash... | chore: external mermaid | null | oasis-engine/oasis-engine.github.io | MIT License | TypeScript |
@@ -107,7 +107,7 @@ class AnalyticsProviderTests: XCTestCase {
waitForExpectations(timeout: 1)
}
- func testFetchCheckoutAttemptIdWhenCheckoutAttemptIdIsEnabledGivenFailureShouldCallCompletionWithNilValue() throws {
+ func testFetchCheckoutAttemptIdWhenAnalyticsIsEnabledGivenFailureShouldCallCompletionWithNilValue() th... | chore: Test checkoutAttemptId property is being set properly according to configuration | null | adyen/adyen-ios | MIT License | Swift |
@@ -83,6 +83,7 @@ defmodule AndiWeb.IngestionLiveView.Transformations.SaveTest do
end)
end
+ @tag :skip
test "can change transformation fields after save", %{conn: conn, view: view, ingestion: ingestion} do
transformation_id = add_transformation(view)
| chore(789): skip flakey test | null | urbanos-public/smartcitiesdata | Apache License 2.0 | Elixir |
@@ -17,7 +17,13 @@ limitations under the License.
package main
import (
+ "fmt"
+ "io/fs"
+ "io/ioutil"
"log"
+ "os"
+ "path/filepath"
+ "strings"
"github.com/oam-dev/kubevela/references/cli"
@@ -25,8 +31,68 @@ import (
)
func main() {
+
+ rootPath := "../kubevela.io/docs/cli/"
+ if len(os.Args) > 1 {
+ rootPath = os.A... | chore: add autogen CLI reference doc script | null | oam-dev/kubevela | Apache License 2.0 | Go |
@@ -219,6 +219,10 @@ public class DownstreamPipelineTriggerRunListener extends RunListener<WorkflowRu
// Avoid excessive triggering
// See #46313
Map<String, Integer> transitiveUpstreamPipelines = globalPipelineMavenConfig.getDao().listTransitiveUpstreamJobs(downstreamPipelineFullName, downstreamBuildNumber, upstreamMe... | chore: improve logs during downstreams triggering | null | jenkinsci/pipeline-maven-plugin | MIT License | Java |
import logging
import random
from json import load
-from pathlib import Path
from discord.ext import commands
log = logging.getLogger(__name__)
+with open("bot/resources/easter/april_fools_vids.json", encoding="utf-8") as f:
+ ALL_VIDS = load(f)
+
class AprilFoolVideos(commands.Cog):
"""A cog for April Fools' that gets... | chore: remove unnecessary utility function and simplify code | null | python-discord/sir-lancebot | MIT License | Python |
@@ -233,7 +233,7 @@ pub mod pallet {
/// Total capital locked by this staking pallet.
#[pallet::storage]
- #[pallet::getter(fn tvl)]
+ #[pallet::getter(fn total_value_locked)]
pub(crate) type Total<T: Config> = StorageValue<_, BalanceOf<T>, ValueQuery>;
/// Total staked of a round's active set of executors.
| chore: rename storage getter to total_value_locked | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -19,7 +19,7 @@ import json
from mergify_engine import json as mergify_json
-class Colour(enum.Enum):
+class Color(enum.Enum):
RED = 1
GREEN = 2
BLUE = 3
@@ -28,18 +28,18 @@ class Colour(enum.Enum):
with_enum = {
"name": "hello",
"conditions": [],
- "actions": {"merge": {"strict": Colour.BLUE}},
+ "actions": {"merge"... | chore: fix color typo | null | mergifyio/mergify-engine | Apache License 2.0 | Python |
@@ -110,12 +110,19 @@ def test_groundtruth_labeling_job(
)
assert response["LabelingJobStatus"] in ["Stopping", "Stopped"]
finally:
- # Cleanup the SageMaker Resources
- if ground_truth_train_job_name:
+ # Check if terminate failed, and stop the labeling job
+ labeling_jobs = sagemaker_utils.list_labeling_jobs_for_work... | chore(components): AWS SageMaker - Fix leaking Workteam(GroundTruth) resources | null | kubeflow/pipelines | Apache License 2.0 | Python |
@@ -101,5 +101,5 @@ func (i *immuc) VerifiedSetReference(args []string) (string, error) {
return "", err
}
- return PrintKV([]byte(args[0]), value, uint64(response.Id), false, false), nil
+ return PrintKV([]byte(args[0]), value, uint64(response.Id), true, false), nil
}
| chore(cmd/immuclient): print verified label when executing safereference | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -24,6 +24,7 @@ import java.util.StringTokenizer;
import org.camunda.bpm.engine.impl.db.DbEntity;
import org.camunda.bpm.engine.impl.db.HistoricEntity;
+import org.camunda.bpm.engine.impl.util.StringUtil;
import org.camunda.bpm.engine.task.Comment;
import org.camunda.bpm.engine.task.Event;
@@ -59,11 +60,11 @@ public ... | chore(engine): ensure task comment uses configured character encoding | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -361,7 +361,7 @@ function StoryRulesForm({
data-cy='toggle-query-string'
getError={getEnabledError}
>
- <ListField name=''>
+ <ListField name='' data-cy='query-string-field'>
<ListItemField name='$'>
<NestField>
<AutoField name='param' />
| chore: fix missing data cy | null | botfront/botfront | Apache License 2.0 | JavaScript |
cardDetails3DS2SDKVersion=$(sed -rn 's/^.*public.*let.*threeDS2SdkVersion.*:.*String.*=.*"([0-9]+.[0-9].[0-9]+)".*$/\1/p' AdyenCard/Components/Card/ThreeDS2SdkVersion.swift)
cocoapods3DS2SDKVersion=$(sed -rn "s/^.*dependency.*\'Adyen3DS2'.*,.*'([0-9]+.[0-9].[0-9]+)'.*$/\1/p" Adyen.podspec)
carthage3DS2SDKVersion=$(sed ... | chore: use sed command line tool instead of pcregrep since its not available to everyone in the team | null | adyen/adyen-ios | MIT License | Shell |
@@ -538,10 +538,6 @@ func (c *immuClient) verifiedGet(ctx context.Context, kReq *schema.KeyRequest) (
return nil, err
}
- if kReq.AtTx == 0 {
- kReq.SinceTx = state.TxId
- }
-
req := &schema.VerifiableGetRequest{
KeyRequest: kReq,
ProveSinceTx: state.TxId,
| chore(pkg/client): use indexing specified in GetRequest | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -64,14 +64,14 @@ func TestUseDatabaseStmt(t *testing.T) {
expectedError error
}{
{
- input: "USE DATABASE db1",
+ input: "USE db1",
expectedOutput: []SQLStmt{&UseDatabaseStmt{DB: "db1"}},
expectedError: nil,
},
{
- input: "USE db1",
- expectedOutput: nil,
- expectedError: errors.New("syntax error: unexpected IDENTIF... | chore(embedded/sql): unit testing db selection | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -5,19 +5,19 @@ set -u
node .scripts/check
npm run tsc
mv node_modules _node_modules
-npx npm@4 cache clear
+pnpx npm@4 cache clear
# Regular version release
-npx npm@4 i --production --ignore-scripts
-npx npm@4 shrinkwrap
-npx npm@4 publish --ignore-scripts --tag next
+pnpx npm@4 i --production --ignore-scripts
+pnp... | chore: use pnpx during releasing pnpm | null | pnpm/pnpm | MIT License | Shell |
@@ -89,8 +89,22 @@ public final class IssuerListComponent: PaymentComponent, PresentableComponent,
return listViewController
}()
+
+ private func sendTelemetryEvent() {
+ adyenContext.analyticsProvider.trackTelemetryEvent(flavor: telemetryFlavor)
+ }
}
+extension IssuerListComponent: ViewControllerDelegate {
+
+ /// :n... | chore: Telemetry event on IssuerListComponent | null | adyen/adyen-ios | MIT License | Swift |
@@ -2796,9 +2796,10 @@ public class Binder<BEAN> implements Serializable {
/**
* Adds field value change listener to all the fields in the binder.
* <p>
- * Added listener is notified every time whenever any bound field value is
- * changed, i.e. the UI component value was changed, passed all the
- * conversions and va... | chore: update Binder ValueChangeListener javadocs | null | vaadin/flow | Apache License 2.0 | Java |
@@ -30,12 +30,13 @@ export const TRACE_PARENT_HEADER = 'traceparent';
export const TRACE_STATE_HEADER = 'tracestate';
const VERSION = '00';
-const VERSION_PART_COUNT = 4; // Version 00 only allows the specific 4 fields.
-
-const VERSION_REGEX = /^(?!ff)[\da-f]{2}$/;
-const TRACE_ID_REGEX = /^(?![0]{32})[\da-f]{32}$/;
-... | chore(http-propagation): reduce complexity of traceparent parsing | null | open-telemetry/opentelemetry-js | Apache License 2.0 | TypeScript |
@@ -8,7 +8,7 @@ import (
"github.com/snyk/driftctl/enumeration/remote/cache"
"github.com/snyk/driftctl/enumeration/remote/common"
remoteerr "github.com/snyk/driftctl/enumeration/remote/error"
- github2 "github.com/snyk/driftctl/enumeration/remote/github"
+ "github.com/snyk/driftctl/enumeration/remote/github"
"github.co... | chore: fix mess with github2 imports | null | cloudskiff/driftctl | Apache License 2.0 | Go |
@@ -4,7 +4,7 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
. "$CURDIR"/../../../shell_env.sh
TABLE=ontime200
FILE=ontime_200
-QMHASH=Qmei4dyyPazUy24cfCAtmumC1Ff1VLLiqjzF1zCXXVtvSk
+QMHASH=QmPpCt1aYGb9JWJRmXRUnmJtVgeFFTJGzWFYEEX7bo9zGJ
echo "drop table if exists ${TABLE};" | $MYSQL_CLIENT_CONNECT
| chore: change hash to test files | null | datafuselabs/databend | Apache License 2.0 | Shell |
@@ -15,7 +15,6 @@ defmodule LogflareWeb.Router do
plug :fetch_live_flash
plug :put_root_layout, {LogflareWeb.LayoutView, :root}
plug :protect_from_forgery
-
plug :put_secure_browser_headers, %{
"content-security-policy" =>
(fn ->
@@ -85,7 +84,7 @@ defmodule LogflareWeb.Router do
pipeline :oauth_public do
plug :accepts,... | chore: add csp for oauth public | null | logflare/logflare | Apache License 2.0 | Elixir |
@@ -197,6 +197,9 @@ void test_csd( const std::string& url , header_type merge) {
ASSERT_GE(ret, 0);
ASSERT_NE(sps_data, nullptr);
ASSERT_NE(pps_data, nullptr);
+
+ free(sps_data);
+ free(pps_data);
}else if(meta->codec == AF_CODEC_ID_HEVC){
uint8_t *vps_data = nullptr;
@@ -216,6 +219,10 @@ void test_csd( const std::str... | chore(demuxerTest): fix demuxer test mem leak | null | alibaba/cicadaplayer | MIT License | C++ |
+const fs = require('fs')
+const path = require('path')
+const uuid = require('uuid')
+
+const versionsPath = path.join(process.cwd(), '/src/library/pages/versions.md')
+const buffer = fs.readFileSync(versionsPath)
+
+const version = process.argv[2]
+const id = uuid.v4().replace(/-/g, '')
+
+const nextVersion = `# Vers... | chore(DocsSite): Add script to update Versions page | null | royal-navy/design-system | Apache License 2.0 | JavaScript |
+// Copyright 2022 Datafuse Labs.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agree... | chore(building/utils): add license header | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -149,8 +149,7 @@ cpu usage_user=2.7
},
{
"columnSeparator",
- `
-sep=;
+ `sep=;
m|measurement;available|boolean:y,Y:|n;dt|dateTime:number
test;nil;1
test;N;2
@@ -168,23 +167,28 @@ test available=true 5
},
}
-func (example *csvExample) normalize() {
+func (example *csvExample) normalize() rune {
for len(example.lp) >... | chore(pkg/csv2lp): test csv2lp.CsvToLineProtocol.Comma | null | influxdata/influxdb | MIT License | Go |
object Versions {
// internal versions
- const val cloudNet = "4.0.0-RC3-SNAPSHOT"
+ const val cloudNet = "4.0.0-RC3"
const val cloudNetCodeName = "Blizzard"
// external tools
| chore: release version 4.0.0-RC3 | null | cloudnetservice/cloudnet-v3 | Apache License 2.0 | Kotlin |
-# Foremast - Pipeline Tooling
-#
-# Copyright 2020 Redbox Automated Retail, LLC
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unl... | chore: Removed unused GCP IAM Code | null | foremast/foremast | Apache License 2.0 | Python |
@@ -20,7 +20,8 @@ func (c *Client) initializeMacros(ctx context.Context, tx *bolt.Tx) error {
}
// FindMacros returns all macros in the store
-func (c *Client) FindMacros(ctx context.Context) ([]*platform.Macro, error) {
+func (c *Client) FindMacros(ctx context.Context, filter platform.MacroFilter, opt ...platform.Find... | chore(bolt): bolt macro impl. is a macro service again | null | influxdata/influxdb | MIT License | Go |
@@ -388,7 +388,7 @@ public abstract class NodeUpdater implements FallibleCommand {
final String WORKBOX_VERSION = "6.2.0";
if (featureFlags.isEnabled(FeatureFlags.VITE)) {
- defaults.put("vite", "v2.7.0-beta.8");
+ defaults.put("vite", "v2.7.0-beta.9");
defaults.put("rollup-plugin-brotli", "3.1.0");
defaults.put("vite-... | chore: Vite 2.7 beta9 | null | vaadin/flow | Apache License 2.0 | Java |
@@ -101,7 +101,7 @@ public function size()
* Write to the file.
*
* @param string $contents
- * @return string
+ * @return $this
*/
public function write($contents)
{
| chore(LockableFile): correct the return type of write() | null | laravel/framework | MIT License | PHP |
@@ -1927,6 +1927,8 @@ fn handle_event_loop(
Event::WindowEvent {
event, window_id, ..
} => {
+ // NOTE(amrbashir): we handle this event here instead of `match` statement below because
+ // we want to focus the webview as soon as possible, especially on windows.
if event == WryWindowEvent::Focused(true) {
if let Some(Wi... | chore: add note about focusing the webview | null | tauri-apps/tauri | Apache License 2.0 | Rust |
/*
- * Copyright 2021 B2i Healthcare Pte Ltd, http://b2i.sg
+ * Copyright 2021-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.
@@ -26,9 +26,6 @@ import io.swagger.v3.oas.annotations.Paramete... | chore(api): remove unused `branch` query parameter | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -151,10 +151,10 @@ TEST_P(V4SignedUrlConformanceTest, V4SignJson) {
}
BucketBoundHostname domain_named_bucket;
- if (url_style == "BUCKET_BOUND_DOMAIN") {
- domain_named_bucket = BucketBoundHostname(j_obj["bucketBoundDomain"]);
+ if (url_style == "BUCKET_BOUND_HOSTNAME") {
+ domain_named_bucket = BucketBoundHostname... | chore: update signed URL conformance tests | null | googleapis/google-cloud-cpp | Apache License 2.0 | C++ |
@@ -469,7 +469,7 @@ describe('session module', () => {
})
})
- xit('handles requests from partition', (done) => {
+ it('handles requests from partition', (done) => {
w.webContents.on('did-finish-load', () => done())
w.loadURL(`${protocolName}://fake-host`)
})
| chore: re-enable protocol partition request spec | null | electron/electron | MIT License | JavaScript |
@@ -232,7 +232,7 @@ public class IndexHtmlRequestHandler extends JavaScriptBootstrapHandler {
if(frontendDir.endsWith(File.separator)) {
indexHtmlFilePath = frontendDir + "index.html";
} else {
- indexHtmlFilePath = frontendDir + File.separatorChar + "/index.html";
+ indexHtmlFilePath = frontendDir + File.separatorChar... | chore: fix double slashes in exception message | null | vaadin/flow | Apache License 2.0 | Java |
@@ -2257,7 +2257,10 @@ where
/// assert_eq!(parser.parse("123.45"), Ok(("123.45".to_string(), "")));
/// ```
#[inline(always)]
-pub fn recognize<F, P>(parser: P) -> Recognize<F, P> where
+pub fn recognize<F, P>(parser: P) -> Recognize<F, P>
+where
+ P: Parser,
+ F: FromIterator<<P::Input as StreamOnce>::Item>,
{
Recogn... | chore: Add the required bounds for recognize | null | marwes/combine | MIT License | Rust |
@@ -142,6 +142,13 @@ class RenderLayoutBox extends RenderBoxModel
children.sort((RenderObject prev, RenderObject next) {
RenderLayoutParentData prevParentData = prev.parentData;
RenderLayoutParentData nextParentData = next.parentData;
+ // Place positioned element after non positioned element
+ if (prevParentData.posit... | chore: revert z-index mod | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -65,6 +65,12 @@ void falco_outputs::init(bool json_output,
uint32_t rate, uint32_t max_burst, bool buffered,
bool time_format_iso_8601, string hostname)
{
+ // Cannot be initialized more than one time.
+ if(m_initialized)
+ {
+ throw falco_exception("falco_outputs already initialized");
+ }
+
m_json_output = json_ou... | chore(userspace/falco): avoid multiple outputs init | null | falcosecurity/falco | Apache License 2.0 | C++ |
@@ -34,6 +34,8 @@ import java.util.Date;
import java.util.List;
import static org.apache.commons.lang.time.DateUtils.addDays;
+import static org.apache.commons.lang.time.DateUtils.addSeconds;
+import static org.camunda.bpm.engine.impl.jobexecutor.historycleanup.HistoryCleanupJobHandlerConfiguration.START_DELAY;
import ... | chore(cleanup): fix failing batch test | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -144,7 +144,7 @@ func loadDefaultCmdFlags(cfg *config.Config, c *cli.Context) error {
if c.IsSet("config-file") {
if hasProjectFlags || hasOutputFlags {
- usageError(c, "--config-file flag cannot be used with other flags")
+ usageError(c, "--config-file flag cannot be used with other project and output flags")
}
ret... | chore(flags): update config-file flag error message | null | infracost/infracost | Apache License 2.0 | Go |
@@ -72,7 +72,7 @@ func setup(cmd *cobra.Command, args []string) {
// default to true so repo config is used on --no-prompt
useRepoConfig := true
if !ignoreRepoConfig && canPromptUser {
- useRepoConfig = utils.ConfirmationPrompt("Use default settings from repo config file (doppler.yaml)?", true)
+ useRepoConfig = utils.... | chore: shorten repo config prompt message | null | dopplerhq/cli | Apache License 2.0 | Go |
@@ -412,6 +412,20 @@ public class BulkHistoryDeleteTest {
}
+ @Test
+ @Deployment(resources = {"org/camunda/bpm/engine/test/dmn/businessruletask/DmnBusinessRuleTaskTest.testDecisionRef.bpmn20.xml",
+ "org/camunda/bpm/engine/test/api/history/testDmnWithPojo.dmn11.xml" })
+ public void testCleanupFakeHistoryDecisionData(... | chore(test): add test delete non-existent historic decision instances | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -18,7 +18,7 @@ kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
- image: brigadecore/kind-node:v1.20.2
+ image: brigadecore/kind-node:v1.22.2
extraPortMappings:
- containerPort: 31600
hostPort: 31600
| chore(new-cluster.sh): bump kind-node image | null | brigadecore/brigade | Apache License 2.0 | Shell |
@@ -5,7 +5,7 @@ plugins {
id("application")
id("com.apollographql.apollo") version "2.5.9"
id("com.github.johnrengelman.shadow") version "7.0.0"
- kotlin("jvm") version "1.5.20"
+ kotlin("jvm") version "1.5.21"
}
application.mainClass.set("me.melijn.melijnbot.MelijnBotKt")
@@ -48,13 +48,13 @@ repositories {
val jackson... | chore(deps): bump kt, ktx, jda, hikari and lettuce | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -2,6 +2,7 @@ package newrelic
import (
"errors"
+ "fmt"
"net/http"
"time"
@@ -105,6 +106,25 @@ func (nr *NewRelic) SetLogLevel(levelName string) {
nr.config.Logger.SetLevel(levelName)
}
+// TestEndpoints makes a few calls to determine if the NewRelic enpoints are reachable.
+func (nr *NewRelic) TestEndpoints() error... | chore(newrelic): include TestEndpoint method for reachability test | null | newrelic/newrelic-client-go | Apache License 2.0 | Go |
@@ -31,7 +31,7 @@ else
token=$(curl -f -X PUT "http://169.254.169.254/latest/api/token" -H "X-aws-ec2-metadata-token-ttl-seconds: 180")
region=$(curl -f -H "X-aws-ec2-metadata-token: $token" -v http://169.254.169.254/latest/dynamic/instance-identity/document | jq -r .region)
- echo "Reteieved REGION from AWS API ($regi... | chore: Ultra micro typo fix | null | philips-labs/terraform-aws-github-runner | MIT License | Shell |
@@ -5,10 +5,121 @@ namespace Tests\E2E\Services\Database;
use Tests\E2E\Scopes\ProjectCustom;
use Tests\E2E\Scopes\Scope;
use Tests\E2E\Scopes\SideServer;
+use Tests\E2E\Client;
class DatabaseCustomServerTest extends Scope
{
- use DatabaseBase;
+ // use DatabaseBase;
use ProjectCustom;
use SideServer;
+
+ public functi... | chore: added e2e tests for collection deletion | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
+#!/usr/bin/env bash
+
+# yarn all-contributors check
+unset IFS
+cont="hanxiao, nan-wang, JoanFM, jina-bot, alexcg1, fhaase2, policeme, shivam-raj, YueLiu-jina, allcontributors[bot], anish2197, antonkurenkov, BingHo1013, maanavshah, guiferviz, redram, joaopalotti, Morriaty-The-Murderer, festeh, phamtrancsek12, Kavan72... | chore: add contributors in bulk | null | jina-ai/jina | Apache License 2.0 | Shell |
@@ -169,6 +169,8 @@ describe('StyleAccessor', function () {
});
}
+ const isFirefox = TestContext.create().wnd.navigator.userAgent.includes('Firefox');
+
const specs: Partial<IStyleSpec>[] = [
{
title: 'getValue - style="display: block;"',
@@ -237,12 +239,6 @@ describe('StyleAccessor', function () {
staticStyle: `displ... | chore(test): conditionally exclude tests that only fail in ff | null | aurelia/aurelia | MIT License | TypeScript |
@@ -10,7 +10,7 @@ for package in botonic-*; do
echo "Preparing $package..."
echo "===================================="
echo "Cleaning..."
- nice rm -rf node_modules lib
+ nice rm -rf node_modules lib dist
echo "Installing deps..."
nice npm i -D > /dev/null
echo "Building..."
| chore(scripts): dist folders to be removed | null | hubtype/botonic | MIT License | Shell |
@@ -28,14 +28,14 @@ public protocol PaymentComponent: PaymentAwareComponent, PaymentMethodAware {
extension PaymentComponent {
public func submit(data: PaymentComponentData, component: PaymentComponent? = nil) {
- var mutableData = data
- mutableData.checkoutAttemptId = component?.context.analyticsProvider.checkoutAtte... | chore: Send updated data in submit method | null | adyen/adyen-ios | MIT License | Swift |
@@ -133,19 +133,6 @@ func (s *Service) compileProtoSchemas(schema SchemaVersionedResponse, schemaRepo
return nil, err
}
- // for _, ref := range schema.References {
- // refSubject, exists := schemaRepository[ref.Subject]
- // if !exists {
- // return nil, fmt.Errorf("failed to resolve reference. Reference with subject... | chore: Removed unneded comments | null | cloudhut/kowl | Apache License 2.0 | Go |
@@ -59,7 +59,7 @@ class UpdateSearchCommand extends Command
}
$maxDocuments = ElasticSearch::MAX_BULK_DOCUMENTS;
- if($contentName == 'Lore' || $contentName == 'Quest'){
+ if($contentName == 'Leve' || $contentName == 'Quest'){
$maxDocuments = 10;
}
| chore: better naming please | null | xivapi/xivapi.com | MIT License | PHP |
@@ -23,7 +23,6 @@ open class AVFoundationPlayback: Playback {
@objc internal dynamic var player: AVPlayer?
private var playerLooper: AVPlayerLooper?
-
#if os(tvOS)
lazy var nowPlayingService: AVFoundationNowPlayingService = {
return AVFoundationNowPlayingService()
| chore: adjusting whitespace on lines | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -174,7 +174,7 @@ impl<T: Config> Optimistic<T> {
// ToDo: Introduce more sophisticated slashed rewards split between
// treasury, users, honest executors
let slashed_reserve: EscrowedBalanceOf<T, T::Escrowed> =
- if let Some(v) = insurance.checked_add(reserved_bond) {
+ if let Some(v) = insurance.checked_add(&reserv... | chore: fix error in merge resolution | null | t3rn/t3rn | Apache License 2.0 | Rust |
@@ -67,6 +67,7 @@ export function CreateAccountLanding() {
</FormButton>
<FormButton
linkTo='/set-recovery-implicit-account'
+ trackingId='get started setup-recovery-implicit'
className='primary'
>
<Translate id='button.getStarted' />
| chore: Add tracking to create implicit account 'get started' btn | null | near/near-wallet | MIT License | JavaScript |
@@ -979,6 +979,8 @@ class CardComponentTests: XCTestCase {
let sut = CardComponent(paymentMethod: method,
configuration: config,
apiContext: Dummy.context)
+ sut.cardViewController.postalCodeItem.value = "1501 NH"
+
// When
sut.clear()
@@ -997,6 +999,8 @@ class CardComponentTests: XCTestCase {
let sut = CardComponent(p... | chore: Add default value to items | null | adyen/adyen-ios | MIT License | Swift |
@@ -193,6 +193,7 @@ if [ "$format" = "deb" ]; then
else
log_debug "Moving installer to $(pwd) (cwd)"
mv -f "$filename" .
+ echo "Doppler CLI installer saved to ./$file.deb"
fi
elif [ "$format" = "rpm" ]; then
mv -f "$filename" "$filename.rpm"
@@ -205,6 +206,7 @@ elif [ "$format" = "rpm" ]; then
else
log_debug "Moving i... | chore: log file download path when using --no-install | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -74,20 +74,19 @@ export class EventAggregator {
public publish(channel: string, data?: unknown): void;
/**
* Publishes a message.
- * @param channelOrType The event to publish to.
- * @param data The data to publish on the channel.
+ * @param instance The instance to publish to.
*/
- public publish(type: InstanceTyp... | chore(kernel): rename some variables for clarity | null | aurelia/aurelia | MIT License | TypeScript |
//! implemented in terms of the `query::Database` and
//! `query::DatabaseStore`
-use std::{collections::HashMap, sync::Arc};
-
+use super::{
+ data::{
+ fieldlist_to_measurement_fields_response, series_set_item_to_read_response,
+ tag_keys_to_byte_vecs,
+ },
+ expr::{self, AddRPCNode, Loggable, SpecialTagKeys},
+ inpu... | chore: Organize use imports | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -337,11 +337,7 @@ export const DEFAULT_SYNTH_OPTIONS = {
},
],
},
- // Enable feature flags for all integ tests
'@aws-cdk/aws-ecr-assets:dockerIgnoreSupport': true,
- '@aws-cdk/aws-kms:defaultKeyPolicies': true,
- '@aws-cdk/core:enableStackNameDuplicates': true,
- '@aws-cdk/aws-secretsmanager:parseOwnedSecretName': ... | chore: do not enable expired feature flags in integ tests | null | aws/aws-cdk | Apache License 2.0 | TypeScript |
@@ -291,11 +291,11 @@ pub extern "C" fn logger_apply() -> c_int {
/// Returns a NULL pointer if the buffer can't be fetched. This can occur is there is not
/// sufficient memory to make a copy of the contents or the buffer contains non-UTF-8 characters.
#[no_mangle]
-pub extern "C" fn fetch_log_buffer(log_id: *const c_... | chore: clippy violation | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -79,13 +79,13 @@ describe 'Links test' do
expect(proofer.failed_tests.first).to match(%r{internally linking to .\/notreal.html, which does not exist})
end
- it 'fails for broken internal root links', :focus do
+ it 'fails for broken internal root links' do
broken_root_link_internal_filepath = "#{FIXTURES_DIR}/links/... | chore: remove test debugging | null | gjtorikian/html-proofer | MIT License | Ruby |
@@ -66,12 +66,12 @@ impl MetaService for GrpcServiceForTestImpl {
&self,
_request: Request<RaftRequest>,
) -> Result<Response<RaftReply>, Status> {
- // for timeout test
- tokio::time::sleep(Duration::from_secs(60)).await;
Err(Status::unimplemented("Not yet implemented"))
}
async fn kv_api(&self, _request: Request<Raft... | chore(meta/service/test): fix timeout test | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -8,9 +8,11 @@ touch ./netlify-dist/.gitkeep
# build examples
yarn examples:ecommerce:build
yarn examples:router:build
+yarn examples:media:build
# build dev-novel
MODE=build webpack --config webpack.demo.js
mv ./examples/e-commerce/dist ./netlify-dist/e-commerce
mv ./examples/angular-router/dist ./netlify-dist/angul... | chore(scripts/netlify): build media example | null | algolia/angular-instantsearch | MIT License | Shell |
import React from 'react';
-import { render, screen, fireEvent } from '@testing-library/react';
+import { render, screen } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import ImageCardFormSettings, { backGroundColor } from './ImageCardFormSettings';
| chore(imagecardformitems): remove unused var | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | JavaScript |
@@ -130,7 +130,7 @@ def stop_instance(project_id: str, zone: str, instance_name: str):
# [START compute_reset_instance]
def reset_instance(project_id: str, zone: str, instance_name: str):
"""
- Resets a stopped Google Compute Engine instance (with unencrypted disks).
+ Resets a running Google Compute Engine instance (w... | chore(samples): Fixing docstring | null | googlecloudplatform/python-docs-samples | Apache License 2.0 | Python |
@@ -22,7 +22,7 @@ parser = DocTestParser()
apis = collect_apis(client, {})
-snippets = {"language": "Python", "operations": defaultdict(str)}
+snippets = {"language": "Python", "label": "Python SDK", "operations": defaultdict(str)}
filter_out = ["from cognite.client import CogniteClient", "c = CogniteClient()"]
duplica... | chore: change code snippets label name | null | cognitedata/cognite-sdk-python | Apache License 2.0 | Python |
@@ -43,7 +43,9 @@ class ImageElement extends Element {
bool _isListeningStream = false;
bool _isInLazyLoading = false;
- bool _isImageLoaded = false;
+ // https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-complete-dev
+ // A boolean value which indicates whether or not the image has completely loaded... | chore: use complete | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -126,6 +126,11 @@ interface IHalClient {
*/
fun putJson(link: String, options: Map<String, Any>, json: String): Result<String?, Exception>
+ /**
+ * Upload a JSON document to the given URL, using a PUT request
+ */
+ fun putJson(url: URI, json: String): Result<String?, Exception>
+
/**
* Upload a JSON document to th... | chore: Update HAL client to be able to PUT to a URL | null | pact-foundation/pact-jvm | Apache License 2.0 | Kotlin |
@@ -409,6 +409,7 @@ module.exports = {
componentNames: [
"Accordion",
"Address",
+ "InlineAlert",
"ProgressiveImage"
],
content: "styleguide/src/sections/Content.md",
@@ -419,7 +420,6 @@ module.exports = {
"Checkbox",
"ErrorsBlock",
"Field",
- "InlineAlert",
"PhoneNumberInput",
"QuantityInput",
"Select",
| chore: InlineAlert in content TOC | null | reactioncommerce/reaction-component-library | Apache License 2.0 | JavaScript |
@@ -219,7 +219,7 @@ trait Auditable
$this->{$eventHandler}($old, $new);
- $foreignKey = Config::get('audit.user.foreign_key', 'user_id');
+ $userForeignKey = Config::get('audit.user.foreign_key', 'user_id');
$tags = implode(',', $this->generateTags());
@@ -229,7 +229,7 @@ trait Auditable
'event' => $this->auditEvent,
'... | chore(Auditable): rename variable | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -716,14 +716,18 @@ public class PageServiceTest {
Plugin installed_plugin = pluginRepository.findByPackageName("installed-plugin").block();
datasource.setPluginId(installed_plugin.getId());
action.setDatasource(datasource);
- action.setExecuteOnLoad(true);
assert page != null;
Layout layout = page.getLayouts().get(0... | chore: Fixed a failing assertion in page clone test | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -229,7 +229,7 @@ func (c *Config) GetStepConfig(flagValues map[string]interface{}, paramJSON stri
if verbose, ok := stepConfig.Config["verbose"].(bool); ok && verbose {
log.SetVerbose(verbose)
- } else if !ok {
+ } else if !ok && stepConfig.Config["verbose"] != nil {
log.Entry().Warnf("invalid value for parameter ve... | chore: hide warn level if verbose not configured | null | sap/jenkins-library | Apache License 2.0 | Go |
#!/bin/bash
-npm init midway -- --template=@midwayjs-examples/application-web-v3 midway_benchmark_app
+export DIR=midway_benchmark_app
+
+npm init midway -- --template=@midwayjs-examples/application-web-v3 $DIR
echo '[benchmark] create template complete'
-cp ./scripts/start.js ./midway_benchmark_app/start.js
-cp ./scri... | chore(ci): update benchmark scripts | null | midwayjs/midway | MIT License | Shell |
-#!/usr/bin/env bash
-# This script manages publishing of Flame and its bridge packages.
-#
-# Usage: ./publish.sh (no arguments and can be run from any path)
-#
-# Before publishing this script does the following:
-# * Sets the chosen package's pubspec.yaml file to depend on the newest
-# version of Flame (if it is no... | chore: Remove deprecated publish script | null | flame-engine/flame | MIT License | Shell |
@@ -54,7 +54,7 @@ export class TrayMenu {
const contextMenu = Menu.buildFromTemplate([
{
label: 'Packet Capture',
- type: 'submenu',
+ type: 'checkbox',
checked: this.store.get<boolean>('machina', false),
click: (menuItem) => {
this.store.set('machina', menuItem.checked);
@@ -68,7 +68,7 @@ export class TrayMenu {
{
lab... | chore: fix for tray menu not created properly | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -153,7 +153,7 @@ wget_download() {
exit_code=$?
set -e
- status_code="$(echo "$headers" | sed '1!G;h;$!d' | grep HTTP | head -1 | grep -o -E '[0-9]{3}')"
+ status_code="$(echo "$headers" | sed '1!G;h;$!d' | grep -o -E 'HTTP/[0-9.]+ [0-9]{3}' | head -1 | grep -o -E '[0-9]{3}')"
# it's possible for this value to be bl... | chore: fix CLI install when using wget | null | dopplerhq/cli | Apache License 2.0 | Shell |
@@ -454,8 +454,8 @@ $utopia->get('/v1/auth/login/oauth/:provider/redirect')
->label('error', __DIR__.'/../views/general/error.phtml')
->label('webhook', 'auth.oauth')
->label('scope', 'auth')
- // ->label('abuse-limit', 100)
- // ->label('abuse-key', 'ip:{ip}')
+ ->label('abuse-limit', 100)
+ ->label('abuse-key', 'ip:{... | chore: added back abuse limits | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -72,7 +72,7 @@ class AuditableTest extends AuditingTestCase
'updated',
'deleted',
'restored',
- ], $model->getAuditableEvents());
+ ], $model->getAuditEvents());
$this->assertFalse($model->readyForAuditing());
}
@@ -85,7 +85,7 @@ class AuditableTest extends AuditingTestCase
{
$model = new Article();
- $model->audita... | chore(Auditable): update unit tests | null | owen-it/laravel-auditing | MIT License | PHP |
@@ -5,7 +5,6 @@ set -e
DEBUG=0
INSTALL=1
CLEAN_EXIT=0
-CWD="$(pwd)"
tempdir=""
filename=""
@@ -19,17 +18,17 @@ cleanup() {
fi
fi
- if [ ! -z "$tempdir" ]; then
+ if [ -n "$tempdir" ]; then
delete_tempdir
fi
- exit $exit_code
+ exit "$exit_code"
}
trap cleanup EXIT
clean_exit() {
CLEAN_EXIT=1
- exit $1
+ exit "$1"
}
log... | chore: clean up shellcheck errors | null | dopplerhq/cli | Apache License 2.0 | Shell |
-package com.direwolf20.buildinggadgets.common.util.tools;
-
-import net.minecraft.util.Direction;
-import net.minecraft.util.math.BlockPos;
-
-public final class VectorUtils {
- private VectorUtils() {}
-
- public static int getAxisValue(BlockPos pos, Direction.Axis axis) {
- switch (axis) {
- case X:
- return pos.get... | chore: removed VectorUtils | null | direwolf20-mc/buildinggadgets | MIT License | Java |
@@ -25,12 +25,8 @@ import { action } from '@storybook/addon-actions';
[side]="side"
(close)="active = !active; close.emit()"
>
- <div aiSidePanelTitle>
- Filter
- </div>
- <div class="panel-content">
- Content
- </div>
+ <div aiSidePanelTitle>Filter</div>
+ <div class="panel-content">Content</div>
<div class="panel-foo... | chore(side-panel): prettify | null | carbon-design-system/carbon-addons-iot-react | Apache License 2.0 | TypeScript |
@@ -10,7 +10,7 @@ class Icon extends Component
public string $name;
- public function __construct(string $name, string $style = '')
+ public function __construct(string $name, ?string $style = null)
{
$this->name = $name;
$this->style = $style ?: config('wireui.icons.style');
| chore: set variable to null | null | wireui/wireui | MIT License | PHP |
@@ -28,10 +28,10 @@ const resolvers = {
return of({}).pipe(
switchMap(() => CosmosClient.listPackageVersions(parent.name)),
retry(2),
- map(({ response }: RequestResponse<PackageVersionsResponse>) =>
- Object.keys(response.results).map(version => ({
+ map(({ response }) =>
+ Object.entries(response.results).map(([versi... | chore(cosmos-client): use `entries` instead of `Object.keys().map()` | null | dcos/dcos-ui | Apache License 2.0 | TypeScript |
@@ -107,6 +107,9 @@ impl Context {
let address = address.into();
// Check if the address set is available
+ // TODO: There is not much sense of checking for address collisions here, since in
+ // async environment there may be new Workers started between the check and actual adding
+ // of this Worker to the Router map... | chore(rust): add context todo comment | null | ockam-network/ockam | Apache License 2.0 | Rust |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.