Skip to content

BAC-255: Disable nightly#75

Merged
Marcin-Radecki merged 2 commits intomainfrom
disable-nightly
Nov 13, 2025
Merged

BAC-255: Disable nightly#75
Marcin-Radecki merged 2 commits intomainfrom
disable-nightly

Conversation

@Marcin-Radecki
Copy link
Contributor

@Marcin-Radecki Marcin-Radecki commented Nov 13, 2025

Summary by CodeRabbit

  • Chores
    • Updated workflow configuration to disable automatic scheduled execution for testnet end-to-end testing; workflow now requires manual triggering only.

@Marcin-Radecki Marcin-Radecki enabled auto-merge (squash) November 13, 2025 13:22
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 13, 2025

Walkthrough

[Hushed whisper] Here, in the misty depths of the CI/CD infrastructure, we observe a most fascinating transformation. The automated nightly ritual—once faithfully executed by the relentless scheduler—has been retired. Yet the workflow remains, ever vigilant, awaiting the deliberate summons of the manual trigger. A creature adapted to demand, rather than routine.

Changes

Cohort / File(s) Change Summary
Workflow Schedule Modification
\.github/workflows/testnet-nightly-e2e\.yml
Removed cron-based scheduled trigger; added header comments documenting workflow obsolescence; manual triggering via workflow_dispatch preserved

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

The night shift clock falls silent still,
No more the tick-tock of the hill,
Yet patient workflows wait and watch,
For hands to come and flip the notch. 🌙⚙️

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'BAC-255: Disable nightly' directly references the workflow file changes, specifically the removal of the scheduled trigger from the nightly e2e workflow.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch disable-nightly

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link

📊 Coverage Report

📈 Total Coverage Summary

Type Covered Total Coverage
📝 Lines 1772 2513 🟠 70.51%
📄 Statements 1772 2513 🟠 70.51%
⚡ Functions 117 138 🟡 84.78%
🔀 Branches 281 300 🟡 93.66%

Coverage Legend

  • ✅ 100% Coverage
  • 🟡 80-99% Coverage
  • 🟠 50-79% Coverage
  • ❌ 0-49% Coverage

📁 File Coverage

📋 Detailed Coverage Report
File Lines Statements Functions Branches
🟡 blanksquare-monorepo/ts/shielder-sdk/src/actions/deposit.ts 89.74% 89.74% 100% 85.71%
🟡 blanksquare-monorepo/ts/shielder-sdk/src/actions/newAccount.ts 86.27% 86.27% 100% 80%
blanksquare-monorepo/ts/shielder-sdk/src/actions/types.ts 100% 100% 100% 100%
🟡 blanksquare-monorepo/ts/shielder-sdk/src/actions/utils.ts 97.33% 97.33% 100% 90.9%
🟠 blanksquare-monorepo/ts/shielder-sdk/src/actions/withdraw.ts 78.14% 78.14% 87.5% 100%
blanksquare-monorepo/ts/shielder-sdk/src/chain/contract.ts 1.8% 1.8% 0% 0%
blanksquare-monorepo/ts/shielder-sdk/src/chain/relayer.ts 35.22% 35.22% 33.33% 50%
blanksquare-monorepo/ts/shielder-sdk/src/client/actions.ts 100% 100% 100% 100%
🟡 blanksquare-monorepo/ts/shielder-sdk/src/client/client.ts 86.5% 86.5% 71.42% 80%
🟡 blanksquare-monorepo/ts/shielder-sdk/src/client/factories.ts 97.4% 97.4% 100% 85.71%
blanksquare-monorepo/ts/shielder-sdk/src/client/types.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/constants.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/errors.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/index.ts 0% 0% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/protocolFees.ts 18.51% 18.51% 14.28% 100%
blanksquare-monorepo/ts/shielder-sdk/src/referral.ts 36.84% 36.84% 0% 0%
blanksquare-monorepo/ts/shielder-sdk/src/state/accountFactory.ts 100% 100% 100% 100%
🟡 blanksquare-monorepo/ts/shielder-sdk/src/state/accountOnchain.ts 94.44% 94.44% 100% 77.77%
blanksquare-monorepo/ts/shielder-sdk/src/state/accountRegistry.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/state/accountStateSerde.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/state/idManager.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/state/localStateTransition.ts 100% 100% 100% 100%
🟡 blanksquare-monorepo/ts/shielder-sdk/src/state/sync/chainStateTransition.ts 93.75% 93.75% 100% 95%
blanksquare-monorepo/ts/shielder-sdk/src/state/sync/historyFetcher.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/state/sync/synchronizer.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/state/sync/tokenAccountFinder.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/state/types.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/storage/storageManager.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/storage/storageSchema.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/types.ts 100% 100% 100% 100%
blanksquare-monorepo/ts/shielder-sdk/src/utils.ts 100% 100% 100% 100%
🟡 blanksquare-monorepo/ts/shielder-sdk/src/utils/errorHandler.ts 93.33% 93.33% 100% 75%
🟡 blanksquare-monorepo/ts/shielder-sdk/src/utils/waitForTransactionInclusion.ts 87.5% 87.5% 66.66% 100%

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: ASSERTIVE

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 761de81 and 27d8ddb.

📒 Files selected for processing (1)
  • .github/workflows/testnet-nightly-e2e.yml (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: Marcin-Radecki
Repo: Cardinal-Cryptography/blanksquare-monorepo PR: 50
File: .github/workflows/build-and-push-scheduler-tee.yml:18-26
Timestamp: 2025-09-17T10:21:12.274Z
Learning: In the blanksquare-monorepo repository, Marcin-Radecki prefers to skip GitHub Actions security pinning recommendations for now, indicating this can be addressed in future PRs when more convenient.
Learnt from: Marcin-Radecki
Repo: Cardinal-Cryptography/blanksquare-monorepo PR: 56
File: crates/shielder-scheduler-server/Cargo.toml:39-40
Timestamp: 2025-09-24T13:57:05.795Z
Learning: Marcin-Radecki prefers explicit dependency management in Cargo.toml where optional dependencies are clearly separated by features, avoiding implicit inclusion of heavy dependencies like AWS SDK when they're not needed for local development.
🪛 GitHub Actions: GH Action YAML linter
.github/workflows/testnet-nightly-e2e.yml

[error] 1-1: yamllint: trailing spaces detected at line 1 (trailing-spaces).


[error] 3-3: yamllint: trailing spaces detected at line 3 (trailing-spaces).

⏰ Context from checks skipped due to timeout of 360000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (19)
  • GitHub Check: Rust crates checks / Run tests for crates/shielder-scheduler-server
  • GitHub Check: Rust crates checks / Run tests for crates/shielder-prover-tee
  • GitHub Check: Rust crates checks / Run tests for crates/shielder-prover-server
  • GitHub Check: Rust crates checks / Run tests for crates/shielder-scheduler-tee
  • GitHub Check: Rust crates checks / Run tests for crates/shielder-scheduler-common
  • GitHub Check: Rust crates checks / Run tests for crates/shielder-circuits
  • GitHub Check: Rust crates checks / Run tests for crates/shielder-contract
  • GitHub Check: Rust crates checks / Run tests for crates/powers-of-tau
  • GitHub Check: Rust crates checks / Run tests for crates/shielder-cli
  • GitHub Check: Rust crates checks / Run tests for crates/shielder_bindings
  • GitHub Check: Rust crates checks / Run tests for crates/halo2-verifier
  • GitHub Check: Rust crates checks / Run tests for crates/shielder-account
  • GitHub Check: Rust crates checks / Run e2e tests
  • GitHub Check: Rust crates checks / Run heavy tests for crates/integration-tests
  • GitHub Check: Rust crates checks / Run lints and format for Rust workspace
  • GitHub Check: Rust crates checks / Run heavy tests for crates/shielder-relayer
  • GitHub Check: Typescript modules checks / Run E2E tests on local anvil node (zero fee)
  • GitHub Check: Typescript modules checks / Run E2E tests on local anvil node (nonzero fee)
  • GitHub Check: Measure gas usage / Measure gas and verifier code size
🔇 Additional comments (1)
.github/workflows/testnet-nightly-e2e.yml (1)

8-9: Nightly schedule gracefully retired; manual trigger remains.

And there, amongst the workflow's declarations, we witness a most elegant transformation. The scheduled trigger—that faithful servant that once awakened this workflow in the dead of night, night after night—has been thoughtfully removed. Only workflow_dispatch persists, allowing the workflow to respond to deliberate human summons. A creature of demand now, rather than routine.

The removal of the cron-based schedule is appropriate, particularly given the documented incompatibilities with Base Sepolia testnet mentioned in the header comments. The workflow retains its ability to run manually when intentionally triggered.

Comment on lines +1 to +4
# This workflow is out-to-date. It won't work as it is now, due to the fact Base Sepolia testnet
# has a specific behaviour resulting in errors like "replacement transaction underpriced" or "nonce too low:".
# current workaround was to sleep, but it was removed in
# https://github.com/Cardinal-Cryptography/blanksquare-monorepo/commit/72536953ee7d324b4a776c0726ae035bace88655
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

Remove trailing whitespace to pass linter checks.

Here, in the shadow of the comment block, we observe a most peculiar phenomenon: invisible spaces at the line's end. The yamllint creature, ever vigilant, has detected these imperceptible interlopers lurking at lines 1 and 3. They must be expunged posthaste.

Apply this diff to eliminate the trailing spaces:

-# This workflow is out-to-date. It won't work as it is now, due to the fact Base Sepolia testnet 
-# has a specific behaviour resulting in errors like "replacement transaction underpriced" or "nonce too low:".
-# current workaround was to sleep, but it was removed in 
-# https://github.com/Cardinal-Cryptography/blanksquare-monorepo/commit/72536953ee7d324b4a776c0726ae035bace88655
+# This workflow is out-to-date. It won't work as it is now, due to the fact Base Sepolia testnet
+# has a specific behaviour resulting in errors like "replacement transaction underpriced" or "nonce too low:".
+# current workaround was to sleep, but it was removed in
+# https://github.com/Cardinal-Cryptography/blanksquare-monorepo/commit/72536953ee7d324b4a776c0726ae035bace88655
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# This workflow is out-to-date. It won't work as it is now, due to the fact Base Sepolia testnet
# has a specific behaviour resulting in errors like "replacement transaction underpriced" or "nonce too low:".
# current workaround was to sleep, but it was removed in
# https://github.com/Cardinal-Cryptography/blanksquare-monorepo/commit/72536953ee7d324b4a776c0726ae035bace88655
# This workflow is out-to-date. It won't work as it is now, due to the fact Base Sepolia testnet
# has a specific behaviour resulting in errors like "replacement transaction underpriced" or "nonce too low:".
# current workaround was to sleep, but it was removed in
# https://github.com/Cardinal-Cryptography/blanksquare-monorepo/commit/72536953ee7d324b4a776c0726ae035bace88655
🧰 Tools
🪛 GitHub Actions: GH Action YAML linter

[error] 1-1: yamllint: trailing spaces detected at line 1 (trailing-spaces).


[error] 3-3: yamllint: trailing spaces detected at line 3 (trailing-spaces).

🤖 Prompt for AI Agents
.github/workflows/testnet-nightly-e2e.yml lines 1-4: remove trailing whitespace
at the ends of lines 1 and 3 which is causing yamllint failures; edit the file
to delete the invisible spaces at those line ends (ensure no other trailing
spaces remain in the file) and save so the linter passes.

@github-actions
Copy link

Transaction NameMainCurrentDifference (%)
Deposit (size)20255202550.00000%
DepositERC20 (gas)17660031766015+0.00068%
DepositERC20Fees (gas)17747991774751-0.00270%
DepositERC20FeesMemo (gas)17755771775505-0.00406%
DepositERC20Memo (gas)17667571766817+0.00340%
DepositNative (gas)17482931748329+0.00206%
DepositNativeFees (gas)17577331757769+0.00205%
DepositNativeFeesMemo (gas)17585111758523+0.00068%
DepositNativeMemo (gas)17662311766171-0.00340%
NewAccount (size)22867228670.00000%
NewAccountERC20 (gas)17997151799559-0.00867%
NewAccountERC20Fees (gas)18084151808367-0.00265%
NewAccountERC20FeesMemo (gas)17920321792080+0.00268%
NewAccountERC20Memo (gas)17833441783368+0.00135%
NewAccountNative (gas)17643231764371+0.00272%
NewAccountNativeFees (gas)18158151815851+0.00198%
NewAccountNativeFeesMemo (gas)17745281774432-0.00541%
NewAccountNativeMemo (gas)17651001764980-0.00680%
Withdraw (size)21573215730.00000%
WithdrawERC20 (gas)18673531867161-0.01028%
WithdrawERC20Fees (gas)18418051841781-0.00130%
WithdrawERC20FeesMemo (gas)18424391842631+0.01042%
WithdrawERC20Memo (gas)18337151833919+0.01112%
WithdrawNative (gas)18673611867349-0.00064%
WithdrawNativeFees (gas)18268011826837+0.00197%
WithdrawNativeFeesMemo (gas)18448001844704-0.00520%
WithdrawNativeMemo (gas)18182601818188-0.00396%

@Marcin-Radecki Marcin-Radecki merged commit 5dad5a0 into main Nov 13, 2025
35 of 36 checks passed
@Marcin-Radecki Marcin-Radecki deleted the disable-nightly branch November 13, 2025 13:53
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