Skip to content

RDKEMW-21739: Restore crashupload success marker logline for upload success path [8.6]#73

Open
gomathishankar37 wants to merge 2 commits into
support/2.1.2from
topic/RDKEMW-21739
Open

RDKEMW-21739: Restore crashupload success marker logline for upload success path [8.6]#73
gomathishankar37 wants to merge 2 commits into
support/2.1.2from
topic/RDKEMW-21739

Conversation

@gomathishankar37

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 17, 2026 12:14
@gomathishankar37
gomathishankar37 requested a review from a team as a code owner July 17, 2026 12:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates rate-limiting behavior documentation/tests to explicitly treat the deny-window (/tmp/.deny_dump_uploads_till) as a global cooldown (blocking both minidumps and coredumps), while keeping the upload-count check minidump-only, and adjusts an upload success log line in the C uploader.

Changes:

  • Added/updated L1 (gtest) and L2 (pytest + Gherkin + matrices) coverage to reflect global deny-window behavior for coredumps.
  • Added a large functional test-case specification document for uploadDumps.sh, plus OpenSpec documentation describing runtime/subsystem/integration models.
  • Modified a C upload success log line in upload.c.

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
unittest/ratelimit_gtest.cpp Updates deny-window timestamp setup and adds a coredump deny-window blocking test.
test/uploadDumps_TestCases.md Adds a comprehensive functional test case catalog for uploadDumps.sh.
test/L2_TODO.md Adjusts TC wording to clarify minidump-only counter semantics.
test/L2_TESTS.md Updates the applicability/implementation matrix to reflect global deny-window behavior.
test/functional-tests/tests/test_ratelimit_allow.py Updates documentation text for TC-050 and deny-window semantics.
test/functional-tests/tests/README.md Fixes wording and updates doc links to the new test-case document location.
test/functional-tests/features/ratelimit.feature Clarifies scenario preconditions around deny-window inactivity for coredump TC-050.
README.md Updates the L2 coverage link to point at test/L2_TESTS.md.
openspec/subsystems/subsystem-analysis.md Adds subsystem responsibility analysis documentation.
openspec/runtime/execution-model.md Adds a documented execution model for shell vs C runtime paths.
openspec/integrations/client-integration-model.md Adds client/integration surface documentation and rate-limit state semantics.
openspec/config.yaml Adds OpenSpec context/rules configuration for artifact generation.
c_sourcecode/src/upload/upload.c Changes the upload success log line in the S3 PUT success path.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

TEST_F(RateLimitTest, RatelimitCheckUnified_RecoveryNotReached_BlockUpload) {
// Set recovery time in future
time_t future = time(NULL) + 600;
long future = (long)time(NULL) + 600L;

TEST_F(RateLimitTest, RatelimitCheckUnified_CoredumpType_RecoveryWindow_BlockUpload) {
// The recovery window is global, so coredumps are blocked while it is active.
long future = (long)time(NULL) + 600L;
else
{
CRASHUPLOAD_INFO("S3 %s Upload is successful\n", filepath);
CRASHUPLOAD_INFO("Upload is successful with TLS1.2 for %s\n", filepath);
@gomathishankar37 gomathishankar37 changed the title RDKEMW-21738: Restore crashupload success marker logline for upload success path [8.5] RDKEMW-21738: Restore crashupload success marker logline for upload success path [8.6] Jul 17, 2026
@gomathishankar37 gomathishankar37 changed the title RDKEMW-21738: Restore crashupload success marker logline for upload success path [8.6] RDKEMW-21739: Restore crashupload success marker logline for upload success path [8.6] Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants